How do I stop the Windows 8 restart clock; '15 minutes' and counting...?

129

29

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.

EGHDK

Posted 2013-06-03T20:31:12.807

Reputation: 2 337

1@Ramhound The OP didn't say that Windows wanted to restart 15 minutes after booting. The two days have certainly elapsed. – xehpuk – 2015-03-13T23:21:14.453

@Keltari, So is there a way to send the "Cancel" signal to all the apps? – Pacerier – 2015-03-14T11:07:41.993

@Ramhound What's wrong with you? My comment was productive, yours not so much. If you don't want clarification, don't ask for clarification. – xehpuk – 2015-03-15T23:37:30.643

I wanted clarification from the author which I never got; I withdrew my comment. – Ramhound – 2015-03-16T02:46:28.460

I've been in the same situation as you. It's completely ridiculous that you actually see a counter timing down to your 'demise' and can do nothing to stop it. What kind of sadistic user 'experience' is this?? What if this happens while you are holding a presentation for a room full of people? And yes, I have seen that happen to others. Thank heaven it never happened to me (yet). knocks on wood – Stijn de Witt – 2016-10-12T17:46:18.390

I had this experience during work. I can just not stop the restart. – neverMind9 – 2018-06-13T16:39:26.203

13NOOOOOOO... 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 – 2013-06-03T20:45:33.907

1Next 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 – 2013-06-03T20:51:58.440

3I had a couple of unsaved things, it just instantly killed everything and said "Restarting..." – EGHDK – 2013-06-03T20:54:22.410

1admin 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 – 2013-06-03T21:41:10.423

Answers

112

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: (Run as admin)

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.

riesm

Posted 2013-06-03T20:31:12.807

Reputation: 1 229

17NET STOP wuauserv doesnt seem to work, I stopped the service but am still getting the countdown dialogs. – jdm – 2014-06-19T15:47:34.610

1Windows 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 – 2014-08-12T14:00:23.073

1Stopping 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 – 2014-10-22T13:03:51.197

11None 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 – 2015-02-21T23:36:18.173

1@Imperative With an (apparently almost) up-to-date Windows 8.1 system, the PowerShell command worked like a charm. – xehpuk – 2015-03-13T23:17:40.727

Good to know. I thought it was odd that the system rebooted even after I stopped the process. Wonder if an antivirus got between my command and the OS. – Imperative – 2015-03-17T00:58:29.910

4@Imperative It's really great that they start that 15 minute timer after I have been on the system for three and a half hours and am ass-deep in some code. Great job Microsoft! – Der Kommissar – 2015-06-17T14:43:50.000

2NET STOP wuauserv works so long you run CMD as admin - +1 – Pakk – 2015-07-14T14:23:58.337

1@jdm The countdown dialog remains. You can get rid of the nag screen by killing a process named something like wuauctl from the Task Manager. net stop wuauserv works great! – Danny Beckett – 2015-08-13T22:47:41.253

1The Windows Update service could not be stopped. NOOOOOOOOOOOOOOO! – OozeMeister – 2015-09-05T00:43:35.027

Whew! Crisis averted. While running that command in cmd didn't work, opening up the Services manager and stopping the service that way did work. For a minute I thought I was living in a bad movie scene. – OozeMeister – 2015-09-05T02:08:12.720

1Powershell in Admin mode worked for me on Windows 8.1. I just wrote a script to stop the service every 5 seconds: while (1) { stop-service wuauserv; sleep 5;} – brianpeiris – 2015-09-12T00:27:44.080

2"Be aware though that auto rebooting was not designed to give you a hard time" - it really gives me and my coworkers a hard time. This is lost time, lost dollars, sometimes lost data. Not cool. – mikato – 2016-01-28T21:30:43.860

6This is, beyond all possible debate, the #1 most infuriating "feature" I have EVER encountered on any device ever. It's actually designed to just completely f**king destroy everything you're working on, but not until it taunts you with a short timer, with absolutely no way to stop it. Oh, and it will often do this randomly when I walk away from my computer for a minute or two; can't tell you how many times I've stood up for 'stand up' in our agile development team, only to peak back at my computer a minute later and see that it has randomly restarted itself. REDICULOUS. – Triynko – 2016-03-31T22:54:06.070

@brianpeiris why not simply disable service for the time you want to preserve your "online" state? – MadBoy – 2016-11-08T06:58:18.110

Micro$oft has patched it. – neverMind9 – 2018-06-13T16:40:47.277

Oh wait, the countdown for the time bomb comes, but then nothing happens. – neverMind9 – 2018-06-13T16:56:18.573

28

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.

Flyk

Posted 2013-06-03T20:31:12.807

Reputation: 1 487

That setting was already set to Enabled when I looked at it, and yet I still got this 15 minute forced restart. And I had just restarted a couple hours earlier. First time I've ever had it force me to reboot since I installed windows 7 on this pc several years ago. – fantabolous – 2015-08-31T03:40:55.027

