You are here: Home > > How to Create Shutdown/Restart/Lock Icons in Windows 7

How to Create Shutdown/Restart/Lock Icons in Windows 7

Windows 7 makes the shutdown menu a lot better than previous operating systems, but if you want a shortcut elsewhere or to assign a hotkey, this should help you out.

The following are the steps to create a Shutdown/ Restart /System Lock Icon in Windows 7

1. First right-click on the desktop, choose New and then Shortcut.
2. In the shortcut location box, you’ll need to enter the correct command, which I’ve listed for you below.

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

3. 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.

4. After you click Finish, you should now have a new icon that you can double-click to immediately shutdown, restart, or lock your computer.

Change Shortcut Icon

1. The default icon is really ugly, and if you want to have separate shortcuts for each function you might want to change the icon. Right-click on the icon and choose properties.

2. Click the Change Icon button, and then you can pick from the available icons in the system, or you can use the Browse button to pick an icon you downloaded off the web.

3. Note that you can drag them to your quick launch bar if you’d prefer to have them there.
  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • Twitter
  • RSS

0 Responses to “How to Create Shutdown/Restart/Lock Icons in Windows 7”:

Leave a comment