A possible solution to stop Win10 from auto-rebooting after updates.

Page 2 of 4 FirstFirst 1234 LastLast

  1. Posts : 26
    Windows 10 Home 64 bit x64
       15 Oct 2016 #11

    Click image for larger version. 

Name:	nFdVjHi.png 
Views:	73 
Size:	195.0 KB 
ID:	106211
    When I have opened programs running and I click Start>Power>Shut Down, I have a screen popup that tells me to close the programs, does that mean that AutoEndTasks and MusNotification.exe settings are correct already?
      My ComputerSystem Spec

  2. TairikuOkami's Avatar
    Posts : 3,510
    Home 1809 x64 10.0.17763.194
       15 Oct 2016 #12

    Yes. Do not sleep appears to be working.
      My ComputerSystem Spec

  3. Posts : 26
    Windows 10 Home 64 bit x64
       15 Oct 2016 #13

    Anyway before I did change anything in the registry since after I installed Win 10, all the while when I press Start>Power>Shut Down I did see the screen telling me I have Don't sleep or other programs running and ask me to 'shut down anyway' or 'cancel'.

    Maybe Don't Sleep does not work for some updates or Home version, not sure. Will monitor to see if it can block update restarts in future.
      My ComputerSystem Spec

  4.    18 Oct 2016 #14

    Glomming onto this thread to say that I and several Virtualbox users are stymied by Windows 10's lack of a way to prevent auto reboot for updates on their host PCs. I'm trying NJC2's method and have reported it in the Virtualbox forums, to see what happens. Hoping for a good result! Good detective work, NJC2!
      My ComputerSystem Spec

  5. Posts : 9
    Windows 10 Home 64
       20 Oct 2016 #15

    scottgus1 said: View Post
    Good detective work, NJC2!
    I'll probably try this if a few more people tell us it works. I dislike playing around with Window's guts if there's an install/uninstall program that will do the job. Also, part of the problem with providing fixes lies in differing options/capabilities between Win10Pro and Win10Home. Win10Pro allows more control/options than the Home version. Don't Sleep definitely does not work on my machine.

    Making NJC2's fix simpler, wouldn't it be great if {{SOMEONE}} came up with an exe file that would kick our computers off idle after four minutes?

    Soo (edit here) I searched around and found an .exe file named "MouseJiggler" (free). I've installed it and it keeps the mouse active preventing the computer from going idle. So when I'm not using the computer for awhile I'll just turn off the monitor. Hope it works!
    Last edited by cyranobird; 29 Oct 2016 at 11:50.
      My ComputerSystem Spec

  6.    29 Oct 2016 #16

    NJC2 said: View Post
    What I have done is create a scheduled task that runs a command to disable the reboot task. I have it set to run when the computer is idle for 5 minutes, which should beat out the 10 minutes the reboot task is set for. The command you need to run is "C:\Windows\System32\schtasks.exe /change /tn \Microsoft\Windows\UpdateOrchestrator\Reboot /disable". If you don't know how to create a scheduled task, then do the following:
    • Open the Task Scheduler by clicking start and begin typing "task scheduler" until you see it appear in the list, then click on it.
    • Right click and select "Create New Task..." (not basic task).
    • On the General tab: Name it whatever you want (I called it Disable WU Reboot). Under Security options, change the user to run as SYSTEM, then check "Run whether user is logged on or not" and "Run with highest privileges."
    • On the Triggers tab: Click new, in the Begin the task drop down list, select "On idle."
    • On the Actions tab: Chose Start a program from the Action drop down list. In Program/script put "C:\Windows\System32\schtasks.exe" then in the Add arguments (optional) box, put "/change /tn \Microsoft\Windows\UpdateOrchestrator\Reboot /disable"
    • On the Conditions tab: Check "Start the task only if the computer is idle for" and select 5 minutes from the drop down list.
    • Click OK

    If you leave the task to run as your user, when using the computer while reading something, watching a video over 5 minutes, etc., the screen will flicker or a brief flash of what looks like the command prompt will flash when it runs the task. This is because the system is technically idle and it runs the command. I found this annoying, but since changing it to run as SYSTEM, it doesn't do it anymore.
    Hey NJC2,

    Thanks for the work to figure a work around. I hope it works. I'm running win 10 Pro. But I followed your instructions precisely, and I have one place in the task that wouldn't accept your recommended input. Here's a shot of the task.

    Click image for larger version. 

