Standby AND Hibernation

A

Albert

Hello!

Somtimes, when I'm going to leave my computer for a while, I want to put it
in standby mode. Some other times, for example when I go to sleep, I want to
put my PC in hibernation.

Is it possible to create desktop shortcuts to enter each of these modes and
not have to toggle the Energy Options / Enable Hibernation option?

Thanks in advance,

Albert C
 
P

PA Bear [MS MVP]

After enabling the hibernation option (and leaving it enabled):

CTRL+ESC, U, Shift+H
 
E

Elmo

Albert said:
Hello!

Sometimes, when I'm going to leave my computer for a while, I want to put it
in standby mode. Some other times, for example when I go to sleep, I want to
put my PC in hibernation.

Is it possible to create desktop shortcuts to enter each of these modes and
not have to toggle the Energy Options / Enable Hibernation option?

Thanks in advance,

Albert C

Hibernate:

1. Right click on your Windows desktop and select New -> Shortcut
2. Under "Type the location of the item", type:

%windir%\System32\rundll32.exe PowrProf.dll, SetSuspendState Hibernate

Click Next.

3. Give it a unique name and click Finish.

Standby:

1. Right click on an empty area on your desktop.

2. Select New>Shortcut.

3. In the first box of the Create Shortcut Wizard, type:

%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState

Click Next.

4. Call the shortcut something like "Standby" (without quotes) and click
Finish.

5. To add the finishing touch, right click on this new icon, select
Properties, click the Change Icon button and select an appropriate icon.

A Google search found this thread:

http://www.pcguide.com/vb/showthread.php?t=46222
 
U

Unknown

Don't they already exist? I.E. Click start, turn off computer, then click
standby if you want to standby.
Hit shift key and standby becomes hibernate.
 
A

Albert

Hi Elmo,
Thanks for your reply.
Your advice, however, did not work.
Both shortcuts do the same: When hibernation is enabled, both shortcuts send
the computer to hibernation. When hibernation is not enabled, both shortcuts
send the computer to standby.
What to do?
Thanks again,
Albert C.
 
P

PA Bear [MS MVP]

[Uh, you're machine will never enter Hibernation unless it's enabled,
Albert. It won't update automatically unless you enable Automatic Updates
either.]
 
E

Elmo

Albert said:
Hi Elmo,
Thanks for your reply.
Your advice, however, did not work.
Both shortcuts do the same: When hibernation is enabled, both shortcuts send
the computer to hibernation. When hibernation is not enabled, both shortcuts
send the computer to standby.
What to do?
Thanks again,
Albert C.

The answer was in the link I sent:

I saw the word Hibernate at the end of the Hibernate line, and a little
intuitive thinking led me to try the same with Standby. It works -

%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Standby

So to reiterate the whole list, with the proper standby line:

Shutdown:

%windir%\System32\shutdown.exe -s

Reboot:

%windir%\System32\shutdown.exe -r

Logoff:

%windir%\System32\shutdown.exe -l

Standby:

%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Standby

Hibernate:

%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Hibernate
 
A

Albert

I understand that. I want to be able to go into standby even though
hibernation is enabled.
Also, I think your comment is unnecesary, particularly when you have not
tried to understand the nature of my inquiry (which you obviously have not).

PA Bear said:
[Uh, you're machine will never enter Hibernation unless it's enabled,
Albert. It won't update automatically unless you enable Automatic Updates
either.]
Hi Elmo,
Thanks for your reply.
Your advice, however, did not work.
Both shortcuts do the same: When hibernation is enabled, both shortcuts
send
the computer to hibernation. When hibernation is not enabled, both
shortcuts
send the computer to standby.
What to do?
Thanks again,
Albert C.
 
P

PA Bear [MS MVP]

Your computer should be able to go into Standby, with or without shortcuts,
and even with Hibernation enabled (via the option in Start | Settings |
Control Panel | Power Options | Hibernate <=this tab).

Start | Settings | Control Panel | Power Options | Advanced | Power buttons:
What have you selected in the three (3) sections here?

If it's a Notebook PC: Start | Settings | Control Panel | Power Options |
Settings for Portable/Laptop power scheme | System standby & System
hibernates <=what have you selected here?

Can you put the machine into Standby via Start | Turn off computer | Standby
<=this button?

