I am having an issue with Windows 11 where it will not go to sleep. When I click on Sleep in the start menu the monitors will shut off but the PC will never to go sleep. Then when I wiggle the mouse the monitors will turn back on but are still at my desktop instead of the lock screen. The PC will also refuse to sleep after the designated idle time.
I did a "powercfg -requests" command in the terminal and got the following info.
SYSTEM:
[PROCESS] \Device\HarddiskVolume2\Windows\explorer.exe
AWAYMODE:
[PROCESS] \Device\HarddiskVolume2\Windows\explorer.exe
Thinking that a service may be causing this I pulled up System Configuration and Disabled all of the services and rebooted. This caused the sleep issue to go away. So through the process of elimination I was able to determine that the service that is responsible for this sleep issue is "Windows Management Instrumentation". So currently I have this service disabled and the Sleep function is working without issues.
Can I please get some advise on how to fix this WMI service so sleep mode can function when this service is enabled? And also in case I don't find a resolution, what exactly does this WMI service do, and what issues will I have by having this service disabled?
Please let me know if I can run any further tests to gather more info.
Thanks