Using the Citrix Presentation Server MP you get the following error from the
Citrix.PresentationServer.CitrixSessionDown.Monitor.
"Script or executable failed to run".
The description shows:
=====================================================
The process started at 1:24:51 failed to create System.PropertyBagData, no
errors detected in the output. The process exited with 0
Command executed: "C:\WINDOWS\system32\cscript.exe" //d "C:\Program
Files\System Center Operations Manager 2007\Health Service State\Monitoring
Host Temporary Files 2\477\CitrixSessionDown.js" 120
Working Directory: C:\Program Files\System Center Operations Manager
2007\Health Service State\Monitoring Host Temporary Files 2\477\
One or more workflows were affected by this.
Workflow name: Citrix.PresentationServer.CitrixSessionDown.Monitor
This is due a Citrix MP config error:
WriteAction ID="WA" RunAs="CtxLibrary!Citrix.PresentationServer.CitrixAdministratorAccount" TypeID="System!System.CommandExecuter">
%SystemDirectory%\net.exe
%Temp%
start CitrixWMIService
60
true
As you can see the MP uses a variable %SystemDirectory% wich default doesn´t exist.
If you create a Systemvariable on the Citrix servers where %SystemDirectory% = %systemroot%\system32 then the script works.
Thanks to Ross Williamson for this information found in Citrix support forums.
