Keyboard shortcuts needed

W

Walter R.

I am using WinXP SP2 with a standard keyboard. It has separate keys for
"Power Off" and "Stand By".

Due to space limitations, I would like to switch to a truncated keyboard,
without the number pad on the right and without the special keys for Power
Off and Standby.

Are there keyboard shortcuts that I can use to activate Power Off and
Standby functions?
 
W

Wesley Vogel

Create shortcuts to Shutdown and/or Reboot then assign a Shortcut key. Do
the same for Standby.

Desktop Shutdown Shortcut
Right click the desktop | Click New | Click Shortcut | Create Shortcut
Wizard opens | Type or paste: %windir%\System32\shutdown.exe -s -t 00 |
Click Next | Type a name like: SHUTDOWN | Click Finish | Right click the new
shortcut | Make sure Start in has: %windir%

Desktop Reboot Shortcut
Right click the desktop | Click New | Click Shortcut | Create Shortcut
Wizard opens | Type or paste: %windir%\System32\shutdown.exe -r -t 00 |
Click Next | Type a name like: REBOOT | Click Finish | Right click the new
shortcut | Make sure Start in has: %windir%

Desktop Standby Shortcut
Right click the desktop | Click New | Click Shortcut | Create Shortcut
Wizard opens | Type or paste:
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
Click Next | Type a name like: Standby | Click Finish

Customize the icons
Right click each shortcut | Properties | Shortcut tab | Change Icon button

You can assign a Shortcut key...

1. Locate the program file (.exe) or the program's shortcut icon.
Right-click the program file or shortcut, and then click Properties.

2. Click the Shortcut tab.

3. With the cursor in the Shortcut key box, select the keyboard key you
want to use in combination with CTRL+ALT. Shortcut keys automatically start
with CTRL+ALT. The Shortcut key box will display None until you select the
key and then the box will display Ctrl+Alt+the key you selected. You cannot
use the ESC, ENTER, TAB, SPACEBAR, PRINT SCREEN, SHIFT, or BACKSPACE keys.

Note
Once you assign a shortcut key combination for a specific program, you will
not be able to use that key combination with other programs.

If you forget the key combination for your shortcut, you can follow steps 1
& 2 and review your shortcut keys.

Shortcut tab
Lists the shortcut name, target information, and shortcut key. Allows you to
choose the way the item is displayed when you open the shortcut: in a
standard window, a full screen (maximized), or as a button on the taskbar
(minimized). Also allows you to view the shortcut's target, change the icon
for the shortcut, and open a shortcut as a different user.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
W

Walter R.

Thank you very much, Wesley. Your instructions worked great for the Shutdown
shortcut.

What you call the Desktop Standby Shortcut actually gives me the Hibernate
Shortcut. (%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState)

