Add Shutdown and Restart Options in the Windows 8 Context Menu


Microsoft has launched Windows 8 with many new features and many changes such as the Start menu has been replaced by the Metro Start screen and charm bar. So if you want to use the functionality of the Start menu like Shutdown or Restart then you have to go to the charm bar, click on Setting, click on the power option and then you can shut down or restart your computer. That is a very long process to shut down or restart the computer.
In this article, we are going to explain how to add Shutdown and Restart options to the right-click context menu. After adding this option, in the right-click context menu you can easily shutdown or restart your computer with just one right-clicks on the Desktop screen. You don't need to go onto the charm bar and then Setting.

How to add Shutdown and Restart options in the right-click context menu?

Step 1
Open Notepad, then copy the following text and past it into Notepad.
  1. [HKEY_CLASSES_ROOT\DesktopBackground\Shell\Restart Computer]  
  2. "icon"="shell32.dll,-221"  
  3. "Position"="Bottom"  
  4. [HKEY_CLASSES_ROOT\DesktopBackground\Shell\Shutdown Computer]  
  5. "icon"="shell32.dll,-329"  
  6. "Position"="Bottom"   
  7. [HKEY_CLASSES_ROOT\DesktopBackground\Shell\Restart Computer\command]  
  8. @="shutdown.exe -r -t 00 -f"  
  9. [HKEY_CLASSES_ROOT\DesktopBackground\Shell\Shutdown Computer\command]  
  10. @="shutdown.exe -s -t 00 -f"   
Step 2
Go to the File menu and click on "Save As". Select All File from "Save as type" and type "filename.reg" and click on "Save".
Step 3
Now go to the folder where you saved the .reg file and double-click on the .reg file.
Step 4
A Registry Editor message will be displayed; click on "Yes".
Step 5
After the registry success message is displayed click on "OK".
Step 6
Now go to the Desktop Screen and right-click; the Shutdown and Restart options will be shown.


In this article, we learned about Add Shutdown and Restart Options in the Windows 8 Context Menu.