Conclusively stop wake timers depuis waking Windows 10 desktop

Conclusively stop wake timers from waking Windows 10 desktop


Source : [Super User [windows-10]](GitHub - seagull/disable-scheduledWaking: PowerShell script for Windows 10+ devices that aims to stop Windows waking the system automatically. · GitHub](GitHub - seagull/disable-scheduledWaking: PowerShell script for Windows 10+ devices that aims to stop Windows waking the system automatically. · GitHub)

Summary

April 2022: I have made a new PowerShell script that will disable Windows’ scheduled tasks to wake a device automatically. Use it alongside the other parts of this guide. Download it at:
https://github.com/seagull/disable-scheduledWaking

There are a number of things that can affect this. I’m aware there are posts all over this site detailing various different ways to approach the issue; this post aims to consolidate them and add my own insight into the issue as someone affected by it themselves.

The fix outlined in Step 2 can also be used to stop Windows 10 from rebooting the machine after installing Windows Updates.

This fix works for the Fall Update (1709) as well. You will need to disable the ‘Reboot’ task again and re-configure the security permissions, though, because the update process replaces it.

Step 1: Disable wake timers for all power profiles

Lazy tech-bloggers would have you believe this is the end of your search. While it’s true that this step will eliminate a few errant shutdowns, there are a number of settings and configurations, particularly in Windows 10, that fail to respect this setting regardless of user intervention. Go to the Control Panel → Power Options. From here, pick whatever power profile is first on the list and disable ‘Wake timers’. Work through all profiles.

Thanks to StackExchange user olee22 for the image.

On Windows 10, it is strongly recommended you fix this setting for all power profiles, not just the one you have chosen to use. Various Windows faculties will use different profiles; this improves your chances of not being woken up.

Step 2: Disable the unruly reboot scheduled task

Windows 10’s UpdateOrchestrator scheduled task folder contains a task called “reboot”. This task will wake your computer up to install updates regardless of whether or not any are available.

(Réponse tronquée)