1.    04 Mar 2016 #1
    Join Date : Mar 2016
    Posts : 28
    windows 10 Pro

    Windows 10 sleep problems

    I used to be able to put the PC to sleep using powershell using "c:\windows\system32\rundll32.exe powrprof.dll SetSuspendState 0,1,0" But since upgrading to windows 10. If put to sleep using this method. The PC will not wake up to run scheduled tasks. I did find that if you use the start menu/power/sleep to put the PC to sleep it will wake up. So I wrote code to simulate this. It worked for a few days. Now it is not working. If I check the position of the cursor. It is where the sleep would have been. But it didn't sleep.

    It is difficult to record TV programs when the system won't wake up or go to sleep when it is done.

      My ComputerSystem Spec
  2.    07 Mar 2016 #2
    Join Date : Mar 2016
    Posts : 28
    windows 10 Pro
    Thread Starter

    Put some delays between the click and problem solved. It not goes to sleep again. But "c:\windows\system32\rundll32.exe powrprof.dll SetSuspendState 0,1,0" still does not work.

      My ComputerSystem Spec


Similar Threads
Thread Forum
Windows 10 Pro 64 bit - sleep and display problems
After clean installing Windows 10 I came across two irritations. Irritation 1:- When my desktop awakes from sleep, it doesn't see my Seagate External drive but does see my Iomega and WD external drives! If I restart or reboot it sees them all! No...
General Support
PC shutting down incorrectly/not going to sleep when put in sleep mode
My computer keeps shutting down after I put it into sleep mode, then when i start it back up it says that it shut down incorrectly. This does not happen all the time, only sporadically. Other times it will not go into sleep mode altogether!...
Performance & Maintenance
Problems with Face Recognition after Sleep Mode
Just got my Dell Inspiron 23 Series 7000 All-in-One desktop computer with 23" Touch Screen and Intel 3d RealSense camera. I have activated the Facial Recognition login feature at highest level which seems to work quite well with the 3D camers. ...
Software and Apps
HP Stream Notebook...Wifi Problems, Usb Problems, with Windows 10
Hi, New to this Forum. I have a Hp-Stream 13, which I installed Windows 10. I immediately started having problems with Wifi. The image on the taskbar shows a partially yellowed out Wifi Icon. When I try to go online a windows message comes...
Drivers and Hardware
Sleep problems
I have two pc's, each running build 9897, not dual booting which have sleep problems. One reboots to desktop after about 5 seconds when using the mouse to put it to sleep. The sleep button on the keyboard, however works as expected but when pressing...
Software and Apps
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 06:09.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App

Windows 10 Forums