Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Sleep from the command line


  • Please log in to reply
2 replies to this topic

#1 gorydragon

gorydragon

  • Members
  • 55 posts
  • OFFLINE
  •  
  • Local time:09:23 AM

Posted 25 November 2011 - 12:43 AM

I've been using this command to put my computer into sleep mode:
Rundll32.exe Powrprof.dll,SetSuspendState Sleep
I reinstalled windows today and now its putting my computer into hibernate, or a hibernate-like mode.
what setting did i change on my old installation that im not doing now?

BC AdBot (Login to Remove)

 


#2 Lefty3120

Lefty3120

  • Members
  • 112 posts
  • OFFLINE
  •  
  • Local time:09:23 AM

Posted 25 November 2011 - 10:08 AM

Greetings,

You'll need to disable hibernation for the that command to initiate standby. Type the following..
powercfg -hibernate off
. After hibernation has been disabled everything should work as planned.

#3 gorydragon

gorydragon
  • Topic Starter

  • Members
  • 55 posts
  • OFFLINE
  •  
  • Local time:09:23 AM

Posted 27 November 2011 - 08:01 PM

thanks, this did work.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users