Applies to LDMS 9.5 SP2 with the BASE 04-17 component patch
Problems/Symptoms
When you scheduled any custom script (this includes OSD scripts) that contains calls to sdclient.exe it will fail if no users are logged into the target machines. The error message in the "Result" column of the schedule task would be "No user has logged onto the system, cannot process user specific options". The error code in the CJ-<name of the task>*.log for the sdclient command would be "-1818107508".
Cause
The "/enableloggedoffuserinstall" switch needs to be added at the end of the sdclient.exe command.
Fix
If your sdclient command looks like the following:
[MACHINES] REMEXEC0=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/bootfile.exe" /disableclientqueue |
You need to add the "/enableloggedoffuserinstall" switch in the following way:
[MACHINES] REMEXEC0=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/bootfile.exe" /disableclientqueue /enableloggedoffuserinstall |