Would you happen to know the line I should type in or paste for the
"Standby" Shortcut (sometimes called "sleep" shortcut?

Best regards

--
Walter
www.rationality.net
-
Wesley Vogel said:
Create shortcuts to Shutdown and/or Reboot then assign a Shortcut key. Do
the same for Standby.

Desktop Shutdown Shortcut
Right click the desktop | Click New | Click Shortcut | Create Shortcut
Wizard opens | Type or paste: %windir%\System32\shutdown.exe -s -t 00 |
Click Next | Type a name like: SHUTDOWN | Click Finish | Right click the
new
shortcut | Make sure Start in has: %windir%

Desktop Reboot Shortcut
Right click the desktop | Click New | Click Shortcut | Create Shortcut
Wizard opens | Type or paste: %windir%\System32\shutdown.exe -r -t 00 |
Click Next | Type a name like: REBOOT | Click Finish | Right click the new
shortcut | Make sure Start in has: %windir%

Desktop Standby Shortcut
Right click the desktop | Click New | Click Shortcut | Create Shortcut
Wizard opens | Type or paste:
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
Click Next | Type a name like: Standby | Click Finish

Customize the icons
Right click each shortcut | Properties | Shortcut tab | Change Icon button

You can assign a Shortcut key...

1. Locate the program file (.exe) or the program's shortcut icon.
Right-click the program file or shortcut, and then click Properties.

2. Click the Shortcut tab.

3. With the cursor in the Shortcut key box, select the keyboard key you
want to use in combination with CTRL+ALT. Shortcut keys automatically
start
with CTRL+ALT. The Shortcut key box will display None until you select the
key and then the box will display Ctrl+Alt+the key you selected. You
cannot
use the ESC, ENTER, TAB, SPACEBAR, PRINT SCREEN, SHIFT, or BACKSPACE keys.

Note
Once you assign a shortcut key combination for a specific program, you
will
not be able to use that key combination with other programs.

If you forget the key combination for your shortcut, you can follow steps
1
& 2 and review your shortcut keys.

Shortcut tab
Lists the shortcut name, target information, and shortcut key. Allows you
to
choose the way the item is displayed when you open the shortcut: in a
standard window, a full screen (maximized), or as a button on the taskbar
(minimized). Also allows you to view the shortcut's target, change the
icon
for the shortcut, and open a shortcut as a different user.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
W

Wesley Vogel

Hi Walter,

Oops, left off one word.

Try this.

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

This will probably wrap, so, there is one space between SetSuspendState and
Hibernate.

You are correct, without Hibernate at the end, you get Standby.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
A

Ayush

Replied to [Wesley Vogel]s message :
-----------------------------------------------------------
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Hibernate
You are correct, without Hibernate at the end, you get Standby.

He wants Standby not Hibernate.
To OP, try this :
rundll32.exe powrprof.dll,SetSuspendState 0,1,0
 
W

Wesley Vogel

With
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
if Hibernate is enabled in Power Options it will Hibernate.

With
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
if Hibernate is disabled in Power Options it will go into Standby.

<quote>
Hibernate
[in] If this parameter is TRUE, the system hibernates. If the parameter is
FALSE, the system is suspended.
<quote>
From...
SetSuspendState
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/power/base/setsuspendstate.asp

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

Other wise...
Standby:
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
Hibernate:
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Hibernate

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
Ayush said:
Replied to [Wesley Vogel]s message :
-----------------------------------------------------------
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Hibernate
You are correct, without Hibernate at the end, you get Standby.

He wants Standby not Hibernate.
To OP, try this :
rundll32.exe powrprof.dll,SetSuspendState 0,1,0
 
A

Ayush

OK.....
Thanks for the info. Your mind is full with lots of useful information...

--
Ayush [ Good :) Luck ]
-------------
Search - www.Google.com | Wikipedia - http://en.wikipedia.org
Snip your long urls - http://snipurl.com/
-------------


Replied to [Wesley Vogel]s message :
-----------------------------------------------------------
With
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
if Hibernate is enabled in Power Options it will Hibernate.

With
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
if Hibernate is disabled in Power Options it will go into Standby.

<quote>
Hibernate
[in] If this parameter is TRUE, the system hibernates. If the parameter is
FALSE, the system is suspended.
<quote>
From...
SetSuspendState
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/power/base/setsuspendstate.asp

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

Other wise...
Standby:
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
Hibernate:
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Hibernate


In
Ayush said:
Replied to [Wesley Vogel]s message :
-----------------------------------------------------------
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Hibernate
You are correct, without Hibernate at the end, you get Standby.

He wants Standby not Hibernate.
To OP, try this :
rundll32.exe powrprof.dll,SetSuspendState 0,1,0
 
R

Rock

Ayush said:
OK.....
Thanks for the info. Your mind is full with lots of useful information...

--
Ayush [ Good :) Luck ]
-------------
Search - www.Google.com | Wikipedia - http://en.wikipedia.org
Snip your long urls - http://snipurl.com/
-------------


