Windows - Prevent a forced reboot after Windows update

September 2016


Windows - Prevent a forced reboot after Windows update


Windows XP

After installing updates for your computer, a restart is normally required before the changes are made. You can choose between:
  • Restart Now
  • Restart later.


If you don't want to restart your PC, Windows will keep reminding you about it (popup messages) and in some situations it will restart your PC automatically (without your consent).

Solution

Here's a temporary solution for Windows XP users:
  • After installing the updates, click on Restart later.
  • Click on Start/Run
  • Type in the dialog box net stop wuauserv
  • Confirm by clicking OK.
  • The "Automatic Updates" service will stop and Windows won't restart during the current session

Note that: This service will run automatically when you restart the computer and you will need to repeat the procedure after each update.

Creating a Shortcut

You can create a shortcut on the desktop to stop the service:
  • Click New > Shortcut
  • A dialog box opens. Type net stop wuauserv and press next.
  • Give a name to the shortcut.

Windows 7

The following tip explains how to avoid the automatic reboot of your PC after a major update via Windows Update.
  • Click on the Start menu
  • In the search bar, type regedit to access the registry.
  • Expand the registry tree:HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows
  • Right-click on "Windows" entry> New> Key.
  • Name the key as WindowsUpdate
  • Then right-click the new key created (Windows Update) and select New> Key.
  • Name the new key "AU"
  • Again right click on this new key and select New > DWORD (32 bits).
  • Name the value NoAutoRebootWithLoggedOnUsers
  • Double click it and change the value to 1.

Related :

This document entitled « Windows - Prevent a forced reboot after Windows update » from CCM (ccm.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.