Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

The question is pretty much in the title. Windows 8 is restarting, I probably only have like 13 minutes by now, but I can't have my computer shut off, doing like 20 different things on a couple of different VM's. How can I stop this?

I found these instructions, but I'm not sure if it will stop the process if it is already taking place. http://www.howtogeek.com/139993/prevent-windows-8-from-restarting-your-pc-after-windows-updates/

In the link mentioned above, I can disable auto update through group policy or through registry editor.

regedit seems like it requires a reboot, but it doesn't specify with group policy.

share|improve this question
3  
NOOOOOOO... it restarted, and was back up and running in like 20 seconds. But I did lose everything. Note to everyone else, changing group policy and force updating group policy doesn't work. Also, shutdown /a did not work. –  EGHDK Jun 3 '13 at 20:45
1  
Next time (if it happens) try opening notepad and typing something in. Windows will send a close message to Notepad and ask if you want to save or cancel. Cancel should stop the shutdown, but if the signal went to other apps first, they might close before you cancel. –  Keltari Jun 3 '13 at 20:51
1  
I had a couple of unsaved things, it just instantly killed everything and said "Restarting..." –  EGHDK Jun 3 '13 at 20:54
1  
admin command prompt, shutdown.exe /a followed by running services.msc and disabling the Windows Update service. After that it might be something besides Windows itself. (Corporate IT often has it's own thing that will apply hotfixes and reboots.) Update: shutdown /a did nothing huh? Hmm. –  Mark Allen Jun 3 '13 at 21:41
1  
@Ramhound The OP didn't say that Windows wanted to restart 15 minutes after booting. The two days have certainly elapsed. –  xehpuk Mar 13 at 23:21

9 Answers 9

One quick way to reset the timer, is to lock your computer (WindowsKey + L). Your computer won't restart if it is locked. You can then either logon again (giving you valuable time to save the things you want saved), or stop the update service all together.

Prevent imminent reboot:

WinKey + L (Lock your computer) and log on again

Then you may decide to postpone rebooting until you do this yourself by stopping the update service. Fastest way to stop the update service is using PowerShell or a commandline:

PowerShell:

Stop-Service wuauserv

Cmd:

NET STOP wuauserv

Note that resetting the countdown stop by locking the computer might be disabled if update 2835627 was installed (by either yourself or your friendly administrator). See http://support.microsoft.com/kb/2835627/en-us for more details.

To prevent auto rebooting while logged on, please see http://support.microsoft.com/kb/555444/en-us for a registry hack.

Be aware though that auto rebooting was not designed to give you a hard time, but rather because it is very necessary from a security point of view.

share|improve this answer
8  
NET STOP wuauserv doesnt seem to work, I stopped the service but am still getting the countdown dialogs. –  jdm Jun 19 '14 at 15:47
1  
Windows may restart the service (and may do it fairly quickly) so you would have to do this every 15 minutes or so. It works for a temporary solution if you just need to wait a short while before the reboot. –  b.pell Aug 12 '14 at 14:00
1  
Stopping the service works, but in Windows 8.1, default is to restart once in one minute, and then stay off. In 24 hours, it resets and starts again and needs to be reset again that day, or it will restart. YMMV, but when I tried to stop the service, it could never complete, and was stuck on "stopping", but did stop the "reboot clock" while in that state. –  DaaBoss Oct 22 '14 at 13:03
    
None of this advice works anymore. It used to. Apparently Microsoft REALLY wants us to reboot. The 15min timer is a real problem when it's a workstation I haven't booted in 3 weeks and I'm half way into a 1.6GB video upload when it chimes in. –  Imperative Feb 21 at 23:36
    
@Imperative With an (apparently almost) up-to-date Windows 8.1 system, the PowerShell command worked like a charm. –  xehpuk Mar 13 at 23:17

Since time is of the essence here, literally, I would try this:

Temporary Workaround:

Run this command from CMD net stop "windows update"

http://www.techspot.com/guides/230-prevent-automatic-windows-update-restarts/

share|improve this answer
    
Windows 7, that. –  Nick T Jun 3 '13 at 20:42
4  
Right as I was typing it in, my computer shut down. Now the world may never know if it works for Windows 8. –  EGHDK Jun 3 '13 at 20:45
    
Oh well, let's hope not too much was lost eh? –  Michael Frank Jun 3 '13 at 20:48
3  
Confirmed to work - though I disabled it using services like the other answer. It's all the same. –  SpartanDonut Jun 16 '13 at 5:55
    
Good to know. :) –  Michael Frank Jun 16 '13 at 20:46

In Windows 7 you can stop this timer by stopping the Windows Update service in the services MMC snapin (services.msc). Try if this still works in Windows 8.

share|improve this answer

Run the cmd as Administrator and type:

NET STOP wuauserv
share|improve this answer

The safest solution to prevent Windows update from automatically restarting your Windows 8 (or later) machine without disabling Windows Update or messing around with stopping services is as follows:

  • run gpedit.msc
  • browse to Computer Configuration\Administrative Templates\Windows Components\Windows Update
  • edit No auto-restart with logged on users for scheduled automatic updates installations
  • set it Enabled

Note that this isn't going to stop a timer that has already started. Once upon a time you could use shutdown -a to stop a shutdown timer, but this doesn't work in this instance. If you've currently got a timer up and you desperately need a few more minutes, stopping the Windows Update service until you're ready is probably the way forward.

share|improve this answer

I prevented the reboot by changing the update method/policy away from Automatic:

Windows Update settings

I'm not sure if Never is the only setting that will prevent the reboot, but it's the one I used. I still got a 5-minute warning after I changed this setting, but it's now been over half an hour and no reboot.

share|improve this answer
1  
This is a really dangerous tip to give. What if the person following it, will never reset it? –  amenthes Jan 17 at 17:27

I found by setting the clock back on my computer (right click time in bottom rt. corner -> adjust date/time) by a day it seemed to fool the automatic restart system.

share|improve this answer

Apart from above you can try this : type Win+R - > regedit and Goto path 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU' in regedit If path is not present then create the same Now add DWORD (32-bit) with name NoAutoRebootWithLoggedOnUsers Add data value 1 with hexadecimal base. Close the registry editor and run gpupdate /force with administator rights.

Another way is by using gpupdate.msc : type Win+R - > gpupdate.msc Goto 'Computer Configuration\Administrator Templates\Windows Components\Windows Update'

"No auto-restart with logged on users for scheduled automatic update installations” setting. Set the setting to Enabled and click OK. Close the group policy editor and run gpupdate /force with administator rights.

share|improve this answer

Open CMD as admin and type

gpupdate /force + Enter

share|improve this answer
    
Can anyone confirm that it works? gpupdate seems to be completely unrelated, but I can imagine it somehow resets the countdown by re-applying some policies. –  gronostaj Aug 20 '14 at 12:42
2  
why should a group policy update "avoid" the timer? –  AndreaCi Sep 17 '14 at 13:35
1  
I assume this worked for you because someone changed a group policy for you before you ran it. –  emodendroket Feb 6 at 20:05

protected by Community Nov 23 '14 at 23:32

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.