POWERCFG -requests
shows that System32\MoUsoCoreWorker.exe is the reason the computer never sleeps.
This article notes that restarting the Windows update service can fix it temporarily. It does clear MoUsoCoreWorker.exe from the POWERCFG -requests
report. But hours later, MoUsoCoreWorker.exe is running again, and the computer still won't sleep.
Is there any better approach?
答案1
According to the information supplied by the poster, it's most likely that Windows was waking up the computer at night in order to install new updates, as are the default settings of Windows Update.
Once all updates have been installed, the computer goes back to sleeping happily and doesn't wake up any more. Until the next time.
Finer control over Windows Update is found in Settings > Update & Security > Windows Update and in Power Options > Change plan settings > Change advanced power settings, under Sleep, Allow wake timers.
答案2
For me the Solution was:
powercfg /requestsoverride process "MoUSO Core Worker" execution
powercfg /requestsoverride process "USO Worker" execution
答案3
Just run this command in an elevated command prompt:
powercfg /requestsoverride process "\Device\HarddiskVolume3\Windows\System32\MoUsoCoreWorker.exe"
Note that the part in quotes needs to match the path from powercfg -requests
答案4
The only real long term solution seems to be making a task in taskschd to kill it every N minutes. Like
schtasks /Create /SC MINUTE /MO 15 /ST 23:00 /TN MoUso_kill /TR "'c:\utils\sint\pskill' '-nobanner MoUsoCoreWorker'"
The /MO 15 is just a precaution, normally /MO 60 should do but since MoUsoCoreWorker has been known to send system into reboot, safe is safe
pskill is from Sysinternals Utilities (also live page) and share \\live.sysinternals.com\tools )