First you need to right click on the desktop and then click on the New and then ShortcutHere in the location box you need to type the following command,Shutdown -r –t 01Shutdown ComputerShutdown.exe -s -t 00
Shutdown.exe -r -t 00
rundll32.exe powrprof.dll,SetSuspendState 0,1,0
Now on the next window you want to enter the name of the shortcut that should be meaningful.
Now when you will click on the Finish button then you will see the shortcut which will shutdown, restart, or lock your computer.Change Shortcut IconYou know that there is option to change the icon of the shortcut if you wish to change it. For this purpose just right click on icon and select properties.Now just click on the Change icon button and then you will see the icons for your shortcuts, you can also select it of your choice by clicking on the Browse button.These can also drag in the launch bar if you wish to drag it.
Shutdown Restart Lock Icons in Windows