8

Think of this as phone support for a user with little experience. How can I tell them, without diagrams or esoteric command-line structures, how to find this info for themselves.


There are several questions on here where people have gone to intricate methods to discover what process is preventing their computer from sleeping.
Many of these date back to old Windows versions & none seem to have a simple, comprehensive method.

I'm used to macOS, where I can simply open Activity Monitor - which is the Mac equivalent of Task Manager - & add a column, "Preventing sleep"
As you can see from this picture, I have a 24-hour surveillance camera running, so the app & as a consequence hidd [hardware interfaces process] jointly are keeping me awake - to be expected.

enter image description here

Is there a simple Windows built-in equivalent?

I'm not interested in 3rd party tools unless it's one of those 'everybody should have' tools I simply haven't yet discovered, so this is not a product request, it's a "does this functionality exist in Windows?" request.

Tetsujin
  • 50,917

1 Answers1

6

This source states that you can run

powercfg /requests

in an elevated command prompt (run as Administrator) to see a list of services that may prevent sleep. See reported explanation below:

enter image description here

The results aren’t presented in the most user-friendly format; such is the nature of information you’ll get from command-line tools. That said, here’s a simple breakdown of the information you might see.

  • Display: This will show processes that have taken over the display e.g. an app in full-screen mode. This could be a media player like the Movies & TV app, or it could be presentation software like PowerPoint. It could also be a screen recording tool like OBS.
  • System: This will show system processes though the system processes may be invoked by other apps that are running. For example, if an audio stream is playing, the audio driver will be in use and will appear to be preventing the system from entering sleep. You will normally be able to see which apps are using the audio device on your system so quitting it shouldn’t be too hard.
  • Awaymode: This will show apps exclusively. It’s a command that apps send to Windows 10 telling it to keep the system awake. Apps can programmatically do this.

Another source is what is "Windows Remediation Service" and how do I disable it?

A few days ago I noticed that my PC no longer goes to sleep based on inactivity (although I can manually put it to sleep). Today I ran "powercfg -requests" and saw

EXECUTION:
[PROCESS] \Device\HarddiskVolume2\Program Files\rempl\sedlauncher.exe
SleepDeferralConditionsMet

PERFBOOST: [PROCESS] \Device\HarddiskVolume2\Program Files\rempl\sedlauncher.exe SleepDeferralConditionsMet

Sedlauncher is apparently part of Windows Remediation Service and, from scattered reports on the web, think it may have been part of KB4023057 that I installed about 2 weeks ago.

alelom
  • 135
samus
  • 377