Share via

Something is preventing PC from idling to sleep. How can I identify it?

Anonymous
2020-07-26T21:45:35+00:00

Got a problem: my PC won't idle to sleep.

But I've narrowed it down to the following:

Using a Powershell script that calls win32.userinput, and a ten second loop, I can watch the idle time and last user input time. What this shows is that if I stop typing / moving the mouse, the idle count starts to increment (as you would expect). Until it gets to around five minutes and fifteen seconds, and then it resets to zero. There will then be a second occurrence of this after another five minutes, but not a third (at least not always).

How can I figure out what causes this? I would like to remove it. 

I've tried disabling every HID in device manager (leaving just either the mouse or keyboard) but that makes no difference

I've tried this in SafeMode (with the smallest set of Microsoft services it would allow) but it still happens

Every driver is up to date as far as I can tell 

The install of windows is clean, from about ten days old (v2004)

I've checked the event viewer but can't see anything

I've checked Task Scheduler for something that has a trigger of idle (and a wait of five minutes) but can't see anything

Windows for home | Windows 10 | Sleep and Power on, off

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

4 answers

Sort by: Most helpful
  1. Anonymous
    2020-07-26T22:20:28+00:00

    Greetings,

    My name is Rhaine, I'm an Independent Advisor and community member like you.

    I am also using Windows 10 pc. Let us work together to sort this out.

    To restore the power plans to default settings, follow these steps:

    Click Start.

    In the Search programs and files box, type cmd.

    Right-click CMD, and then click Run as administrator.

    At the command prompt, copy and paste this command

    powercfg -restoredefaultschemes

    and then press ENTER.

    Once done proceed with these steps.

    Select the “Start” button, then select “Settings” (gear icon).

    Select “System“.

    Select “Power & sleep“.

    Ensure the “Sleep” setting is set to a desired value.

    Select “Additional power settings” in the right pane.

    Select “Change Plan Settings” next to the option that you have selected

    Select “Change advanced power settings“

    On the “Power Options” screen, you want to expand each setting and ensure that they allow the computer to go to sleep mode. In my case, the setting under “Multimedia settings” > “When sharing media” was set to “Prevent idling to sleep“. I had to set this to “Allow the computer to sleep“.

    You can also go to this link as reference

    https://appuals.com/fix-windows-10-wont-sleep-a...

    Disclaimer: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.

    I hope the information above helps. Please let me know how it goes.

    Have a wonderful day ahead and stay safe.

    With Warm Regards,

    Rhaine C.

    10+ people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2020-07-27T11:08:51+00:00

    Thanks for your response, but I already do have the when sharing media set to allow computer to sleep.

    I scanned down the list of items on the link, and believe I've tried most of these, or they don't apply (e.g. the srvnet issue only applies if you see that in powercfg /requests - this is blank for me).

    10+ people found this answer helpful.
    0 comments No comments
  3. Igor Leyko 110.6K Reputation points Independent Advisor
    2020-07-28T06:27:18+00:00

    Hi,

    please check system journal (Event Viewer) for possible clues about sleeping. DistributedCOM errors should be ignored.

    Or save system journal to evtx file and share it to OneDrive for analysis.

    4 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2020-07-27T14:55:26+00:00

    Greetings,

    I appreciate your time in getting back to this thread, if the steps did not work, no worries since this is an open forum, we can ask assistance from other community advisor about their feedback and suggestion with this issue.

    Have a wonderful day ahead and stay safe.

    With Warm Regards,

    Rhaine C.

    0 comments No comments