1.    19 Jan 2016 #1
    Join Date : Jan 2016
    Posts : 17
    windows 10

    How do you set the various parameters of the sleep command?

    If I have say 10 programs up and am in the middle of things on each and I hit sleep then:

    1.) The computer indeed goes to sleep i.e. the CPU Fan goes off.
    2.) When I come back several hours later I always find that the CPU fan is on.
    3.) When did the CPU Fan come back on? How do I set this time? This is the big question!
    3.) I then use my mouse and the screen shows me the position on all 10 programs exactly as I left it.

    Now the CPU fan coming back on after xxx minutes which I want to control means it rebooted some time after it went to sleep. On this machine there is a raid controller so the reboot process took about 5 minutes.

    Other facts: If I hit sleep so the machine appears to turn off and the CPU fan stops and then put off the switch on the PSU then of course when I come back into the room in 8 hours or whatever I must turn the switch back on. I then hit the power button and wait 5 minutes while the raid controller and the CPU boot up and then I am back onto the 10 programs exactly where I left them.

    So in the sleep command I want to set the time when it reboots to say 7 hours if I am going home to dinner and rest.
    If I am going to be away for an hour I want to set this time to say 1 hour.
    That way I can save having to hit sleep and then turn off the PSU switch to keep my CPU fan off all the time I am away.

    To put it another way if I just hit sleep and leave for all I know it reboots after 5 minutes so electric saving is low!!

      My ComputerSystem Spec
  2.    19 Jan 2016 #2
    Join Date : Jan 2016
    Posts : 17
    windows 10
    Thread Starter

    more information on the sleep command

    I found and tried two other commands:

    shutdown /h after using this the computer immediately shut down i.e. computer fan went off.
    when I came back a few hours later I found that the computer had rebooted ( cpu fan now on ) BUT WHEN? but that it appeared otherwise to be asleep. moving the mouse brought up the 10 programs to where they were.

    rundll32.exe powrprof.dll,SetSuspendState 0,1,0 This complex command turned off the computer and the cpu fan just like the shutdown /h command. Five minutes later ( I needed the computer and did not have time to watch and see when it turned itself back on without human intervention ) I moved a mouse and it rebooted from scratch. It then went into exactly the same state it had been in i.e. the 10 programs exactly how I left them.
    This complex command could be put into a batch file of course.
      My ComputerSystem Spec


Similar Threads
Thread Forum
Performance & Maintenance Run SFC Command in Windows 10
How to Run SFC Command to Repair System Files in Windows 10 The SFC command scans the integrity of all protected system files and replaces incorrect versions with correct Microsoft versions. This tutorial will show you how to run the sfc...
Shortcut won't add to right side (with parameters)!
Hi I've found that I can't add a shortcut to the area on the right of the Start menu, designed for adding apps, if it has parameters. e.g. "...\xxxxx.exe" /p I need to add a parameter for this app to run correctly. I added the parameter to...
Solved Command Prompt
How to call up "command Prompt (Admin) from the "run" dialog box win 10 Home?
General Support
News icons win10 are empty on taskbar like parameters or Edge for ex
Hello Some icons like parameters specifics like Edge, contacts, camera etc... are like empty in the task bar, only transparency You can see it on my task bar as the last open icon on the right is clear (no icon parameters) 34739 i tried to find...
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
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 03:31.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App

Windows 10 Forums