Quantcast
Channel: Ivanti User Community : All Content - Software Distribution
Viewing all articles
Browse latest Browse all 1056

Custom scripts fail with "No user has logged onto the system, cannot process user specific options"

$
0
0

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

 

On 9.6 if this error is encountered- replace "sdclient.exe" in the script example above with "pedownloader.exe" as sdclient is no longer used for these functions. With pedownloader.exe there should be no need to manually add in the /enableloggedoffuserinstall command.


Viewing all articles
Browse latest Browse all 1056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>