Translate

Saturday, November 26, 2011

Create Shortcuts to Shutdown, Restart etc.

Dear Friends,
With these tricks, you can create desktop shortcuts to quickly Shutdown, Restart, Hibernate and Log Off your computer machine.
Steps
(1.) Right click on Desktop and select New->> Shortcut.
(2.) Enter the code from below mentioned list of codes and click next.
(3.) Give any name to your shortcut and click finish.
 (You can give "Shutdown" name  for shutdown shortcut.)

List of Codes-
(a)   Shutdown
Code:
%windir%\System32\shutdown.exe -s -t 01
For instant Shutdown
Code:
%windir%\System32\shutdown.exe -s -f -t 00
(b)   Restart:
Code:
%windir%\System32\shutdown.exe -r -t 01
For instant Restart
Code:
%windir%\System32\shutdown.exe -r -f -t 00

(c)    Hibernate
Code:
%windir%\System32\rundll32.exe PowrProf.dll SetSuspendState
(Make sure Hibernate option is enabled.)

(d)   Log Off
Code:
%windir%\system32\shutdown.exe –I
That's all.
------------------------------------------------

No comments:

Post a Comment