Wednesday, September 14, 2011

Disable Windows 2003 Server Automatic Restart after installed Updates

Ever since Microsoft release Windows XP Service Pack 2, the company keeps emphasize the fact that you should enable Automatic Updates on your computer.
Automatic updates are usually a good thing but there is a serious problem with it.
Sometimes updates need to restart the computer to finish the installation. Until SP2 Automatic Updates would not restart your computer automatically. But this is not the case with SP2.
Once you scheduled Automatic Updates to be installed (by default at 03:00 AM), if the update requires restart Windows will notify you that it needs to restart. If you are not logged in and do not restart within 5 minutes, Windows will automatically restart your computer.
This behavior can cause a lot of problems. Documents you left open and did not save will be lost, downloads you started that have not finished will be terminated, and even hard disk maintenance like defrag that is working will get terminated, which might cause lost of data.
Unfortunately Windows XP Home users can not do much to change this behavior, except saving all the data before going to sleep or disabling the automatic updates.
On the other hand Windows XP Pro users can tell Windows never to restart the computer automatically. In order to do that follow these steps.
  • In the Start Menu go to Run type “gpedit.msc” and press Enter
  • Now a Group Policy editor will open. In this window navigate to: Computer Configuration -> Administrative Template -> Windows Components -> Windows Update
  • Double click on No auto-restart for scheduled Automatic Updates installations
  • In the settings window Choose Enabled and click OK
  • Close Group Policy Editor
The next time Windows updates your system it will not restart the computer automatically, but will notify you that restart is needed in order to finish the installation.
Update
Home users can try the following:
Go to registry editor and navigate to the following registry key:
HKEY_LOCAL_MACHINE \Software\Policies \Microsoft\Windows \WindowsUpdate\AU
Change the “NoAutoRebootWithLoggedOnUsers” DWord value to the required number.
0 = False (Allow auto-reboot)
1 = True (Disallow auto-reboot)

No comments:

Explaining DNS Concepts - DNS Servers-DNS Queries-DNS Records

3 types of DNS queries— recursive, iterative, and non-recursive 3 types of DNS servers— DNS Resolver, DNS Root Server and Authoritative Name...