Home » Questions » Computers [ Ask a new question ]

How to prevent Windows Update from automatically restarting my comp? [duplicate]

How to prevent Windows Update from automatically restarting my comp? [duplicate]

Because I program a lot on my personal machine, sometimes I have a lot of windows open with articles on blogs etc that I would like to keep open as I'm working in addition to VS etc. Rather than turn my comp off at night or put it into hibernation (shudder), I simply leave it in standby or just plain on.

Asked by: Guest | Views: 167
Total answers/comments: 2
bert [Entry]

"This registry hack, mentioned in the previous answer, is the permanent solution to preventing the reboot in the Home (or any) edition of Windows.

To apply it, do the following:

go to start->Run->regedit
go to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU (if necessary create the keys WindowsUpdate and AU)
then create a DWORD(32-bit) called NoAutoRebootWithLoggedOnUsers
Modify the value of this DWORD to 1.

Now your computer will not restart automatically anymore due to Windows Update. You will still get familiar pop-up saying you should reboot, but it won't count down and will not restart your computer.

Prevent Windows Update from Forcibly Rebooting Your Computer"
bert [Entry]

Run net stop wuauserv in cmd.