Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save LiamKarlMitchell/686e32c5076507d54da1e0e9b7ea0da5 to your computer and use it in GitHub Desktop.
Save LiamKarlMitchell/686e32c5076507d54da1e0e9b7ea0da5 to your computer and use it in GitHub Desktop.
Windows 10 waking up from sleep for Windows Update Orchestrator how to fix.
powercfg -lastwake
This will show you what last woke up your PC, in my case it was Windows Updates trying to schedule a restart.
I dont care about that but could not seem to disable it even though I am logged in as an Administrator user?!
Solution download pstools from Microsoft Sysinternals
Run a cmd prompt and disable the scheduled tasks
There is probably a better way to just disable the Wake from Lan option on the task but blah!
PsExec64.exe /S cmd.exe
SCHTASKS /Change /tn "\Microsoft\Windows\UpdateOrchestrator\Reboot" /DISABLE
Fuck you microsoft.
i'm a go back to sleep now.
@LiamKarlMitchell
Copy link
Author

Download for PsExec64 can be found here.
https://docs.microsoft.com/en-us/sysinternals/downloads/psexec

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment