HTFC Forums

H.T.F.C.

How To Fix Computers





Go Back   HTFC Forums > Software Newsgroups > Windows XP

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 11-10-2007, 05:40 AM
ralphs
 
Posts: n/a
Default Standby and Hibernate from Command Line

How can I cause standby or hibernate from the command line? The shutdown
utility seems to only be able to shut down or reboot.


Reply With Quote
Sponsored Links
Fix your Windows Problems - FAST.
FREE Safe Scan Registry Check. Locate & Fix Errors in Minutes!
  #2  
Old 11-10-2007, 04:03 PM
ralphs
 
Posts: n/a
Default Re: Standby and Hibernate from Command Line

> How can I cause standby or hibernate from the command line? The shutdown
> utility seems to only be able to shut down or reboot.


Found it,
rundll32 powrprof.dll,SetSuspendState


Reply With Quote
  #3  
Old 11-10-2007, 04:10 PM
Nepatsfan
 
Posts: n/a
Default Re: Standby and Hibernate from Command Line

In news:%23iJWMx1IIHA.4272@TK2MSFTNGP05.phx.gbl,
ralphs <ralph08260@yahoo.com> wrote:
> How can I cause standby or hibernate from the command line?
> The shutdown
> utility seems to only be able to shut down or reboot.


Try psshutdown.exe from Microsoft.

PsShutdown v2.52
http://www.microsoft.com/technet/sys...sshutdown.mspx

Place a copy of the program in your Windows/System32 folder.
The following command will put the system into Standby
immediately.

psshutdown.exe -d -t 00

This command will result in the computer hibernating
immediately.

psshutdown.exe -h -t 00

If you'd rather not use psshutdown, take a look at this
article. Keep in mind that using this method will result in
having to choose between the two possible power states. You
can't have both.

How To Put the System into hibernation or Standby from Run menu
http://support.microsoft.com/kb/555569

Good luck

Nepatsfan


Reply With Quote
  #4  
Old 11-10-2007, 04:40 PM
ralphs
 
Posts: n/a
Default Re: Standby and Hibernate from Command Line

>> How can I cause standby or hibernate from the command line? The shutdown
>> utility seems to only be able to shut down or reboot.

>
> Try psshutdown.exe from Microsoft.
>
> PsShutdown v2.52
> http://www.microsoft.com/technet/sys...sshutdown.mspx
>
> Place a copy of the program in your Windows/System32 folder.
> The following command will put the system into Standby immediately.
>
> psshutdown.exe -d -t 00
>
> This command will result in the computer hibernating immediately.
>
> psshutdown.exe -h -t 00
>
> If you'd rather not use psshutdown, take a look at this article. Keep in
> mind that using this method will result in having to choose between the
> two possible power states. You can't have both.
>
> How To Put the System into hibernation or Standby from Run menu
> http://support.microsoft.com/kb/555569


Good links, thanks.

I don't know why I didn't look at the sysinternals site for this.


Reply With Quote
  #5  
Old 11-10-2007, 04:43 PM
Nepatsfan
 
Posts: n/a
Default Re: Standby and Hibernate from Command Line

In news:erBrjh7IIHA.4584@TK2MSFTNGP03.phx.gbl,
ralphs <ralph08260@yahoo.com> wrote:
>>> How can I cause standby or hibernate from the command line?
>>> The shutdown
>>> utility seems to only be able to shut down or reboot.

>>
>> Try psshutdown.exe from Microsoft.
>>
>> PsShutdown v2.52
>> http://www.microsoft.com/technet/sys...sshutdown.mspx
>>
>> Place a copy of the program in your Windows/System32 folder.
>> The following command will put the system into Standby
>> immediately.
>>
>> psshutdown.exe -d -t 00
>>
>> This command will result in the computer hibernating
>> immediately.
>>
>> psshutdown.exe -h -t 00
>>
>> If you'd rather not use psshutdown, take a look at this
>> article. Keep in
>> mind that using this method will result in having to choose
>> between the
>> two possible power states. You can't have both.
>>
>> How To Put the System into hibernation or Standby from Run
>> menu
>> http://support.microsoft.com/kb/555569

>
> Good links, thanks.
>
> I don't know why I didn't look at the sysinternals site for
> this.


You're welcome.

Nepatsfan


Reply With Quote
Sponsored Links
Fix your Windows Problems - FAST.
FREE Safe Scan Registry Check. Locate & Fix Errors in Minutes!
Reply


Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
PC not going onto standby or hibernate after specified time daughter_of_an_expara Windows XP 1 06-21-2007 11:05 PM
Standby and Hibernate ME Windows XP 3 06-08-2007 09:58 PM
Standby and Hibernate (again) ME Windows XP 3 06-06-2007 11:53 PM
Standby and Hibernate ME Windows XP 1 06-06-2007 02:37 AM
Hibernate & Standby? LurfysMa Windows XP Basics 13 05-27-2007 05:40 AM


All times are GMT. The time now is 04:15 PM.


Powered by vBulletin® Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004 - 2007 Web-S-Sense Pty. Ltd. Usenet and forums posts © their respective authors.
Ad Management by RedTyger