Sleep shortcut has gone wacky

  1.    02 Jan 2018 #1

    Sleep shortcut has gone wacky


    I followed the thread started in Mar. 2016 to set up a shortcut to put our computers to sleep. After turning off Hibernation (powercfg -h off, from a cmd prompt ran as administrator) I set this shortcut "C:\Windows\System32\rundll32.exe powrprof.dll,SetSuspendState 0,1,0", on both mine and my wife's computer, and for a couple of days it worked great (still does on my computer), but now on my wife's computer it started going to sleep automatically after sitting idle of an hour or so. And now, today, it goes to sleep after 10 minutes. I'll delete her shortcut and see if the problem goes away and report back here.

    If anyone has any other ideas, please let me know.
      My ComputerSystem Spec

  2.    04 Jan 2018 #2

    I deleted the shortcut, no change to the automatic Sleep. We then restarted her computer and the automatic sleep went away right up until she put it to sleep this morning using the Power icon in the Start menu, now after 10 minutes of idle it goes to sleep. It's a laptop and we have it set to Never Sleep when on power.
      My ComputerSystem Spec

  3.    04 Jan 2018 #3

    I'm not expert on this but try running powercfg/energy from an elevated command prompt (run command prompt as administrator)

    EDIT: Sorry. there should be a space in that command! powercfg /energy

    Drag and drop the report found here: file:///C:/WINDOWS/System32/energy-report.html into a new tab in your browser (or drop in address bar) and see it it offers any clues.

    Click image for larger version. 

Name:	Energy Report.jpg 
Views:	2 
Size:	109.2 KB 
ID:	170919
    Last edited by Callender; 04 Jan 2018 at 19:03.
      My ComputerSystem Spec

  4.    09 Jan 2018 #4

    Turns out if she reboots, the computer won't go to sleep (it is configured through the Control Panel to never sleep), but if she puts it to sleep [Start/Power/Sleep] it will go to sleep on a random basis, the more time that has passed since the last reboot the sooner it will go to sleep. She rebooted yesterday morning, put it to sleep last night, and now it sleeps as soon as 5 minutes without any activity.

    I ran powercfg /energy today, these are the errors:
    Click image for larger version. 

Name:	2018-01-09 12_10_13-energy-report.html.png 
Views:	1 
Size:	33.9 KB 
ID:	171727
      My ComputerSystem Spec


Related Threads
Solved Windows 10 sleep shortcut in General Support
Hello, in Windows 7 I used this cmd to sleep my PC: rundll32.exe powrprof.dll,SetSuspendState 0,1,0 (I have hibernation disabled) when I pressed a key my desktop would come up instantly, but now in Windows 10 it goes all the way through POST...
After a while of disuse, Windows put the graphics cards to sleep and the monitors go into stand-by. Is there a way to make this happen (e.g. using AutoHotKey) with a keyboard shortcut? I need the computer to keep running sometimes whilst I don't...
Hey guys, This is a strange one. Yes, I know my desktop is messy. But that's not really the point. I made a short 1-minute video showing the problem, and it's much easier to show that way than trying to explain in writing and screenshots. ...
I am new to this forum and new to Windows 10. I am trying to place a shortcut on the desktop to put the computer to sleep. I tried following the instructions from a few sites that recommended placing a link into the desktop shortcut menu and the...
Win 10. Using Sleep button on my HP desktop keyboard works fine. WIN 10 On my Surface (SP3), using Logitech K740 illuminated keyboard with Docking station. No obvious sleep button on the keyboard. If possible: How can I create a Sleep hot...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 14:00.
Find Us