DMTechComputers.com Solutions for the 21st century
 


 

 

 

 

 

Create Shutdown/Restart/Lock Icons in Windows

 

First right-click on the desktop, choose New and then Shortcut.

In the shortcut location box, you’ll need to enter the correct command, which I’ve listed for you below.

When you’ve clicked next on the above dialog, you’ll be asked to name the shortcut. Probably best to name it according to the right function.


Shutdown Computer

Shutdown.exe -s -t 00
--------------------------------------------------------------------------
Restart Computer

Shutdown.exe -r -t 00
-------------------------------------------------------------------------
Lock Workstation

Rundll32.exe User32.dll,LockWorkStation
--------------------------------------------------------------------------
Hibernate Computer

rundll32.exe PowrProf.dll,SetSuspendState
-------------------------------------------------------------------------
Sleep Computer

rundll32.exe powrprof.dll,SetSuspendState 0,1,0
-------------------------------------------------------------------------

 

 

Find us located at 7747 S. Luna Ave Burbank, IL 60459 (708) 912-4247

Hours M-F 10-8 .

Call for appointment. No service on Sundays

 

2009@DMTechComputers.com