- dotTech - http://dottech.org -

How to stop Windows from automatically restarting to apply updates [Guide]

Posted By Justin Leroux On April 29, 2014 @ 11:15 PM In Windows | 8 Comments

Today and many times in the past, I was brutally attacked by Windows Update. A client of mine was having an issue with a VB macro and, an hour into fixing the problem, the computer decided to automatically restart to apply a Windows update. I am sure that you have been plagued by this problem too, so for my fellow dotTechies, I did a bit of digging and here is how to put Windows Update in its place. In other words, read on to learn how to disable Windows Update from automatically restarting your computer.

Before we go anything further, I just want to remind you that dotTech and its writers are not responsible for any damages to your computer or data or the mental breakdown that the damage may cause. We have tested this ourselves and feel it is safe to be, but still proceed further at your own risk.

This trick should work on Windows XP, Vista, 7, 8, and 8.1; I tested it on Windows 8.

That said, to stop Windows from automatically rebooting to apply updates, do the following:

  • Open your Registry Editor. You can open it by pressing CTRL + R on your keyboard, typing in regedit and hitting OK or pressing Enter.

run-regedit [1]

  • Once it is open, find the HKEY_LOCAL_MACHINE/SOFTWARE/Policies/Microsoft/Windows folder.

navigate-to-policies-micros [2]

  • Single right-click the Windows folder and go to New -> Key and call it WindowsUpdate. If the WindowsUpdate key already exists, you can skip this step.

registry-new-key [3]

  • Now create a new key inside WindowsUpdate (single right-click on the WindowsUpdate folder -> New -> Key) and call the new key AU.

create-registry-key-au [4]

  • Now create a DWORD (32-bit) Value for the AU key; call it NoAutoRebootWithLoggedOnUsers. To create a DWORD, single left-click the AU folder from the left-hand pane, right-click the large white area (the right pane of the regedit window, not where the folders are) -> New -> DWORD (32-bit) Value.

new-dword-value [5]

  • Double left-click the NoAutoRebootWithLoggedOnUsers key and set the Value data to 1 and the Base is Hexadecimal. Hit OK when done.

set-dword-value [6]

  • Close regedit and restart your computer.

Done! Now you shouldn’t see Windows Update forcing your computer to restart to apply updates. If you ever want to re-enable automatically rebooting to apply updates, simply delete the WindowsUpdate folder you created earlier. Enjoy!


Article printed from dotTech: http://dottech.org

URL to article: http://dottech.org/156570/how-to-stop-windows-from-automatically-restarting-to-apply-updates-guide/

URLs in this post:

[1] Image: http://dottech.org/wp-content/uploads/2014/04/run-regedit.jpg

[2] Image: http://dottech.org/wp-content/uploads/2014/04/navigate-to-policies-micros.jpg

[3] Image: http://dottech.org/wp-content/uploads/2014/04/registry-new-key.jpg

[4] Image: http://dottech.org/wp-content/uploads/2014/04/create-registry-key-au.jpg

[5] Image: http://dottech.org/wp-content/uploads/2014/04/new-dword-value.jpg

[6] Image: http://dottech.org/wp-content/uploads/2014/04/set-dword-value.jpg

© 2008-2012 dotTech.org | All content is the property of its rightful owner.