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

Page 4 of 4 FirstFirst ... 234
  1.    17 Nov 2016 #31

    I changed NJC2's task timing to run every three minutes from startup, whether the computer is idle or not. Updates were prepared again on approximately 11/10/2016 (KB3200970) and reboot notifications were shown every morning, but no reboot. Today (11/17) the computer still hasn't rebooted, but there is a warning on the Settings Updates page that:

    "Your device will restart at 6:30 PM because previous attempts were unsuccessful. Make sure to save any work before the restart."

    I will let things be until tomorrow, but I am expecting to see a rebooted PC tomorrow.

    It seems there is another one-week timer that checks the reboot status and forces reboot through another path. Will report back...
    Last edited by scottgus1; 18 Nov 2016 at 07:27.
      My ComputerSystem Spec

  2.    18 Nov 2016 #32

    ...And my PC did not reboot last night, despite the warning that it would! Today I see the same "previous attempts unsuccessful" warning, and a restart time of 6:42PM, and the "KB3200970" update from last Tuesday is still pending. I will report back when the PC does restart automatically. Stay tuned...
      My ComputerSystem Spec

  3.    21 Nov 2016 #33

    Well, the auto reboot finally caught up with me again, also on a Saturday, 11/19/2016, 6:42 PM, just outside active hours. This time NJC2's task held the reboot off 2 weeks instead of the one week, but Windows finally prevailed.

    Theoretically, NJC2's task can hold off reboot for a few days but not indefinitely. So it would be wise to handle updates as soon as possible with this hold-off task in place. Good job finding this command, NJC2!

    I will try Winaero's "edit-the-existing-reboot-task" idea suggested on page 2 by Dalchina next and report what happens.

    Note: looking into Winaero's idea, I see that the manual disabling of the UpdateOrchestrator\Reboot task is what NJC2's task does automatically. So both ideas are bowling down the same alley. I also see that the trigger time for the latest Reboot task was the time when my computer just rebooted as posted above, and that the "Reboot" file in the "UpdateOrchestrator" folder pointed out by Winaero was modified at the same time it was set to be triggered, which would theoretically get around NJC2's every-three-minute-modified disable task. Perhaps the extra "Reboot" folder suggested by Winaero will stop the reboots.
    Last edited by scottgus1; 21 Nov 2016 at 08:02.
      My ComputerSystem Spec

  4.    21 Nov 2016 #34

    Stop Auto RebootWindows 10 Reinstall with Media Creation Tool Download


    Try this...actually don't bother...worked for two days
    1. Go to Windows 10
    2. Download "Media Creation Tool" - it is the second download option
    3. Run tool: It will reinstall Windows 10. Follow the download instructions Be patient with the download. It is like downloading Window 10 for first time. It takes a while. If it (the download) freezes , try again. This reinstall will not kill your Apps or Folders, but if you get a question make certain you select save Apps and Folders. I can't remember exactly if the option pops up.
    4. After reinstall, auto-boots will stop....
    5. Note that the System Restore function will be disabled after the re-installation. You can enable it if you like, by going to System Restore- Configure-Select System Protection. Might also be a good idea to set a Restore point at this time.
    Last edited by Chez; 23 Nov 2016 at 09:26.
      My ComputerSystem Spec


  5. Posts : 2,470
    Windows 10.3 Home 1703 x64 (Home per choice)
       21 Nov 2016 #35

    scottgus1 said: View Post
    I will try Winaero's "edit-the-existing-reboot-task" idea suggested on page 2 by Dalchina next and report what happens.
    It worked on 2 of my PCs, but it might have been caused by other settings. I will nervously await your report.
      My ComputerSystem Spec

  6.    30 Dec 2016 #36

    Auto-reboot seemingly foiled!


    WinAero's renamed-Reboot-Task-Folder method has held off my latest round of updates from 12/14/2016 until today when I had to do a manual reboot on my Windows 10 Pro PC. My never-turned-off Win10 Home media laptop is still waiting to do the same round of updates.

    The updates did still run when I rebooted, though, even with a "shutdown.exe -s -t 2" command (shutdown's help says -t implies -f for forced shutdown).

    So it is impossible so far to avoid the updates altogether. But the WinAero method does seem to be able to hold off the automatic reboot.

    Until Microsoft gets wise and adds a little command to delete anything named "Reboot" in the UpdateOrchestrator folder, that is.....
      My ComputerSystem Spec

  7.    30 Dec 2016 #37

    Another possibility for Pro & higher


    There is a possible other solution which I will try next: Disable automatic restart Windows 10 - Microsoft Community Max Green's answer, uses GPedit (only on Pro or later)

    1. run GPedit.msc
    2. navigate to Computer Configuration -> Administrative Templates -> Windows Components -> Windows Update
    3. enable "No auto restart with logged on users for scheduled automatic updates installations"
    4. reboot the PC.

    There may also be interesting settings in "Configure Automatic Updates", but keep in mind configuring this key to anything but "Not Configured" disables the "No auto restart" key in #3 above.

    I will undo the WinAero method and try the Gpedit method and will report back...
      My ComputerSystem Spec

  8.    16 Feb 2017 #38

    One of the GPedit solutions holds off updates, so far having blocked Jan 24's KB3211320 some three weeks with no signs of letting it through as of today Feb 16. And the PC can be rebooted without installing the pending update. There is a side-effect, though, see later.

    The GPedit path is:
    Computer Configuration -> Administrative Templates -> Windows Components -> Windows Update

    The recommendation in the "Disable Automatic Restart Windows 10" link, to set "No auto-restart with logged on users for scheduled automatic update installations" did not work. But a different setting does, with a side-effect.

    In the above GPedit path enable "Configure Automatic Updates" and set it to #3, "Auto download and notify for install". #2 Notify for download and notify for install" may work, too, haven't tested it yet. My PC has not auto-restarted yet.

    The side effect is that Windows will remind you that your PC needs updates. The reminder is a gray-out screencover like UAC, with a message box asking to install updates, and an "Get Updates" button and nothing else. No "No thanks", no "Cancel", and you can't do anything on the screen unless you respond to that box. However, the gray-out screencover is just a running program, and a VBscript can kill that program, if you can get the script to run. The VBscript I use is below, modified from a sample script from Adersoft's "VBSedit", set to run in a one-second loop and looking for and killing the offending screencover program "MusNotificationUX.exe", keeping a text log of when it does the kill so you can see if it is working. A Task Scheduler task can start the kill script:

    Code:
    ' Terminate a Process, from Adersoft "VBSedit"
    Const ForReading = 1, ForWriting = 2, ForAppending = 8
    Set shell = WScript.CreateObject("WScript.Shell")
    Set fso = CreateObject("Scripting.FileSystemObject")
    scriptpath = fso.getparentfoldername(wscript.scriptfullname) & "\"
    
    'this confirms the script is running in the log file:
    logfile.writeline "Starting " & now
    logfile.close
    wscript.sleep 60000
    set logfile = fso.opentextfile(scriptpath & "WinUpdateNotifyOverlay-Terminate.log",forappending,true)
    logfile.writeline "Confirming running" & now
    logfile.close
    
    do
    strComputer = "."
    Set objWMIService = GetObject("winmgmts:" _
        & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
    Set colProcessList = objWMIService.ExecQuery _
        ("Select * from Win32_Process Where Name = 'MusNotificationUX.exe'")
    For Each objProcess in colProcessList
     set logfile = fso.opentextfile(scriptpath & "WinUpdateNotifyOverlay-Terminate.log",forappending,true)
     logfile.writeline "Terminating MusNotificationUX.exe " & now
     logfile.close
        objProcess.Terminate()
    Next
    wscript.sleep 1000
    loop
    Of course, being that it's a Group Policy Editor solution, one has to have Professional or higher to implement it easily. But GPedit just tweaks the registry, maybe someone can find out what keys get made or modified.
      My ComputerSystem Spec


 
Page 4 of 4 FirstFirst ... 234

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 11:50.
Find Us