Command Line for Hybernation

G

Guest

Hi.
I've set up a very nice command line to shut down my computer with one
button click instead of 2 (yes, I'm lazy).

shutdown.exe -s -t 5

I'm so happy with it that I would now like a similar one to put my computer
into hybernation or mode. Does anyone know the command line?
Thanx in advance and happy new year,
Albert C
 
N

Nepatsfan

Albert said:
Hi.
I've set up a very nice command line to shut down my
computer with one button click instead of 2 (yes, I'm lazy).

shutdown.exe -s -t 5

I'm so happy with it that I would now like a similar one to
put my computer into hybernation or mode. Does anyone know
the command line?
Thanx in advance and happy new year,
Albert C

Create a shortcut with this as the target,

%windir%\system32\rundll32.exe PowrProf.dll, SetSuspendState

place the shortcut in the Quick Launch toolbar for one click
Hibernation.

For more info, take a look at this article.

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

Good luck

Nepatsfan
 
G

Guest

Thank you sir!

Nepatsfan said:
Create a shortcut with this as the target,

%windir%\system32\rundll32.exe PowrProf.dll, SetSuspendState

place the shortcut in the Quick Launch toolbar for one click
Hibernation.

For more info, take a look at this article.

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

Good luck

Nepatsfan
 
R

Ramesh, MS-MVP

In addition:

You may try this shutdown.exe utility
http://www.budja.com/shutdown/

From that page:
--------------------------------------------------------------------
Shutdown.exe is a simple command line utility that can:
Log Off the current user
Shutdown (Turn Off) the computer
Restart the computer
Hibernate the computer (note that hibernation has to be enabled!)
Put the computer into Stand By (Sleep)
--------------------------------------------------------------------

-or-

From Torgeir Bakken:

<Quote>

The following command line tools supports suspend (sleep) as
well as hibernate:

PsShutdown
http://www.sysinternals.com/ntw2k/freeware/pstools.shtml

Wizmo
http://grc.com/wizmo/wizmo.htm

Budja shutdown:
http://www.budja.com/shutdown/

</Quote>

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


Hi.
I've set up a very nice command line to shut down my computer with one
button click instead of 2 (yes, I'm lazy).

shutdown.exe -s -t 5

I'm so happy with it that I would now like a similar one to put my computer
into hybernation or mode. Does anyone know the command line?
Thanx in advance and happy new year,
Albert C
 
N

Nepatsfan

Albert said:
Hi sir,
I have a related question.
Is there a way to schedule the computer to auto wake up from
hybernation at a given time?
Thanks in advance and best regards,
Albert C
<snipped>

Having your computer start at a scheduled time is a function of
your hardware. You need to check the system's BIOS to see if
your system supports this feature.

When you first start your computer there should be a line on
the screen similar to "Setup = F2" or "To Enter Setup Press the
DEL key". If you don't see this on your computer consult the
documentation for your system or motherboard for the correct
way to make changes to the BIOS.

Once you're in the Setup program, look for a Power section.
There may be an option within that section where you can
schedule a startup.

If you're unable to follow these directions, post back with
information about your computer. Include manufacturer, make and
model # of either the motherboard or the computer.

Good luck

Nepatsfan
 
P

Poprivet

Very useful; thank you.

Pop`

Create a shortcut with this as the target,

%windir%\system32\rundll32.exe PowrProf.dll, SetSuspendState

place the shortcut in the Quick Launch toolbar for one click
Hibernation.

For more info, take a look at this article.

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

Good luck

Nepatsfan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top