The shutdown menu is probably one of the most used one in Windows. It’s always a good idea to initiate a proper shutdown when turning off your PC, and most users shut down their Windows from the Start menu.
However, there are other ways you can select to shut down a Windows PC. You can even add entirely new shutdown and restart options to the desktop context menu. This is how you can set up shutdown and restart shortcuts for your desktop’s context menu in Windows 11 in two different ways.
How to Add Shut Down and Restart Options to the Context Menu With a Registry Script
While there are multiple ways to shut down Windows 11, it doesn’t have any customization settings to achieve this from context menu. So, some registry tweaking is needed to add shutdown and restart options there.
However, you don’t have to manually apply such tweaking within Registry Editor. You can instead set up a registry script that adds new shutdown and restart options to Windows 11’s desktop context menu like this:
- Click Start on your taskbar.
- Then click in the Type here to search box at the top of the Start menu to enter Notepad.
- Right-click the Notepad app in the search results and select Run as administrator.
- Then copy this registry script code by selecting its text with the cursor and pressing Ctrl + C:
Windows Registry Editor Version 5.00
@="shutdown.exe -r -t 00 -f"
@="shutdown.exe -s -t 00 -f"
- Press the Ctrl + V hotkey to paste the script into Notepad.
- Click the File menu.
- Select Save as to open the common file dialog box.
- Click the Save as type drop-down menu and select All files.
- Input the file title Shutdown options.reg in the name box.
- Select the Desktop location, and click the Save option.
- Double-click the Shutdown options.reg file you just saved to your desktop.
- Select Yes on the confirmation prompt to continue.
- Click OK on the Registry Editor dialog box.
Now check out the new options for shutting down and restarting your desktop or laptop on the context menu. Press the Shift + F10 hotkey (or right-click the desktop and select Show more options) to bring up the classic context menu. Then you can select the Shutdown Computer or Restart Computer options from there.
You can remove the new context menu options by deleting the keys added with the registry script. Launch the Registry Editor with a method in our Open the Registry Editor guide. Then open the shell registry key at this location: HKEY_CLASSES_ROOT\DesktopBackground\Shell. Right-click the Restart Computer and Shutdown Computer keys within shell to select Delete > Yes.
An alternative method is to add shutdown and restart options to the context menu with Winaero Tweaker. Winaero Tweaker is among the best freeware customization apps for Windows 11/10. That software enables you to add a Shut Down submenu to Windows 11’s desktop context menu that includes four options. This is how to add new shutdown context menu options with Winaero Tweaker:
- Head over to the Winaero Tweaker download page in a web browser.
- Click Download Winaero Tweaker to save a ZIP archive for that software.
- Next, click the folder library icon that’s on the taskbar to open up Explorer’s window.
- Open the folder in which Winaero downloaded, and double-click the winaerotweaker.zip file.
- Click the Extract all option to bring up Windows 11’s tool for extracting ZIP archives.
- Select the Show extracted files when complete and Extract options on the window that opens.
- Double-click Winaero Tweaker’s setup file.
- You can keep clicking Next until you reach the agreement terms section. Select the I accept and Next options to proceed.
- Click Browse to choose a different installation directory for Winaero Tweaker if preferred.
- Keep clicking Next, and then select the final Install option.
- Select Run Winaero Tweaker and Finish to complete the setup.
- Double-click Context Menu in Winaero Tweaker’s sidebar.
- Scroll down to and select Shut Down.
- Click the Add Shut Down to Desktop context menu checkbox.
Look at your new shutdown and restart context menu options by right-clicking the desktop and selecting Show more options. Move the cursor over the new Shut Down submenu Winaero Tweaker added to your context menu. There you can select four alternative options to shut down or restart instantly or with a warning.
If you select a warning option, a dialog box pops up that says Windows will shut down or restart within a minute or so. That means you’ve got about 15 seconds to abort it. To do so, press the Win + R key combo to quickly bring up the Run dialog. Type shutdown -a in Run and click OK to abort.
It’s easy to undo context menu changes applied with Winaero Tweaker. Deselect its selected Add Shut Down to Desktop context menu option. Or you can click Reset this page to defaults to restore original settings in Winaero Tweaker.
Adding shutdown and restart options to Windows 11’s desktop context menu is yet another good way to customize the right-click menu. Note that the above methods will also work in Windows 8, which doesn’t have a Start menu! So, it’s especially useful for Windows 8 users to add shut down and restart options to the context menu.