Excel offers shortcuts to insert cell, delete cell, paste special, and other frequently used actions depending on the computing device’s operating system, input methods, and input devices. ..
Context menus can be closed by choosing an action or clicking outside the menu box on an empty space. Windows 7 and Windows 8 users can add desired actions or remove unnecessary items from the operating system’s context menu. You can add a shutdown option to the context menu if you want a shortcut for shutting down or restarting your computer. ..
Steps to Add Shutdown and Restart Options to Context Menu in Windows 11
Add shutdown and restart options to context menu with registry script
To start your taskbar, click on the button on your desktop. ..
Notepad is a text editor that you can use to write andedit text.
Right-click the Notepad app in the search results and select Execute as administrator.
Registry Script Code
- Open the Registry Editor and navigate to the following key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
- Type the following registry key into the editor and press Ctrl+C to copy it:
- Close the Registry Editor and restart your computer.
ctrl+v to paste the script into notepad
Select Export. In the Export dialog box, click on the PDF button. In the PDF Options dialog box, select the Use Adobe Acrobat Distiller option. Click on the Export button. ..
Save as to open the Save As dialog.
Save as All Files
The Shutdown Options.reg file contains instructions on how to shutdown your computer.
To save your desktop location, select the “Desktop” location and click the button.
If you’re using Windows 7 or 8, open the Start menu and type “cmd” and hit enter. If you’re using Windows 10, type “netstat -an” and hit enter. If you see the following message, your computer is in shutdown mode: Windows has detected that your computer is in shutdown mode and will not be able to continue operating. Please press any key to restart your computer.
Confirmation prompt: Yea
If you want to make changes to the registry, click OK in the Registry Editor dialog box. ..
Add shutdown and restart options with context menu
We click on the start button from the taskbar. ..
In Notepad, you can write your article’s main points.
When exiting, right-click and select Execute as administrator or in the menus that appear on the right under the application itself, click on the place where you placed the exact same thing. This is already to your liking.
Copy the text of the script “log by selecting its text with the cursor and pressing Ctrl + C.”
We click on the menu archive, and then select Save as to open the common file dialog.
Save As: MyFile.txt
Save as All Files to your computer.
Shutdown Options.reg is a file that contains instructions on how to shut down your computer.
We select the location where we want it to be saved on the desktop and click on the option To save.
We double click on the file Shutdown Options.reg that we just saved to the desktop and we are presented with a dialog box that looks like this: The dialog box asks us to choose how to shutdown our computer. We can either shutdown by pressing the power button or by using the Shutdown Options tool in Windows 7 or 8.1. We can also choose to shutdown automatically when our computer starts up. If we choose to shutdown by pressing the power button, then our computer will turn off and not allow us to continue working until we press the power button again. If we choose to shutdown automatically when our computer starts up, then our computer will turn off and allow us to continue working but only if we have already closed all of our programs and opened Windows 10’s Start menu.
Confirmation message: “Yea, I’m sure you’re right.”
Registry Editor: To accept a new registry key, click on the “tap” button and then select the key you want to add from the list.
Now we have new options to shut down and restart our desktop or laptop from the context menu. ..
We can access the classic context menu by pressing the hotkey Shift + F10 (or right-clicking on the desktop and selecting “show more options”). ..
We will see how we can select the options to turn off the computer or restart the computer from there.
Remove the keys added with the registry script to remove the new context menu options.
Now we start the Registry Editor, putting in the area where you can write in the Start menu and when it exits click on it.
We open the shell registry key at this location: HKEY_CLASSES_ROOTDesktopBackgroundShell\shell We open the shell registry key at this location: HKEY_CLASSES_ROOTDesktopBackgroundShell\shell\open We open the shell registry key at this location: HKEY_CLASSES_ROOTDesktopBackgroundShell\shell\open\command ..
Shut down computer keys inside the shell:
- Right-click on the Start button and select Shut down computer.
- Inside the Shut down computer dialog, select the shutdown key that you want to remove from your computer (e.g., Shutdown, Restart).
- Click Yup to confirm your selection and then click OK to shut down your computer.
Final Words
Shutting down a Windows computer is always a good practice, but you have more options for shutting down your computer. Even completely new restart and shutdown options can be added to the desktop context menu in Windows 11. ..