Replied to [Wesley Vogel]s message :
-----------------------------------------------------------
With
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
if Hibernate is enabled in Power Options it will Hibernate.

With
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
if Hibernate is disabled in Power Options it will go into Standby.

<quote>
Hibernate
[in] If this parameter is TRUE, the system hibernates. If the parameter
is
FALSE, the system is suspended.
<quote>
From...
SetSuspendState
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/power/base/setsuspendstate.asp

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

Other wise...
Standby:
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
Hibernate:
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Hibernate


In
Ayush said:
Replied to [Wesley Vogel]s message :
-----------------------------------------------------------
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Hibernate
You are correct, without Hibernate at the end, you get Standby.

He wants Standby not Hibernate.
To OP, try this :
rundll32.exe powrprof.dll,SetSuspendState 0,1,0


I agree - his mind is definitely full of it. He's probably got quite a bit
of useless stuff in there too, eh...;-)
 
W

Wesley Vogel

My mind is like a sieve. The info is in my notes on my computer. ;-)

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
Ayush said:
OK.....
Thanks for the info. Your mind is full with lots of useful information...

--
Ayush [ Good :) Luck ]
-------------
Search - www.Google.com | Wikipedia - http://en.wikipedia.org
Snip your long urls - http://snipurl.com/
-------------


Replied to [Wesley Vogel]s message :
-----------------------------------------------------------
With
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
if Hibernate is enabled in Power Options it will Hibernate.

With
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
if Hibernate is disabled in Power Options it will go into Standby.

<quote>
Hibernate
[in] If this parameter is TRUE, the system hibernates. If the parameter
is FALSE, the system is suspended.
<quote>
From...
SetSuspendState
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/power/base/setsuspendstate.asp

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

Other wise...
Standby:
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
Hibernate:
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Hibernate


In
Ayush said:
Replied to [Wesley Vogel]s message :
-----------------------------------------------------------
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Hibernate
You are correct, without Hibernate at the end, you get Standby.

He wants Standby not Hibernate.
To OP, try this :
rundll32.exe powrprof.dll,SetSuspendState 0,1,0
 
J

jt3

No big matter where it is. The problem, as always, is *being able to find
it!*

;-)}
Joe
Wesley Vogel said:
My mind is like a sieve. The info is in my notes on my computer. ;-)

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
Ayush said:
OK.....
Thanks for the info. Your mind is full with lots of useful information...

--
Ayush [ Good :) Luck ]
-------------
Search - www.Google.com | Wikipedia - http://en.wikipedia.org
Snip your long urls - http://snipurl.com/
-------------


Replied to [Wesley Vogel]s message :
-----------------------------------------------------------
With
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
if Hibernate is enabled in Power Options it will Hibernate.

With
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
if Hibernate is disabled in Power Options it will go into Standby.

<quote>
Hibernate
[in] If this parameter is TRUE, the system hibernates. If the parameter
is FALSE, the system is suspended.
<quote>
From...
SetSuspendState
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/power/base/setsuspendstate.asp
How To Put the System into hibernation or Standby from Run menu
http://support.microsoft.com/kb/555569

Other wise...
Standby:
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
Hibernate:
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Hibernate


In Ayush <ayushmaan.j[aatt]gmail.com> hunted and pecked:
Replied to [Wesley Vogel]s message :
-----------------------------------------------------------
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Hibernate
You are correct, without Hibernate at the end, you get Standby.

He wants Standby not Hibernate.
To OP, try this :
rundll32.exe powrprof.dll,SetSuspendState 0,1,0
 
W

Wesley Vogel

In the Spring of 1956.....

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
Rock said:
Ayush said:
OK.....
Thanks for the info. Your mind is full with lots of useful information...

--
Ayush [ Good :) Luck ]
-------------
Search - www.Google.com | Wikipedia - http://en.wikipedia.org
Snip your long urls - http://snipurl.com/
-------------