I understand that. I want to be able to go into standby even though
hibernation is enabled....

PA Bear said:
[Uh, you're machine will never enter Hibernation unless it's enabled,
Albert. It won't update automatically unless you enable Automatic
Updates
either.]
Hi Elmo,
Thanks for your reply.
Your advice, however, did not work.
Both shortcuts do the same: When hibernation is enabled, both shortcuts
send
the computer to hibernation. When hibernation is not enabled, both
shortcuts
send the computer to standby.
What to do?
Thanks again,
Albert C.

:

Albert wrote:
Hello!

Sometimes, when I'm going to leave my computer for a while, I want to
put
it in standby mode. Some other times, for example when I go to sleep,
I
want to put my PC in hibernation.

Is it possible to create desktop shortcuts to enter each of these
modes
and not have to toggle the Energy Options / Enable Hibernation option?

Thanks in advance,

Albert C

Hibernate:

1. Right click on your Windows desktop and select New -> Shortcut
2. Under "Type the location of the item", type:

%windir%\System32\rundll32.exe PowrProf.dll, SetSuspendState Hibernate

Click Next.

3. Give it a unique name and click Finish.

Standby:

1. Right click on an empty area on your desktop.

2. Select New>Shortcut.

3. In the first box of the Create Shortcut Wizard, type:

%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState

Click Next.

4. Call the shortcut something like "Standby" (without quotes) and
click
Finish.

5. To add the finishing touch, right click on this new icon, select
Properties, click the Change Icon button and select an appropriate
icon.

A Google search found this thread:

http://www.pcguide.com/vb/showthread.php?t=46222
 
A

Albert

Hello Sir.
Yes, I can put the machine in Standby via Start | Turn Off | Standby.
I would like to do it via desktop shortcut, though.
I have the same issue with one Dell Notebook and one Generic Desktop.

In the three powerbutton settings I have (notebook):
Close Top: Do Nothing
Push Power Button: Ask Me
Push Standby Button: Do Nothing

Thanks and Best regards,

Albert C




PA Bear said:
Your computer should be able to go into Standby, with or without shortcuts,
and even with Hibernation enabled (via the option in Start | Settings |
Control Panel | Power Options | Hibernate <=this tab).

Start | Settings | Control Panel | Power Options | Advanced | Power buttons:
What have you selected in the three (3) sections here?

If it's a Notebook PC: Start | Settings | Control Panel | Power Options |
Settings for Portable/Laptop power scheme | System standby & System
hibernates <=what have you selected here?

Can you put the machine into Standby via Start | Turn off computer | Standby
<=this button?

I understand that. I want to be able to go into standby even though
hibernation is enabled....

PA Bear said:
[Uh, you're machine will never enter Hibernation unless it's enabled,
Albert. It won't update automatically unless you enable Automatic
Updates
either.]

Albert wrote:
Hi Elmo,
Thanks for your reply.
Your advice, however, did not work.
Both shortcuts do the same: When hibernation is enabled, both shortcuts
send
the computer to hibernation. When hibernation is not enabled, both
shortcuts
send the computer to standby.
What to do?
Thanks again,
Albert C.

:

Albert wrote:
Hello!

Sometimes, when I'm going to leave my computer for a while, I want to
put
it in standby mode. Some other times, for example when I go to sleep,
I
want to put my PC in hibernation.

Is it possible to create desktop shortcuts to enter each of these
modes
and not have to toggle the Energy Options / Enable Hibernation option?

Thanks in advance,

Albert C

Hibernate:

1. Right click on your Windows desktop and select New -> Shortcut
2. Under "Type the location of the item", type:

%windir%\System32\rundll32.exe PowrProf.dll, SetSuspendState Hibernate

Click Next.

3. Give it a unique name and click Finish.

Standby:

1. Right click on an empty area on your desktop.

2. Select New>Shortcut.

3. In the first box of the Create Shortcut Wizard, type:

%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState

Click Next.

4. Call the shortcut something like "Standby" (without quotes) and
click
Finish.

5. To add the finishing touch, right click on this new icon, select
Properties, click the Change Icon button and select an appropriate
icon.

A Google search found this thread:

http://www.pcguide.com/vb/showthread.php?t=46222
 
A

Albert