Name:	Sched task not accepting directions.jpg 
Views:	46 
Size:	174.1 KB 
ID:	108104
      My ComputerSystem Spec

  7.    31 Oct 2016 #17

    Hooked, I copied the XML in NJC2's second post, saved it in Notepad with a .xml extension, and imported the file as a new task. It loaded without error.

    I am seeing updates ready to install on my Windows 10 Pro workstation with NJC2's task running. The workstation hasn't asked yet to reboot. My non-tasked 10 tablet has rebooted already. My non-tasked 10 laptop seems ready to reboot but hasn't yet. Waiting and hoping...
      My ComputerSystem Spec

  8.    31 Oct 2016 #18

    Thanks scottgus1,
    My task obviously didn't work because I had a pending update that got installed the day of my post. Thanks for the input. That reboot got me twice cuz I'm trying to do a data recovery on a 2TB drive that had ALL if my backed up data on it. Get this - I got hacked - both my laptop and my PC. A super guy at an AntiHacker forum helped me get my desktop cleaned up so we felt pretty certain my data was clean.
    After deciding it was clean I used Paragon to backup my data, then I used Acronis to backup my data, and I made an Acronis Image of my Fresh install of Windows AND data.
    Went to do a clean install of windows and restore my data, and my backup drive was just crawling. It's a WD Passport Ultra 2TB that is only 6 months old. It had all of my important data that I've accumulated over several years.
    The data recovery is taking forever, and twice my desktop did a reboot in the middle of a data recovery write!

    So if I had actually been recovering good data, good chance it got trashed. Grrrrr!

    Thanks again for the help, and for letting me vent!
      My ComputerSystem Spec

  9.    31 Oct 2016 #19

    Winaero's tweaker offers an option to stop reboots. It sets up a task as you can see here:
    How to permanently stop Windows 10 reboots after installing updates

    Intriguingly, although I've not used that, and I've had on occasion a restart following an update pending and active hours period has expired, and I've waited to see if a restart occurred, I've never experienced an unscheduled restart.
      My ComputerSystem Spec

  10.    01 Nov 2016 #20

    That link also looks interesting, Dalchina! Nice it also is only built-in to 10, no 3rd-party software needed.

    I got my reboot-in-after-hours warning today. NJC2's task is in place. Will report the results!
      My ComputerSystem Spec

Page 2 of 4 FirstFirst 1234 LastLast

Related Threads
I just did another clean install of Win10 and all went smoothly except for one problem. After the updates were installed I rebooted my laptop and then I noticed after coming back from my dinner a blank black screen with not even a mouse cursor....
Solved How to get away from Auto Updates from Win10 in Windows Updates and Activation
So I just got Windows 10 and did a clean install (no upgrade). Now I am going through some of the settings I want turned on and off, but the whole Windows auto update thing is a bit confusing. On Windows 7 I have "Check for updates but let me...
I know Brink and Tairiku (experts I'm sure) have contributed to a solved thread "Turn Off Windows Updates" but here I am with an MBA in Finance and still somewhat confused based on what I'm trying to do. It's all about the Nvidia drivers. I...
Sorry if this has already been posted, but I'm stuck in reboot and don't know how to get out. I left my computer to install overnight. When I came to it this afternoon, it looks like it might have completed, but was still in some set up condition,...
Folks, since updating from 10074 to 10122, I've got several updates (security and otherwise) which, if I look in update history, report that they need a reboot to finish installing, but after rebooting, they all still report that they need a reboot...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 09:54.
Find Us