Foglight Transaction Recorder(FTR) fails to run scripts, they can be successfully run from the FTR GUI and downloaded from the Foglight Management Server(FMS)
In the client log the below message appears:
FATAL [FTR Property Update Watch] com.quest.ftr.agent.Agent - updateScripts: COM Services Error : SessionManager would not add script
In the script log usually found in c:\program files\common files\Quest Software\Foglight Transaction Recorder\logs contains the following messages.
10/10/2008 12:31:32 FTR_Script_List:I:Adding Session
10/10/2008 12:31:32 FTR_Script_List:D:Starting Test...
**-> 10/10/2008 12:31:32 FTR_Script_List-sblLogin_0:D:Process is running as (User),Script is Playing as(User)
10/10/2008 12:31:32 DM:E:OpenWindowStation failed with OS error 5
10/10/2008 12:31:32 FTR_Script_List-sblLogin_0:E:Failed to configure the s desktop with #0x
10/10/2008 12:31:32 FTR_Script_List:E:Failed to start session 0 with 0x80000201
This is possibly caused by one of the following
 The user has changed the default definition of the ftp.agent.service to run as a user, this is not supported.
 The FTR agent was not able to create the temp folder for the script, check user that ftr.agent.service is running as.
 Agent was instructed to run as user, but the username/password/domain fields are empty.
 Agent was instructed to run as user but the user specified was not able to logon to the machine.
 It was not able to load the user's profile.
Return the ftr.agent.service to it's default configuration.
On the FTR client machine
. Start button -> Control Panel -> Administrative Tools -> Services
. Right click on the service ftr.agent.service
. Select properties
. Select Log On tab
. check "Local System account"
. uncheck "Allow service to interact with desktop"
. click OK
For the cause  above
Check to make sure you can log in as this user, i.e the user that is configured under asps/agent properties to run the FTR agent.