In Windows 8, now that the Start menu is gone and replaced by the Start screen and Charms bar. This means that if you want to restart your computer, you need to open the Charms bar, click on Settings, click on the Power icon, and then click on Restart. You can read my previous post which goes into more detail on shutting down and restarting Windows 8, including adding a shortcut tile to the Start screen.
However, in terms of efficiency, this is a serious step backward. The two clicks were now multiple clicks and mouse maneuvering or keyboard shortcuts. Many people will not want to go through this procedure every time they want to shut down or restart their computer. Also, even with a tile of shortcuts on the Start screen, I still didn’t like going to the Start screen to restart or shut down my computer.
In this article, I’ll show you how to quickly add Restart and Shutdown commands to the right-click context menu on your desktop. This is what it looks like if you right-click on the desktop:
To add these parameters, you need to add some values ??to the registry. Since these are several different values, the easiest way to do this is to create a .reg file and simply double-click it to set the keys to the registry. First, you need to open Notepad in Windows 8. Go to the Start screen and start typing notepad.
With Notepad open, paste the following lines of code:
– / Windows Registry Editor 5.00 [HKEY_CLASSES_ROOT DesktopBackground Shell Restart Computer] “icon” = “shell32.dll, -221” “Position” = “Bottom” [HKEY_CLASSES_ROOT DesktopBackground Shell Shutdown Computer] “icon” = “shell32.dll, -329” “Position” = “Bottom” [HKEY_CLASSES_ROOT DesktopBackground Shell Restart Computer command] @ = “shutdown.exe -r -t 00 -f “[HKEY_CLASSES_ROOT DesktopBackground Shell Shutdown Computer command] @ =” shutdown. exe -s -t 00 -f “
Now click File – Save. You can give the file any name here. The main thing is to change the “Save as” type to “All files” and assign the .reg extension to the file name.
Now, just double-click the file where you saved it and you will see the following warning dialog about adding data to the registry:
That’s all. You should be able to instantly right-click on your desktop and see the new options without having to log off or restart your computer. Simple but effective. Enjoy! Thanks to SkyKOG from the xdadevelopers forum.