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

Hibernate via bat file?


  • Please log in to reply
3 replies to this topic

#1 stidyup

stidyup

  • Members
  • 641 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:03:43 PM

Posted 08 September 2005 - 03:49 AM

I want to be able to send my PC into hibernate via a bat file. Has anybody any idea if this is possible and what the command to do it is? So far my searches have revealed nothing.

You can shutdown your PC via the command prompt but can you send it into hibernation via the command prompt?

BC AdBot (Login to Remove)

 


#2 stidyup

stidyup
  • Topic Starter

  • Members
  • 641 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:03:43 PM

Posted 08 September 2005 - 04:59 AM

Had this suggest by one of my IT colleagues, but surely this can be done via XP without the need for additional software.

Smart Shutdown

Smart Shutdown Bat file command

#3 stidyup

stidyup
  • Topic Starter

  • Members
  • 641 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:03:43 PM

Posted 08 September 2005 - 05:58 AM

From what I've found it doesn't appear the MS Shutdown.exe supports a switch which will put the PC into hibernate, unless it's a secret switch somewhere?

However I'm managed to find this which doesn't need installing:

AMP WinOFF

Will work from the command line with the -hibernate option.

If MS XP has no way of doing it then I'll use this.

Another free software which will do it is this but it needs installing:

Quick Shutdown

#4 stidyup

stidyup
  • Topic Starter

  • Members
  • 641 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:03:43 PM

Posted 08 September 2005 - 07:52 AM

To XP to hibernate without any additional software use the following command:

RUNDLL32.EXE PowrProf.dll,SetSuspendState

Thanks to Toadbee at Gladiator for providing the answer.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users