Replied to [Wesley Vogel]s message :
-----------------------------------------------------------
With
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
if Hibernate is enabled in Power Options it will Hibernate.

With
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
if Hibernate is disabled in Power Options it will go into Standby.

<quote>
Hibernate
[in] If this parameter is TRUE, the system hibernates. If the parameter
is
FALSE, the system is suspended.
<quote>
From...
SetSuspendState
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/power/base/setsuspendstate.asp

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

Other wise...
Standby:
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
Hibernate:
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Hibernate


In Ayush <ayushmaan.j[aatt]gmail.com> hunted and pecked:
Replied to [Wesley Vogel]s message :
-----------------------------------------------------------
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Hibernate
You are correct, without Hibernate at the end, you get Standby.

He wants Standby not Hibernate.
To OP, try this :
rundll32.exe powrprof.dll,SetSuspendState 0,1,0


I agree - his mind is definitely full of it. He's probably got quite a
bit of useless stuff in there too, eh...;-)
 
W

Wesley Vogel

Ain't that the truth!

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
jt3 said:
No big matter where it is. The problem, as always, is *being able to find
it!*

;-)}
Joe
Wesley Vogel said:
My mind is like a sieve. The info is in my notes on my computer. ;-)

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
Ayush said:
OK.....
Thanks for the info. Your mind is full with lots of useful
information...

--
Ayush [ Good :) Luck ]
-------------
Search - www.Google.com | Wikipedia - http://en.wikipedia.org
Snip your long urls - http://snipurl.com/
-------------


Replied to [Wesley Vogel]s message :
-----------------------------------------------------------
With
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
if Hibernate is enabled in Power Options it will Hibernate.

With
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
if Hibernate is disabled in Power Options it will go into Standby.

<quote>
Hibernate
[in] If this parameter is TRUE, the system hibernates. If the parameter
is FALSE, the system is suspended.
<quote>
From...
SetSuspendState
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/power/base/setsuspendstate.asp
How To Put the System into hibernation or Standby from Run menu
http://support.microsoft.com/kb/555569

Other wise...
Standby:
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
Hibernate:
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Hibernate


In Ayush <ayushmaan.j[aatt]gmail.com> hunted and pecked:
Replied to [Wesley Vogel]s message :
-----------------------------------------------------------
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Hibernate
You are correct, without Hibernate at the end, you get Standby.

He wants Standby not Hibernate.
To OP, try this :
rundll32.exe powrprof.dll,SetSuspendState 0,1,0
 
R

Rock

Wesley Vogel said:
In the Spring of 1956.....

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
Rock said:
Ayush said:
OK.....
Thanks for the info. Your mind is full with lots of useful
information...

--
Ayush [ Good :) Luck ]
-------------
Search - www.Google.com | Wikipedia - http://en.wikipedia.org
Snip your long urls - http://snipurl.com/
-------------


Replied to [Wesley Vogel]s message :
-----------------------------------------------------------
With
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
if Hibernate is enabled in Power Options it will Hibernate.

With
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
if Hibernate is disabled in Power Options it will go into Standby.

<quote>
Hibernate
[in] If this parameter is TRUE, the system hibernates. If the parameter
is
FALSE, the system is suspended.
<quote>
From...
SetSuspendState
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/power/base/setsuspendstate.asp

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

Other wise...
Standby:
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState
Hibernate:
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Hibernate


In Ayush <ayushmaan.j[aatt]gmail.com> hunted and pecked:
Replied to [Wesley Vogel]s message :
-----------------------------------------------------------
%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Hibernate
You are correct, without Hibernate at the end, you get Standby.

He wants Standby not Hibernate.
To OP, try this :
rundll32.exe powrprof.dll,SetSuspendState 0,1,0


I agree - his mind is definitely full of it. He's probably got quite a
bit of useless stuff in there too, eh...;-)


lol..
 

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