Some friends want to add a one-click shutdown in the right-click menu when using a Win11 computer to perform a quick shutdown operation, but they don’t know how to set up a right-click one-click shutdown in Win11. The following editor will give you a detailed introduction to Win11 Set up the right-click one-click shutdown method. If you need it, come and take a look with the editor to learn more.
#1. Right-click Start in the lower taskbar and select "Run" in the upper option list.
2. Enter "regedit" in the pop-up dialog box and press Enter to open.
3. After entering the registry editor, click "HKEY_CLASSES_ROOTDesktopBackgroundShell" on the left.
4. Then right-click "shell" and select "New" an "item" in the option list.
5. Name it "One-key shutdown".
6. Then right-click the "One-click shutdown" item, select "New" an "item", and name it " command".
7. Then click the "command" item on the left, double-click "Default" on the right, in the window that opens , change "Value data" to "Shutdown -s -f -t 00", and finally click OK.
Shutdown Shutdown -s -f -t 00
Log out Shutdown -l
Restart Shutdown -r -f -t 00
Lock screen Rundll32 User32 .dll,LockWorkStATIon
8. In this way, we can find the one-click shutdown item in the right-click menu bar.
The above is the detailed content of How to configure Win11 to right-click to quickly shut down the computer. For more information, please follow other related articles on the PHP Chinese website!