This tutorial will help you to create desktop shortcuts for shutdown, restart, sleep options and pin shutdown, restart, sleep tiles on start screen in Windows 8. This can be achieved either by creating shortcuts manually or using Power Shell script.
Steps to create shutdown, restart, sleep, logoff, lock, hibernate shortcuts in Windows 8
1. Switch to Desktop mode.
2. Right click on empty space and Choose New and then Shortcut.
4. On next screen name the shortcut as “Shutdown” and click Finish button.
5. Now a shortcut named Shutdown will be created on Desktop, right click on it and choose Properties.
6. Click on “Change Icon” button, it will prompt you to choose icon from the list or specify a different file click OK button.
7. Because the shutdown.exe program you specified has no icons associated with it, the following message displays. Click OK.
8. On Change Icon Window, select the appropriate icon for the shortcut which can easily let other users to easily recognize the shutdown shortcut.
9. Click OK button to complete the procedure. Now you have successfully created a shutdown desktop shortcut in Windows 8 start screen.
Likewise, you can create shortcuts for restart, log off, sleep, lock and hibernate in Windows 8. Here are the shortcuts codes for them.
Use and paste the commands below
Shutdown your Computer
Shutdown /s /t 0
Shutdown.exe -s -t 00
- Force all applications to close and shutdown immediately
Shutdown.exe -s (After 30s...)
Restart Computer
Shutdown /r /t 0
Shutdown.exe -r -t 00
Log off Computer
shutdown /l /f /t 0
shutdown.exe -l
Sleep Computer
Rundll32.exe Powrprof.dll,SetSuspendState Sleep
rundll32.exe powrprof.dll,SetSuspendState 0,1,0
Lock your Computer
Rundll32.exe user32.dll LockWorkStation
Hibernate Computer
shutdown /h
Rundll32.exe Powrprof.dll,SetSuspendState Hibernate
Standby Computer
rundll32.exe powrprof.dll,SetSuspendState
Reboot Computer
shutdown.exe –r