1Yes, MS apparently think it's ok to ignore explicit user settings. They go even further and actively revert your decisions for you. I found a guide to disable automatic reboots and it involves revoking write permissions from SYSTEM for a certain key file. We have to actively deny some permissions to SYSTEM because if we don't, it will screw us over! Damn MS get your act together this is really unacceptable! – Stijn de Witt – 2016-10-12T17:49:44.323

Worth pointing out that there are 2 other settings in that same group: "Delay Restart for scheduled installations" is set to 15 minutes, and "Re-prompt for restart with scheduled installations" is set to 10 minutes. They can be changed to say 600 minutes or whatever you prefer.

As pointed out in other replies, this does not alter an ongoing timer. "net stop wuauserv" in an admin cmd combined with killing "wuauclt" take care of that. – ralfoide – 2018-10-14T18:04:53.400

21

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/

Michael Frank

Posted 2013-06-03T20:31:12.807

Reputation: 7 412

Works on win8. But had to manage to launch a cmd.exe as administrator ;) – Aki – 2014-07-17T12:15:04.847

Eww... Link only answer! Better update that. – Michael Frank – 2014-07-17T20:43:05.217

Confirmed to work (have to run cmd as admin obviously). Yet another little gripe I have with windows 8. "We WILL restart in a few minutes". Nice UX. – JᴀʏMᴇᴇ – 2015-01-19T22:24:17.050

The UX of many big apps is moving toward one of bullying the user into doing what the vendor of the app wants them to do. Noticed that huge 'Restart Now' button below the update scheduler? You come there because you pressed Later on a screen urging you to reboot (yet again during the work day), then after you filled in the form, right below that form (where in all other applications, ever, anywhere, is an OK button) they place a button to Restart now. What?? I fell for it twice already. For more examples check my blog: https://stijndewitt.com/tag/doesnt-take-no-for-an-answer/

– Stijn de Witt – 2016-10-12T17:54:56.847

Windows 7, that. – Nick T – 2013-06-03T20:42:57.320

6Right as I was typing it in, my computer shut down. Now the world may never know if it works for Windows 8. – EGHDK – 2013-06-03T20:45:57.800

Oh well, let's hope not too much was lost eh? – Michael Frank – 2013-06-03T20:48:05.570

3Confirmed to work - though I disabled it using services like the other answer. It's all the same. – SpartanDonut – 2013-06-16T05:55:57.203

Good to know. :) – Michael Frank – 2013-06-16T20:46:59.450

seems to work in windows 8... The service stopped at least, had to run cmd as admin, but the command ran. – Shane – 2013-10-13T12:15:03.317

19

It appears that the answer to this question is evolving as Microsoft keeps making it harder to put off restarting.

This answer was gleaned from many of the other answers and comments to this question.

The solution to stopping restart involves two stages, first stopping the Windows Update service, and second stopping the Windows Update process.

To stop the service open Task Manager (Hit Win - R then type taskmgr).

  1. Click on the Services Tab
  2. Find and highlight the row with the Name wuauserv and Description of Windows Update.
  3. Right click and select Stop to temporarily stop the service.

enter image description here

Next we need to stop the Windows Update process.

  1. Click on the Details tab in Task Manager
  2. Find and highlight the row with the Name wuauclt.exe and Description of Windows Update.
  3. Click End Task

enter image description here

This will stop the 15 minute countdown, but Windows will automatically restart the Windows Update service and start another 15 minute countdown in a couple of hours unless your restart your computer. At which point you can go through the procedure and halt the countdown again, but this is really a temporary solution to enable you to finish what you are doing and restart your computer in an orderly manner.

Benjamin

Posted 2013-06-03T20:31:12.807

Reputation: 746

3This should be the top answer; everyone has been talking about how to stop this happening using Regedit and GPEdit but they major issue is how to stop a countdown if a countdown has already started. As others have noted, shutdown /a no longer works. Stopping the service also doesn't seem to stop an active countdown timer anymore. Killing the process is the way! – jwbensley – 2017-08-09T07:28:56.753

1While this may be temporary, this is the only thing that works in 8.1. – Trinidad – 2018-04-14T22:31:19.777

10

Run the cmd as Administrator and type:

NET STOP wuauserv

Pedro Lobito

Posted 2013-06-03T20:31:12.807

Reputation: 573

I have just attempted this; it tells me "The Windows Update service could not be stopped." This is at an Admin command prompt. Guess there's just no chance of avoiding MS's super important scheduled restart... – Keiji – 2016-09-25T21:35:40.793

6

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.

magicandre1981

Posted 2013-06-03T20:31:12.807

Reputation: 86 560

5

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.

Luke Macaulay

Posted 2013-06-03T20:31:12.807

Reputation: 161

3

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 group policy: type Win+R - > gpedit.msc -> '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.

zehnaseeb

Posted 2013-06-03T20:31:12.807

Reputation: 151

what does gpupdate /force do? – YumYumYum – 2015-05-29T12:36:10.983

it refreshes local and Active Directory-based Group Policy settings, including security settings for user – zehnaseeb – 2015-07-02T15:04:41.097