Automatically Reboot Server Gracefully after Patch
Due to the number of servers we have, we've designated some to be able to reboot automatically after being patched by Kace. It seems like whenever the Kace appliance reboots one of these servers we get the 'Shutdown Event Tracker' asking 'Why did the computer shut down unexpectedly?'
Is there a way to add graceful switches to this process so the reboot doesn't generate these messages?
0 Comments
[ + ] Show comments
Answers (1)
Answer Summary:
Please log in to answer
Posted by:
Nico_K
10 years ago
I would disable the Shutdown Event Tracker completely.
Never seen additional use in this tracking. It is a good functionality if you need this info.
Disabling it via
reg add "\\\HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Reliability" /v ShutdownReasonOn /t REG_DWORD /d
should be fine. This can be scripted with the K1000.
Alt. if you don't want to disable it, set the reboot option to no reboot and reboot by hand or via script (shutdown -r -t 90 -dp 08:15 Regular reboot due to patching )
This will reboot the system after 90seconds an enters the cause Regular reboot due to patching with ID 08:15 into the event tracker automaticly.
This will reboot the system after 90seconds an enters the cause Regular reboot due to patching with ID 08:15 into the event tracker automaticly.
Currently there is no possibility to set this in the patching cycle.
I suggest you to go to kace.uservoice.com and vote for this, then it may come in the future.
Comments:
-
Thanks Nico_K. I was actually hoping to keep the shutdown event tracker, but I can't really think of a good argument for it, so I guess you win. This will be our route. - rmavery 10 years ago