Windows 10 sleep problems


  1. Posts : 52
    windows 10 Pro
       #1

    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.

    thanks
    RAC
      My Computer


  2. Posts : 52
    windows 10 Pro
    Thread Starter
       #2

    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.

    RAC
      My Computer


 

  Related Discussions
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 04:02.
Find Us




Windows 10 Forums