Shutdown Restart PC from context menu

Shutdown Restart PC from the context menu, it provides fast access to the user to control PC. In Windows 8, now that the Start menu is gone and it is replaced by the screen and start Charms bar. This means that if you restart your computer, you must open the charms bar, click Settings, click the Power icon, and then click Restart. However, this is a big step backward in terms of efficiency.

What happened two clicks is now multiple clicks and either move or keyboard shortcuts mouse. Many people will not want to do this procedure every time they want to shut down or restart your PC. Moreover, even with the tile shortcut on the home screen, yet I did not like having to navigate to the home screen to restart or shutdown my PC.

Shutdown Restart PC from the context menu

In this article, I’ll show you a quick way you can add the restart and shutdown commands to the context menu right-click on the desktop.

windows registry editor caution
windows registry editor caution

The Windows registry (Regedit) is a file in hexadecimal instruction is composed of a series of instructions, services, applications and necessary for the proper functioning of the operating system configurations. When we make a change in this record we risk this stop functioning properly and thus, our operating system will no longer do so and also without backup, it is very difficult to restore proper operation. Therefore, you must “take backup of Windows registry“.

Shutdown Restart, Lock Computer and  Sleep Mode Commands Right-Click Menu

Copy the below code and save it as .reg, double click the saved file and accept all messages.

Windows Registry Editor Version 5.00

;Created by mr.neeo for www.neeosearch.com

[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Power Control]
"MUIVerb"="Power Control"
"SubCommands"="Lock;sleep;restart;shutdown"
"Icon"="shell32.dll,215"
"Position"="bottom"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\lock]
@="Lock Computer"
"icon"="shell32.dll,-325"
"Position"="Bottom"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\lock\command]
@="Rundll32 User32.dll,LockWorkStation"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\sleep]
@="Sleep Mode"
"icon"="shell32.dll,-331"
"Position"="Bottom"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\sleep\command]
@="rundll32.exe powrprof.dll,SetSuspendState Sleep"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\restart]
@="Restart Windows"
"icon"="shell32.dll,-221"
"Position"="Bottom"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\restart\command]
@="Shutdown -r -f -t 00"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\shutdown]
@="ShutDown Windows"
"icon"="shell32.dll,-329"
"Position"="Bottom"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\shutdown\command]
@="Shutdown -s -f -t 00"

Remove Shutdown, Restart, Lock Computer and  Sleep Mode Commands Right-Click Menu

Copy the below code and save it as .reg, double click the saved file and accept all messages.

Windows Registry Editor Version 5.00

;Created by mr.neeo for www.neeosearch.com

[-HKEY_CLASSES_ROOT\DesktopBackground\Shell\Power Control]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\lock]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\sleep]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\restart]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\shutdown]

Note:- If you don’t know how to use Windows Registry script, you should read how to Save the file in Windows Registry Tool

After applying anyone method from above you will see the following User Account ControlUAC“. This UAC will confirm “Do you want to allow this app to make a change to your device?“. So if you want to open Windows Registry Editor tool you should click on “Yes”

create backup windows registry

Leave a Reply

Your email address will not be published. Required fields are marked *