How to Disable Automatic Restart in Windows 8.1, Windows 8 or Windows 7

windows update restart

Most of the time, Windows downloads updates quietly in the background while you are working and then installs them at your next shutdown or restart. However, if you wait too long to reboot on your own or your update occurs at a scheduled time, the operating system may warn you that it’s going to reboot in a few minutes, unless you postpone further messages for a certain time (usually 10 minutes to 4 hours). If you fail to postpone, Windows will reboot without your permission. 

Fortunately, you can set Windows 8.1, Windows 8 or Windows 7 to stop automatically restarting after updates with a simple change to the registry.

1. Launch the Registry Editor by hitting Windows + R, entering regedit into the dialog box and hitting Enter.

run regedit

2. Navigate to HKEY_LOCAL_MACHINE/SOFTWARE/Policies/Microsoft/Windows.

navigate to windows registry key

3. Create a new registry key called WindowsUpdate under Windows if one does not already exist. You can create a new registry key by right clicking on the Windows key, selecting New then Key and renaming the folder which appears to WindowsUpdate.

registry new key

rename to windowsupdate

4. Create a new registry key named AU under WindowsUpdate.

create registry key au

5. Create a DWORD Value named NoAutoRebootWithLoggedOnUsers in the AU Key. To create a new DWORD value, right click in the right window pane and select New then DWORD Value. Then rename the value as needed.

new dword value

rename dword key

6. Set NoAutoRebootWithLoggedOnUsers to 1. You can set the value by double clicking on the DWORD name and entering the appropriate number in the dialog box which appears.

set dword value

7. Close the Registry Editor and Reboot.

Avram Piltch
Avram Piltch
The official Geeks Geek, as his weekly column is titled, Avram Piltch has guided the editorial and production of since 2007. With his technical knowledge and passion for testing, Avram programmed several of LAPTOP's real-world benchmarks, including the LAPTOP Battery Test. He holds a master’s degree in English from NYU.
Avram Piltch on
Facebook Twitter Google+
Email* (will not be published)
*Indicates required field
Submit Comments

  1. marcus Says:

    This does not work

  2. Tom Says:

    I had done that, but this morning the damn thing restarted automatically after an update.. It may have worked in the past but not any longer..

  3. Bob Says:

    This worked for me, not sure why the others are having issues. Also, I didn’t need to restart after applying it, it picked up the change right away.

  4. chris Says:

    Help! it says it already has a key called WindowsUpdate.

  5. Ella Says:

    PLEASE update this article. This trick no longer works!

  6. Disappointed Says:

    This registry hack does NOT work anymore.

  7. Luke Says:

    Why the fuck is it so complicated? this is typical of your generation X baby boomer bullshit way of working. give it a decade and it’ll all be a fresh. thank god.

  8. oscar Says:

    i was disappointed by the last bit of instructions, “close regedit and reboot” (damn windows..)

    the very thing i was trying to avoid, i have sensitive work that i can not save because of password issues..

    maybe if i turned off wifi and reset the date 1 day back so it doesn’t know its time to reboot? lol..

    Anyway very precise, easy to follow instruction.

  9. risc Says:

    This does not work, had this setting and today was forced to restart in the middle of something. horrible that MS has decided this setting is what i want – it clearly is not.

  10. Mindy Says:

    This worked for me. The lock screen notification even changed from “Your PC will restart.” to “Please restart at your convenience…”

    Or something like that. Basically less belligerence.

    Thanks Avram!

  11. Lazy Says:

    Instead of pictures (can’t copy and paste) and long instructions, would it not be easier to just run a .reg file or tell them to paste these contents into a .reg and run and reboot?

    Windows Registry Editor Version 5.00

  12. George Jacobs Says:

    I’m running Windows 8.1 and the registry hack worked for me today.I edited the registry and that was all. Computer did not reboot, and I did nor reboot it.

  13. Charles Phillips Says:

    Is reboot necessary to implement the changes?

  14. Dara Says:

    Thank you for this. Stupid windows update restarted my computer while I was editing an image in Photoshop and I lost days of work/editing history that I can’t recover.

  15. P. N. Gwynne Says:

    Does this work in 64-bit architecture? Or should I use a QWORD instead?

All Product Types Accessories Cars Digital Camcorders Digital Cameras eReaders GPS Laptops MP3 & Video Players Projectors Smartphones Software Storage Tablets / MIDs VoIP Wi-Fi
All Subcategories
All Subcategories All-Purpose Budget Business Desktop Replacement Gaming Multimedia Netbook Nettop Rugged Student Tablet PCs Ultraportable
Acer Alienware Apple Archos ASUS Averatec BenQ CTL Corp. Dell Digital Storm eMachines Emtec Everex Fujitsu GammaTech Gateway General Dynamics Getac Gigabyte Hercules HP HTC iBuyPower Intel Lenovo MSI Nokia Nvidia OCZ OLPC OQO Origin Panasonic Sager Samsung Sony Sylvania Systemax TabletKiosk Toshiba Verizon Viewsonic Viliv VooDoo Workhorse PC ZT Systems
Minimum Rating
Any Rating 4.5 Stars 4.0 Stars 3.5 Stars 3.0 Stars
Screen Size
10 11 12 13 14 15 16 17 18 20 4 5 6 7 8 9
1024x576 1024x600 1024x768 1200X800 1280 x 720 1280x1024 1280x768 1280x800 1366x678 1366x768 1440x1050 1440x900 1600x768 1600x900 1680x1050 1680x945 1920x1080 1920x1200 800x400 800x480
Weight Range
10.1 - 12.0 pounds 12.1 - 14.0 pounds 14.1 - 16.0 pounds 2 lbs 2 pounds and under 2+ lbs 2.1 - 4.0 pounds 4.1 - 6.0 pounds 6.1 - 8.0 pounds 8.1 - 10.0 pounds Over 16 pounds Under 2 pounds
more options