Hi Elmo,
Sorry, still no success! Same result all over. The Hibernate|Standby
parameter seems to be ignored by my pc's!
 
T

Tim Meddick

Albert,
I've been taught that the command :

rundll32 powrprof.dll,SetSuspendState

....will send the computer into hibernation mode - no matter what
parameter you may place after it!

No matter - if you want a command, that you can make a desktop shortcut
out of, that *will* place your PC into suspend state...

Then, download the following [nircmd.exe] zip file, extract the program
to your 'Windows' folder and make a shortcut to it on your desktop.

http://www.nirsoft.net/utils/nircmd.zip


Then, change what it says in the 'Target' box under the 'Shortcut' tab
in the shortcut's properties page to :


nircmd.exe standby force


This will then genuinely place your PC in suspend mode.

It's a brilliant little program, with many more options to do all sorts
of stuff on your PC.

Take a look in it's help file for usage instructions of other commands.


==

Cheers, Tim Meddick, Peckham, London. :)
 
A

Albert

EXCELLENT!
Thank you sir! Worked Great!
I will certainly be looking under the hood to see what else there's
available!!!!
Thanks again and have a Great Day!!!!
Albert C

Tim Meddick said:
Albert,
I've been taught that the command :

rundll32 powrprof.dll,SetSuspendState

....will send the computer into hibernation mode - no matter what
parameter you may place after it!

No matter - if you want a command, that you can make a desktop shortcut
out of, that *will* place your PC into suspend state...

Then, download the following [nircmd.exe] zip file, extract the program
to your 'Windows' folder and make a shortcut to it on your desktop.

http://www.nirsoft.net/utils/nircmd.zip


Then, change what it says in the 'Target' box under the 'Shortcut' tab
in the shortcut's properties page to :


nircmd.exe standby force


This will then genuinely place your PC in suspend mode.

It's a brilliant little program, with many more options to do all sorts
of stuff on your PC.

Take a look in it's help file for usage instructions of other commands.


==

Cheers, Tim Meddick, Peckham, London. :)




Albert said:
Hi Elmo,
Sorry, still no success! Same result all over. The Hibernate|Standby
parameter seems to be ignored by my pc's!
 
T

Tim Meddick

It has lightened my day to know it sir.


==

Cheers, Tim Meddick, Peckham, London. :)




Albert said:
EXCELLENT!
Thank you sir! Worked Great!
I will certainly be looking under the hood to see what else there's
available!!!!
Thanks again and have a Great Day!!!!
Albert C

Tim Meddick said:
Albert,
I've been taught that the command :

rundll32 powrprof.dll,SetSuspendState

....will send the computer into hibernation mode - no matter what
parameter you may place after it!

No matter - if you want a command, that you can make a desktop
shortcut
out of, that *will* place your PC into suspend state...

Then, download the following [nircmd.exe] zip file, extract the
program
to your 'Windows' folder and make a shortcut to it on your desktop.

http://www.nirsoft.net/utils/nircmd.zip


Then, change what it says in the 'Target' box under the 'Shortcut'
tab
in the shortcut's properties page to :


nircmd.exe standby force


This will then genuinely place your PC in suspend mode.

It's a brilliant little program, with many more options to do all
sorts
of stuff on your PC.

Take a look in it's help file for usage instructions of other
commands.


==

Cheers, Tim Meddick, Peckham, London. :)




Albert said:
Hi Elmo,
Sorry, still no success! Same result all over. The
Hibernate|Standby
parameter seems to be ignored by my pc's!

:

Albert wrote:
Hi Elmo,
Thanks for your reply.
Your advice, however, did not work.
Both shortcuts do the same: When hibernation is enabled, both
shortcuts send
the computer to hibernation. When hibernation is not enabled,
both
shortcuts
send the computer to standby.
What to do?
Thanks again,
Albert C.

:

Albert wrote:
Hello!

Sometimes, when I'm going to leave my computer for a while, I
want to put it
in standby mode. Some other times, for example when I go to
sleep, I want to
put my PC in hibernation.

Is it possible to create desktop shortcuts to enter each of
these
modes and
not have to toggle the Energy Options / Enable Hibernation
option?

Thanks in advance,

Albert C
Hibernate:

1. Right click on your Windows desktop and select New ->
Shortcut
2. Under "Type the location of the item", type:

%windir%\System32\rundll32.exe PowrProf.dll, SetSuspendState
Hibernate

Click Next.

3. Give it a unique name and click Finish.

Standby:

1. Right click on an empty area on your desktop.

2. Select New>Shortcut.

3. In the first box of the Create Shortcut Wizard, type:

%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState

Click Next.

4. Call the shortcut something like "Standby" (without quotes)
and
click
Finish.

5. To add the finishing touch, right click on this new icon,
select
Properties, click the Change Icon button and select an
appropriate
icon.

A Google search found this thread:

http://www.pcguide.com/vb/showthread.php?t=46222

The answer was in the link I sent:

I saw the word Hibernate at the end of the Hibernate line, and a
little
intuitive thinking led me to try the same with Standby. It works -

%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
Standby

So to reiterate the whole list, with the proper standby line:

Shutdown:

%windir%\System32\shutdown.exe -s

Reboot:

%windir%\System32\shutdown.exe -r

Logoff:

%windir%\System32\shutdown.exe -l

Standby:

%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
Standby

Hibernate:

%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
Hibernate
 
T

Tim Meddick

It has lightened my day to know it sir.


==

Cheers, Tim Meddick, Peckham, London. :)




Albert said:
EXCELLENT!
Thank you sir! Worked Great!
I will certainly be looking under the hood to see what else there's
available!!!!
Thanks again and have a Great Day!!!!
Albert C

Tim Meddick said:
Albert,
I've been taught that the command :

rundll32 powrprof.dll,SetSuspendState

....will send the computer into hibernation mode - no matter what
parameter you may place after it!

No matter - if you want a command, that you can make a desktop
shortcut
out of, that *will* place your PC into suspend state...

Then, download the following [nircmd.exe] zip file, extract the
program
to your 'Windows' folder and make a shortcut to it on your desktop.

http://www.nirsoft.net/utils/nircmd.zip


Then, change what it says in the 'Target' box under the 'Shortcut'
tab
in the shortcut's properties page to :


nircmd.exe standby force


This will then genuinely place your PC in suspend mode.

It's a brilliant little program, with many more options to do all
sorts
of stuff on your PC.

Take a look in it's help file for usage instructions of other
commands.


==

Cheers, Tim Meddick, Peckham, London. :)




Albert said:
Hi Elmo,
Sorry, still no success! Same result all over. The
Hibernate|Standby
parameter seems to be ignored by my pc's!

:

Albert wrote:
Hi Elmo,
Thanks for your reply.
Your advice, however, did not work.
Both shortcuts do the same: When hibernation is enabled, both
shortcuts send
the computer to hibernation. When hibernation is not enabled,
both
shortcuts
send the computer to standby.
What to do?
Thanks again,
Albert C.

:

Albert wrote:
Hello!

Sometimes, when I'm going to leave my computer for a while, I
want to put it
in standby mode. Some other times, for example when I go to
sleep, I want to
put my PC in hibernation.

Is it possible to create desktop shortcuts to enter each of
these
modes and
not have to toggle the Energy Options / Enable Hibernation
option?

Thanks in advance,

Albert C
Hibernate:

1. Right click on your Windows desktop and select New ->
Shortcut
2. Under "Type the location of the item", type:

%windir%\System32\rundll32.exe PowrProf.dll, SetSuspendState
Hibernate

Click Next.

3. Give it a unique name and click Finish.

Standby:

1. Right click on an empty area on your desktop.

2. Select New>Shortcut.

3. In the first box of the Create Shortcut Wizard, type:

%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState

Click Next.

4. Call the shortcut something like "Standby" (without quotes)
and
click
Finish.

5. To add the finishing touch, right click on this new icon,
select
Properties, click the Change Icon button and select an
appropriate
icon.

A Google search found this thread:

http://www.pcguide.com/vb/showthread.php?t=46222

The answer was in the link I sent:

I saw the word Hibernate at the end of the Hibernate line, and a
little
intuitive thinking led me to try the same with Standby. It works -

%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
Standby

So to reiterate the whole list, with the proper standby line:

Shutdown:

%windir%\System32\shutdown.exe -s

Reboot:

%windir%\System32\shutdown.exe -r

Logoff:

%windir%\System32\shutdown.exe -l

Standby:

%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
Standby

Hibernate:

%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
Hibernate
 

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