1.    17 Apr 2016 #1
    Join Date : Aug 2015
    Posts : 8
    Windows 10 x64 Home

    Cant get my PC or laptop to sleep/wake to schedule


    I just wany my PC & laptop (both on win 10 x64) to sleep at 8PM and wake up at 6AM. Sometimes the laptop does but I dont think the PC ever has yet.
    In Power Options I have:
    Turn off the display: 10 mins
    Put the computer to sleep: Never

    In Advanced Power Settings I have:
    Sleep After: Never
    Allow hybrid sleep: Off
    Hibernate after: Never
    Allow wake timers: Enable

    I then have set a scheduled task to run a batch file containing:
    Rundll32.exe Powrprof.dll,SetSuspendState Sleep

    And another scheduled task to run a batch file containing:
    Wake Up!

    Any help appreceiated, thanks!
      My ComputerSystem Spec
  2.    17 Apr 2016 #2
    Join Date : Feb 2015
    3rd Rock
    Posts : 823
    WinX Pro x64 IP current

    Is the schedule supposed to override the power settings? Did not realize that could be done.

    Did you set the account that the scheduler items are supposed to run as? The scheme it uses may be the key. Running it as a system scheduled item might help it override better.
      My ComputersSystem Spec
  3.    17 Apr 2016 #3
    Join Date : Aug 2015
    Posts : 8
    Windows 10 x64 Home
    Thread Starter

    The machines generally tend to go to sleep (though not always), waking up is the real problem. Also Im not sure if they are actually going to sleep, sometimes on waking them manually, they seem to have been powered off (running programs need to be restarted etc.)

    Can you guide me some more on changing the user accounts, I see a whole bunch in the Task Scheduler, Administrator, Administrators etc.
      My ComputerSystem Spec
  4.    17 Apr 2016 #4
    Join Date : Feb 2015
    3rd Rock
    Posts : 823
    WinX Pro x64 IP current

    Would love to, but on my phone right now, and it is 5am here. I will check back later this morning, if no one has replied, I will.
      My ComputersSystem Spec
  5.    17 Apr 2016 #5
    Join Date : Jul 2015
    Posts : 129
    Windows 10 Home 64-bit

    I turn my computer completely off at the end of the day, but I have the BIOS set to turn the computer back on at 4am. The Task Scheduler worked for a while, but stopped for some strange reason.
      My ComputerSystem Spec
  6.    18 Apr 2016 #6
    Join Date : Feb 2015
    3rd Rock
    Posts : 823
    WinX Pro x64 IP current

    Sorry about the late reply. Getting on my computer to find appropriate links to explain what I was talking about.
      My ComputersSystem Spec
  7.    19 Apr 2016 #7
    Join Date : Feb 2015
    3rd Rock
    Posts : 823
    WinX Pro x64 IP current

    OK, I found a basic tutorial on how to do that from Lifehacker. I'm assuming you've gone about and set yours up like this?

    How Can I Start and Shut Down My Computer Automatically on a Schedule?

    If you already have the run with highest privileges checked, post back, and I'll make a small tutorial on how to make it run as a different user.

    One more thing to note - if you have other task scheduler items that run during the time the computer is scheduled off, you might want to change those items to either disabled or else run before shutdown or after startup.

    Also, there is a slightly different way posted here: 4 Boring Tasks You Can Automate With the Windows Task Scheduler
      My ComputersSystem Spec

 


Similar Threads
Thread Forum
will not wake from sleep
I have a 4 yr old custom built desktop upgraded from Win 7 pro to Win 10 pro about 8 months ago. Up until two weeks ago the sleep/wake up has worked perfect. Now the unit will not wake from sleep. I have tried everything I have seen and...
General Support
Wake from Sleep - Laptop Reboots itself
Hi Guys, Please help me a little, I think I'm losing my mind. I have an Asus Ultrabook, UX302L. It came with windows 8 from the factory, I upgraded it to windows 10, all nice and wonderful. About a month ago, I replaced my HDD with an Samsung...
General Support
PC won't wake from S3 Sleep after Win 10 upgrade
This was working fine on Win 8.1, but since my upgrade my PC now won't wake up from any keyboard, mouse or PC power button press once in S3 sleep or hibernation. The only way to wake the PC is to reach back to the PSU and turn the power off, wait...
Drivers and Hardware
No Sound on Wake from Sleep
I'm using an ASUS Xonar DSX sound card running the latest UNi Xonar driver. Whenever I wake my computer up from sleep, I don't get any sound from my speakers until I change the Analog Out destination in the Xonar DSX Audio Center application. My...
Drivers and Hardware
Solved Laptop doesn't wake from sleep (boots from shutdown instead of waking)
When I put my laptop to sleep and then attempt to wake it up, it will power on (going through the boot up screens) instead of just waking up, thus causing me to lose any information open on the computer. I have tried a few things to try to wake...
Performance & Maintenance
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 11:21.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums