Windows Server 2008 R2 Thread, Restart after Windows Update in Technical; I currently have our servers set to automatically install updates at 2am every day. This seemed like a good idea, ...
14th October 2011, 10:56 AM #1
Restart after Windows Update
I currently have our servers set to automatically install updates at 2am every day. This seemed like a good idea, but today both servers are nagging me to restart them, and I can only postpone this by 4 hours. Is there a way I can stop it from doing this automatic restart?
IDG Tech News
14th October 2011, 11:00 AM #2
on XP you can enable a "no auto restart with users logged in" in GPedit.
you can set the reprompt option from here as well but under xp at least you cant do this from GPedit (using standard templates anyway)
Thanks to SHimmer45 from:
mitchell1981 (14th October 2011)
14th October 2011, 11:04 AM #3
BE VERY CAREFUL WITH THIS SETTING.
Originally Posted by SHimmer45
If you enable it, it has the largely undocumented side-effect that it will reboot the machine immediately once all users have logged out. This means that if you RDP into a server that has a pending restart with this option set, the moment you log out, your server reboots.
I personally do not recommend this setting at all on servers.
To answer the original question, I tend not to have automatic updates scheduled on servers. I keep an eye on new updates synced to WSUS via email alerts, and install the updates manually and schedule an overnight reboot using Task Scheduler if needed.
The ones I do have updates scheduled for do it once a week in the small hours of Sunday morning, and are set to reboot immediately if required. Staff are warned that this is an at-risk period, so anyone stupid enough to be working at 2am on a Sunday deserves what's coming to them if the servers restart.
Last edited by AngryTechnician; 14th October 2011 at 11:09 AM.
14th October 2011, 11:10 AM #4
That's what I thought (although I rarely log out of RDP sessions!).
I could just disable the automatic installs, but I quite like the security of having that in place, especially since a lot of updates don't require a restart anyway.
14th October 2011, 11:14 AM #5
A compromise would be to enable the separate setting "Allow Automatic Updates immediate installation". This (in theory) only applies to "certain updates that neither interrupt Windows services nor restart Windows."
That way, the ones that don't need a restart will go on right away.
14th October 2011, 11:15 AM #6
indeed although some updates can impact on running services in unexpected ways, auto updates on a server as AngryTech suggested arent ideal
14th October 2011, 11:37 AM #7
So would you guys suggest I disable automatic installation, and run the updates myself then?
14th October 2011, 11:47 AM #8
14th October 2011, 11:50 AM #9
On servers I use notify before install so I can do it manually. I then use a scheduled task to reboot overnight using:
C:\WINDOWS\system32\shutdown.exe -r -t 00
Any problems and I know it was one of those updates so I can just uninstall them until I find the culprit.
By CHR1S in forum Windows Server 2000/2003
Last Post: 16th May 2011, 02:24 PM
By danny0001uk in forum Windows
Last Post: 20th August 2010, 11:15 AM
Last Post: 1st July 2010, 08:56 AM
By morganw in forum How do you do....it?
Last Post: 19th February 2010, 11:17 AM
By darkstar in forum Windows
Last Post: 10th November 2005, 11:03 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)