It sounds like the computer is a small baby but bear with me
It happens quite often. You put your computer to sleep in the evening and, in the morning, it’s awake. And you have no idea why.
But wait, there is a way to know what woke the computer up! Open your favorite command line tool and run this: powercfg /lastwake. You should see exactly what woke your computer up. In my case, this is what I got:
The UpdateOrchestrator, or Update Orchestrator Service, is the services that will coordinate the Windows Update for your computer. You can read more about it here.
Now that we know the culprit, we can work on the solution. But before we start, you will need to download the PsExec tool. This tool is going to help you to acquire the necessary permissions to disable what we need to disable. Once you downloaded, you should extract everything into a folder. For example: C:\tools\psexec.
Now we can start:
- Open your command line in administrator mode and navigate into the folder you extracted PsExec;
- Run the following command:
- Cmd: psexec.exe -i -s %windir%\system32\mmc.exe /s taskschd.msc
- Powershell: .\psexec.exe -i -s $env:windir\system32\mmc.exe /s taskschd.msc
- Once the Task Scheduler opens, navigate to Task Scheduler Library > Microsoft > Windows > UpdateOrchestrator
- Double click the item on the list and go to the tab Conditions
- Uncheck “Wake the computer to run this task”
- Click OK
- Repeat for all items you need/want
That’s it. A relatively simple solution for a very annoying problem.