Is there a way to restart the machine at the start of an action then have the action complete once restarted?
I have a application package that occassionally restarts the workstation prior to installing. The issue is it doesn’t start the installation automatically once restarted. I would like always restart the workstation and have the install kick off immediately once restarted.
The easiest way is to add the restart Fixlet to a baseline as the middle action (you can create a custom Task to do the restart if you want to ensure a restart occurs).
I think we had this discussion before (http://forum.bigfix.com/viewtopic.php?id=3052). What I didn’t like about the internal restart command is that it prompts the end user to take the action.
I did see those other posts in the forum. No user will be logged in some I am not worried about a prompt. I am trying to eliminate the need have to schedule 2 actions. From what I am gathering, there is no way to perform a reboot and install in the same action script.
Can you tell me which OS’s work with the "restart " command? Previous posts also show use of “tsshutdn”, but that causes problems between x32 and x64 OS’s.
FYI, the restart command seemed to work fine on Windows 2003 64-bit Enterprise.
"restart " should work on all OSes but I haven’t manually verified myself in a long time… I think there was an issue in early 7.0 versions (maybe pre-7.0.15 if I remember correctly) where this command had weird behavior, but I think it should work fine for most versions/OSes.