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

Page 3 of 4 FirstFirst 1234 LastLast

  1. Posts : 5,451
    Windows 11 Home
       #21

    I have looked at the suggestion by WinaeroTweaker and I wonder, if it is gonna to work.

    Disabling task "Check for updates" prevented scheduled check for updates. :)
    schtasks /Change /TN "Microsoft\Windows\UpdateOrchestrator\Schedule Scan" /Disable
    ren "%WINDIR%\System32\Tasks\Microsoft\Windows\UpdateOrchestrator\Schedule Scan" "Schedule Scan.bak"
    md "%WINDIR%\System32\Tasks\Microsoft\Windows\UpdateOrchestrator\Schedule Scan"
    schtasks /Change /TN "Microsoft\Windows\UpdateOrchestrator\Schedule Scan" /Disable
    schtasks /Change /TN "Microsoft\Windows\WindowsUpdate\Scheduled Start" /Disable
    ren "%WINDIR%\System32\Tasks\Microsoft\Windows\WindowsUpdate\Scheduled Start" "Scheduled Start.bak"
    md "%WINDIR%\System32\Tasks\Microsoft\Windows\WindowsUpdate\Scheduled Start"
    schtasks /Change /TN "Microsoft\Windows\WindowsUpdate\Scheduled Start" /Disable


    rem Disable Reboot after Windows Updates are installed
    rem winaero.com/blog/how-to-permanently-stop-windows-10-reboots-after-installing-updates
    schtasks /Change /TN "Microsoft\Windows\UpdateOrchestrator\Reboot" /Disable
    ren "%WINDIR%\System32\Tasks\Microsoft\Windows\UpdateOrchestrator\Reboot" "Reboot.bak"
    md "%WINDIR%\System32\Tasks\Microsoft\Windows\UpdateOrchestrator\Reboot"
    schtasks /Change /TN "Microsoft\Windows\UpdateOrchestrator\Reboot" /Disable

    Here is more advanced version, which runs at every startup - ' Disable-W10-Update-Reboots.bat
    Last edited by TairikuOkami; 16 Feb 2017 at 15:02.
      My Computer


  2. Posts : 9
    Windows 10 Home 64
       #22

    PLEASE report when you techy gurus come up with a solution that's been tested and definitely works. Then make it idiot-proof so I can not only run it but back out of it if needed? I've always run 24/7, previously controlling when I do restarts... AND I DO want the OS updates and up-to-date virus protection.

    My current defenses:

    1. Enabled AUTOMATIC LOGIN after a restart. Unfortunately anyone can now get into my computer; but if there's an unattended forced restart I need to be up and running as soon as possible to avoid further data loss. (For me, Microsoft's attempt to make our computers more secure has achieved the opposite result)

    2. Running "Don'tSleep" which does what the name implies. Reports are that it doesn't work since Windows update "service" now overrides software settings and forces restarts anyway.

    3. Running "MouseJiggler" which prevents computer from entering idle state. (enable jiggle, green arrow sends to systray) A short test let me know that a pending update was still waiting to be downloaded and would proceed when the computer was idle. But since I chickened out and did a manual download/restart when it wouldn't affect scheduled tasks, I don't know if or how long MouseJiggler would work until/if Windows forced the issue.
      My Computer


  3. Posts : 11
    Windows 10 Professional
       #23

    Well, the ol' PC rebooted by itself. NJC2's XML task was in place and active.

    Updates were prepared on 10/28/2016 and "reboot required" flags popped up every morning for the next week. On 11/6/2016 I remoted in via UltraVNC to find a clean desktop, and Event Viewer showed a reboot on 11/5 at 6:33 PM, just outside my preset active hours of 6AM-6PM.

    The task held off updates for a week, but somehow Windows got round it. Maybe a three-minute timer, or just let the task run even when not idle? I will try running the task at startup, every three minutes, indefinitely, and report back.
      My Computer


  4. Posts : 326
    Windows 10 Home 64 bit x64 Version 22H2
       #24

    This article mentioned about a software called ShutdownGuard Avoid accidental and automatic shut down or restart with ShutdownGuard

    Not sure if it is better than Don't Sleep or not.
      My Computer


  5. Posts : 9
    Windows 10 Home 64
       #25

    scottgus1 said:
    The task held off updates for a week, but somehow Windows got round it. Maybe a three-minute timer, or just let the task run even when not idle? I will try running the task at startup, every three minutes, indefinitely, and report back.
    Thanks! Keep us in the loop! But for my purposes If that's the case, and if Windows will give those warnings consistently in the future, your experiment resulting in flags popping up for a week is a definite improvement over what we have now. I DO want the updates, and with warnings I could then find a task-free time to take care of it manually. (Currently my only experience with a forced reboot caused irretrievable data loss since it came without any warning whatsoever. )

    comcom: I think "ShutdownGuard" will have the same issues "DontSleep" has: the ability for Windows to easily override it. Unlike "DontSleep" it even comes with a warning: "It is important to note that ShutdownGuard is not 100% foolproof. Windows or apps still have the ability to override it if they force the shutdown." "MouseJiggler" as I stated above, keeps the system from going into idle, thus a pending update download on my computer was definitely delayed. BUT... I don't know how long it would have held off the download. Fearing more data loss, I chickened out and did the download/restart manually.
      My Computer


  6. Posts : 5,451
    Windows 11 Home
       #26

    dalchina said:
    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.
    Yes, that did it, the scheduled reboot did not occur (on 2 computers).

      My Computer


  7. Posts : 326
    Windows 10 Home 64 bit x64 Version 22H2
       #27

    TairikuOkami said:
    Yes, that did it, the scheduled reboot did not occur (on 2 computers).

    After following the steps in that article, what if you want everything to be back to default again? What steps to do?

    The article only teaches how to stop reboots.
      My Computer


  8. Posts : 42,913
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #28

    Hi, if you read what I posted about Winaero's tweaker, the answer is a checkbox away.
    A possible solution to stop Win10 from auto-rebooting after updates.-snap-2016-11-09-08.38.13.jpg
    The article is simply the explanation, obtained by clicking on See in detail....
      My Computers


  9. Posts : 326
    Windows 10 Home 64 bit x64 Version 22H2
       #29

    dalchina said:
    Hi, if you read what I posted about Winaero's tweaker, the answer is a checkbox away.
    A possible solution to stop Win10 from auto-rebooting after updates.-snap-2016-11-09-08.38.13.jpg
    The article is simply the explanation, obtained by clicking on See in detail....
    Where did you post about Winaero's tweaker? I have gone through this thread again but I did not find your post about Winaero's tweaker.

    It looks good, does it mean just tick the box in your screenshot to stop windows 10 reboots, and untick to return to default? Does it work every time?
    Thanks.
      My Computer


  10. Posts : 42,913
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #30

    Winaero's tweaker offers an option to stop reboots. I
    Winaero is reliable.
      My Computers


 

  Related Discussions
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 02:05.
Find Us




Windows 10 Forums