So this may be an easy question but I've scoured the forums for a bit now and can't seem to get this right.
Okay here's the scenario. I'm installing software to a remote machine and things are going good. Once the software is installed, Windows 7 needs a reboot. The software itself isn't what needs the reboot (so it's not setting some pending reboot regkey or anything like that). It simply needs a reboot to solidify some group changes on the machine for other processes to use.
Anyway, here's the script I'm using to reboot the machine (found it elsewhere on these forums):
"%PROGRAMFILES%\LANDesk\LDClient\vulscan.exe" /rebootwithui /rebootmessage="To complete the software install, a system reboot is required. Please save any open documents or files." /allowusercancelreboot=false /autoreboottimeout=300 /snoozecount=2 /snoozeinterval=1800
I'm getting the user prompt and everything looks good. I have the count down, the snooze option, and the reboot now option. However, if I wait for the countdown to expire or click on the reboot now button, the machine never reboots. I've verified that nothing would be preventing this reboot (some other install or somethign similar). I've let the machine sit for about 30 minutes and still no reboot occurs (I figured vulscan.exe might need some time). The LANDesk management console show the following error: "Failed: The thread is not in background processing mode. RC=401".
Now I could probably just deploy a "shutdown" command with a message or use provisioning and be done with it.
Am I just implementing something wrong here? We're on version 9 SP3 currently.
Thanks for any help!