Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

How to force automatic restarts after important updates in Windows 8 and Windows Server 2012


View products that this article applies to.

Summary

After you install an important update in Windows 8 or in Windows Server 2012, you receive a notice that you have to restart the computer in three days. If the restart does not occur in three days, the computer displays a 15-minute countdown and then automatically restarts. By default, this automatic restart is delayed if the computer is locked, and the countdown will begin the next time that you sign in to the computer.

A new feature is now available that lets you force automatic restarts to finish installing important updates, regardless of whether you are at the computer. You can change to this new restart behavior through the following new registry key value that was introduced in the April 2013 cumulative update (2822241 ).
Registry subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU


Value: AlwaysAutoRebootAtScheduledTime


Type: REG_DWORD


Value data: 0 (default value) or 1 (force a restart)
When this registry value is set to 1, you are still notified of the upcoming automatic restart on the sign-in screen. However, at the end of the two-day period, the 15-minute counter begins even if the computer is locked. The restart also occurs even if the computer is locked.

↑ Back to the top


More Information

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows


To change the AlwaysAutoRebootAtScheduledTime registry key value to enable automatic Windows Update restarts, follow these steps:
  1. Install Windows Update 2822241.

    For more information about how to obtain this cumulative update package, click the following article number to view the article in the Microsoft Knowledge Base:
    2822241 Windows 8 and Windows Server 2012 cumulative update: April 2013
  2. Start Registry Editor. To do this, follow these steps:
    1. Swipe in from the right edge of the screen, and then tap Search. Or, if you are using a mouse, point to the lower-right corner of the screen, and then click Search.
    2. In the search box, type regedit.exe.
    3. Tap or click the displayed regedit.exe icon.
  3. Locate the following registry subkey:
    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU
  4. Swipe across or right-click AlwaysAutoRebootAtScheduledTime, and then tap or click Modify.


    Note If the entry does not exist, follow these steps to add it:
    1. On the Edit menu, point to New, and then tap or click DWORD Value.
    2. Type AlwaysAutoRebootAtScheduledTime in the Name field, and then press Enter.
  5. In the Value data box, type 1.
  6. Tap or click OK.
  7. Exit Registry Editor.

↑ Back to the top


Keywords: win8cpc, kbsurveynew, kbexpertiseinter, kbhowto, kb

↑ Back to the top

Article Info
Article ID : 2835627
Revision : 1
Created on : 1/7/2017
Published on : 7/28/2016
Exists online : False
Views : 262