Windows 10: How to Prevent automatic restart in Windows 10 Anniversary Update?

Discus and support How to Prevent automatic restart in Windows 10 Anniversary Update? in Windows 10 Updates and Activation to solve the problem; Tairiku: Your version of Windows 10 is Windows Pro X64 - and with the pro version it's my clear understanding you can control when/if updates are... Discussion in 'Windows 10 Updates and Activation' started by tannim, Aug 10, 2016.

  1. How to Prevent automatic restart in Windows 10 Anniversary Update?


    Tairiku: Your version of Windows 10 is Windows Pro X64 - and with the pro version it's my clear understanding you can control when/if updates are installed. It's the vast majority of us with the Home versions who are seeking a cure for controlling untimely forced update restarts.
     
    cyranobird, Oct 11, 2016
    #31

  2. You can modify tasks in Home version and some policies via registry, it is a group policy console, which is unavailable.
     
    TairikuOkami, Oct 11, 2016
    #32
  3. bapcbepis Win User
    Just a quick question; How does the restart scheduling during "inactive hours" work? As I understand, when it downloads an update, it schedules a restart for some time during active hours and warns you with an unobtrusive notification bubble that disappears in a few seconds (easily missed if you're not at your computer). In the windows update settings, an option to reschedule the upcoming restart. How soon is the restart scheduled for?

    Am I safe if I just check every day or so whether an update has been scheduled, or am I at constant risk of restarts outside active hours?
     
    bapcbepis, Oct 11, 2016
    #33
  4. How to Prevent automatic restart in Windows 10 Anniversary Update?

    TairikuOkami, Oct 11, 2016
    #34
  5. cyranobird, Oct 12, 2016
    #35
  6. mmortal03 Win User
    Each time it tries to restart, it checks the active hours. If it is trying to restart during those hours, it reschedules to a time outside of those hours, something like 30 minutes after the active hours are over. You could actually keep manually extending the active hours around the clock whenever it gets close to restarting if you wanted to.
     
    mmortal03, Oct 12, 2016
    #36
  7. Re "DontSleep": When I initiate a restart, the message is "Closing 1 app and restarting. Below that, Logo with "Don't Sleep" shows with message: "This app is preventing you from restarting". Yet another option below that: "Restart anyway", which completes successfully when I choose that option.

    I believe our increasingly invasive Windows Nanny will override "Don'tSleep" and force a restart when installing updates, thus making "Don'tSleep" ineffective.

    Also, sadly, the custom restart time under "Restart options" is greyed out, only becomes active when there's a pending update. Which, of course, is difficult to know since there may or may not be an update notification in the teensy notification area in our desktop system trays. I was actually sitting at my computer when the last notice came in around 1:30 AM, it flashed at me and then vanished, not to be seen again even in the notification area. So I panicked, scheduled my next restart for 4:00 AM.

    That's when I found out the option, "automatically finish setting up my device after an update" does not work. I had that option checked, but my computer was left where it always is after any restart: login page which needs my password. Thus any scheduled tasks between the update restart and later manual login were lost.

    Agreed: Updates are important! But Windows 10's overbearing maintainance is a DISASTER!! Inadequate, poorly thought out, poorly written, poorly described "one size fits all" software created for the ease and convenience of Microsoft employees rather than the needs of consumers. They need to fix the broken stuff and give us a banner with a countdown clock for pending restarts. Then we'll actually be INFORMED and can hit "restart" when we choose within the timeframe. (But if I go on vacation, I'll definitely use my Win7 box to schedule future tv recordings without worrying about coming home to a computer which has long been frozen at the login stage.)
     
    cyranobird, Oct 13, 2016
    #37
  8. comcom Win User

    How to Prevent automatic restart in Windows 10 Anniversary Update?

    comcom, Oct 14, 2016
    #38
  9. Do you have shutting apps down disabled? Otherwise, it will be unable to hung the system.

    reg add "HKCU\Control Panel\Desktop" /v "AutoEndTasks" /t REG_SZ /d "0" /f
     
    TairikuOkami, Oct 14, 2016
    #39
  10. PJMaybe Win User
    I have been having this same problem. It's been doing my head in. What a ridiculous 'feature' MS have incorporated. I tried changing registry and policy settings but still restarting. However, I just realised... Would stopping the Windows Update Service in services.msc not prevent it even from looking for updates? It would need stopping every time Windows was started I think but for those of use who keep PC on for days or more at a time that wouldn't be too much of a bind anyway. I'm going to try it. Fingers crossed...
     
    PJMaybe, Oct 16, 2016
    #40
  11. I found another thread ( A possible solution to stop Win10 from auto-rebooting after updates. - Windows 10 Forums ) which has a task scheduler fix which works. It continually creates "tasks" within the time frame Windows won't force a restart. So I searched for and found a little .exe program called "NoJiggle" which should basically do the same thing. Keeps Windows from entering the idle state. Since screen savers or sleep are then disabled, I'll have to turn off my monitor when I don't want it glaring at me. Hope I've successfully put it into my startup folder so it'll re-activate after restarts - (hopefully restarts I have initiated instead of Win10 forced restarts.)
     
    cyranobird, Oct 19, 2016
    #41
  12. cbarn Win User
    I wonder if you could defer update indefinitely by identifying where in the registry the active hours are stored and having a scheduled task that updates them automatically to keep moving the window forward ...
     
    cbarn, Oct 22, 2016
    #42
  13. mmortal03 Win User

    How to Prevent automatic restart in Windows 10 Anniversary Update?

    Yeah, I suspect that it would work.
     
    mmortal03, Oct 23, 2016
    #43
  14. cbarn Win User
    Well, only one way to find out ... I tracked down the registry entries, and I've created three scheduled tasks that use C:\Windows\System32\REG.EXE to update the window. Kind of brute-forced it this way, but it's good for a test. Every 8 hours a task runs that establishes a new 10 hours window, using these parameters:

    ADD HKLM\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings /v ActiveHoursStart /t REG_DWORD /f /d 1
    ADD HKLM\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings /v ActiveHoursEnd /t REG_DWORD /f /d 11

    https://www.tenforums.com/tutorials/4...a.html#option2

    The value after /d is the new hour for that key. It'd be more elegant to write a script that can run at anytime and set a window based on the current hour, and that's actually kind of necessary because a shutdown of any significant length could push you outside the defined window and allow a reboot not too long after you came back up (but hopefully you would've been updated then anyway!)

    Now the wait for a critical update that tries to force a reboot ...
     
    cbarn, Oct 26, 2016
    #44
  15. mmortal03 Win User
    I could be missing something, but I don't see how this works, because that just sets the active hours to 1am-11am. Instead, it needs to be relative to whatever time the UpdateOrchestrator->Reboot scheduled task is set to reboot the machine at. It always needs to keep that time within the active hours window, so that whenever Windows runs the Reboot scheduled task, it discovers that it is trying to do so within the active hours (after which, Windows reschedules Reboot to a new time in the future, just outside of the active hours window).

    So, you need to be checking when the Reboot scheduled task is meant to run, and update the active hours accordingly.
     
    mmortal03, Oct 26, 2016
    #45
Thema:

How to Prevent automatic restart in Windows 10 Anniversary Update?

Loading...
  1. How to Prevent automatic restart in Windows 10 Anniversary Update? - Similar Threads - Prevent automatic restart

  2. Prevent Windows 10 Professional from restarting automatically

    in Windows 10 Gaming
    Prevent Windows 10 Professional from restarting automatically: Can anyone verify if this works:Open gpedit.msc configure TWO things:1 "No auto-restart with logged on users for scheduled automatic updates installations" - Enabled - Why? Because it says "Note: This policy applies only when Automatic Updates is configured to perform...
  3. Prevent Windows 10 Professional from restarting automatically

    in Windows 10 Software and Apps
    Prevent Windows 10 Professional from restarting automatically: Can anyone verify if this works:Open gpedit.msc configure TWO things:1 "No auto-restart with logged on users for scheduled automatic updates installations" - Enabled - Why? Because it says "Note: This policy applies only when Automatic Updates is configured to perform...
  4. Prevent Windows 10 Professional from restarting automatically

    in Windows 10 Installation and Upgrade
    Prevent Windows 10 Professional from restarting automatically: Can anyone verify if this works:Open gpedit.msc configure TWO things:1 "No auto-restart with logged on users for scheduled automatic updates installations" - Enabled - Why? Because it says "Note: This policy applies only when Automatic Updates is configured to perform...
  5. How to really prevent Windows 10 from restarting for updates?

    in Windows 10 Installation and Upgrade
    How to really prevent Windows 10 from restarting for updates?: Hi, I am really sick and tired of Windows 10 automatic reboots for updating. I have been 40 years working with computers, coding, designing apps, maintaining enterprises, engineering solutions based on computers and I think I am old enough to take care of security myself....
  6. How to delete/ prevent automatic windows 10 1903 update

    in Windows 10 Updates and Activation
    How to delete/ prevent automatic windows 10 1903 update: So Im currently on version 1803 and I would like to keep it that way. Unfortunately windows downloaded 1903 and is prompting me to restart in order to install it. How do I delete the update, and prevent it from updating automatically updating in the future? 164314
  7. This will prevent windows 10 automatic updates

    in Windows 10 Installation and Upgrade
    This will prevent windows 10 automatic updates: Hi guys, i've coded small program that you can compile your self using autoit. Autoit is free, no accounts required etc Just install autoit right click in the source file and click compile to either X86 or X64 executable, which ever you want. Or just run it as is, it will...
  8. how to prevent automatic windows update

    in Windows 10 Installation and Upgrade
    how to prevent automatic windows update: I wish to check what the windows update does and only install ones I want. There are too many that I do not need. https://answers.microsoft.com/en-us/windows/forum/all/how-to-prevent-automatic-windows-update/55cf74a6-0ead-460c-8dc7-71a6e3ac95cb
  9. Prevent Automatic Windows Updates

    in Windows 10 Installation and Upgrade
    Prevent Automatic Windows Updates: Hi there, I am the (un)lucky owner of several Windows computers and I suffer from the ongoing Windows plague of inconvenient updates. Today, my Windows 8 **** up. It was in the middle of updating - still indicating 0 % updated - while I was about to leave and hadn't time...
  10. How do I prevent Windows 10 from automatically installing updates an restarting?

    in Windows 10 Installation and Upgrade
    How do I prevent Windows 10 from automatically installing updates an restarting?: I'm wondering if anyone can tell me how to prevent Windows 10 from automatically installing updates and restarting. If I am out of the office for a few days and out of town, I need my work computer to stay on so I can access it via Gotomypc. When Windows 10 automatically...