Pages

Create A Powershortcut for Windows 8

Windows 8 has been out for a while now and people still finds it inconvenient that there's no quick and easy way to do simple things like restarting, or turning the computer off. What I'm about to show you is how you can create a one-click button to turn off, restart, log off, and lock your Windows 8 computer. 

First thing we need to do is go to the classic desktop.  

The first thing we will do is the Abort shutdown. This is useful if your computer is shutting down and you want to cancel it. This is a one click button to abort the shutdown command for your computer. 

  1. Create a new shortcut by doing a right click on an empty space on the desktop and selecting New and then Shortcut. 

  1. Type shutdown -a and click next. 

  1. You can name this shortcut as Abort. 

  1. Now change the Icon to anything you want. Right click on the Abort shortcut we've created and click on properties. 

  1. Click on Change Icon (click OK). On the "Look for icons in this file box"...replace the "SHELL32.dll" with "imageres.dll"

  1. Look for a nice icon for the Abort button and  click OK. Now you have the appropriate Abort button on your desktop. 

Next, we'll create the actual shutdown button using the same process. 

  1. Repeat the procedure in creating the Abort button. Except, change the command found on step 2 with shutdown -s and Click Next. 

  1. Name it as Shutdown and click finish. 

  1. Follow Step 5 and 6 above. 

The next shortcut is a bit different. We'll going to create a restart button which unlike the shutdown, it does restart the computer instantly. So we will going to add a command to delay the restart. 

  1. Right click on a blank space in your desktop and click "create shortcut" 

  1. Type shutdown -r -t 10. This means, after clicking the button the computer will restart in 10 seconds. You can modify the amount of time you want to delay the restart. You can also set a reminder with adding -c (the reminder message). 
 Example:  shutdown -r -t 10 -c "The computer will restart in 10 seconds" 

  1. Follow step 5 and 6 on creating the Abort button.  


The next is going to be the Log Off button.  

  1. Right click on the blank space on your desktop and click create shortcut. 

  1. Type shutdown -l and Click next. 

  1. Name it as Log Off 

  1. Follow step 5 and 6 on the Abort button command. 

This next power control button is completely different command from the other so please follow the instruction carefully or it will not work. 

  1. On the desktop space, right click and select create shortcut. 

  1. type rundll32.exe User32.dll,LockWorkStation and click next. 

  1. Name it as Lock Computer.

  1. Follow step 5 and 6 on the Abort button command. 

Now, you can place these shortcut to the start menu by right click on each one and selecting pin to start. 

Thanks.