php editor Banana will introduce to you how to set the shortcut key Shift in Win11 system and right-click to enter safe mode. In Win11 system, entering safe mode can help users solve system problems or perform maintenance. By setting the Shift right-click as the shortcut key to enter safe mode, you can enter safe mode more quickly and improve the user's operating efficiency. Next, let’s learn how to set up this convenient operation method!
How to set shift in Win11 by right-clicking to enter safe mode
1. Click [right-click] on a blank space on the desktop, and select [New - Text Document] from the menu item that opens.
2. Create a new text document window and enter the following code:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\ SafeMode]
"icon"="bootux.dll,-1032"
"MUIVerb"="Safe Mode"
"Position"=-
“SubCommands”=“”
“Extended”=dword:00000000
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\SafeMode\shell\001-NormalMode]
@=“ Restart in Normal Mode”
“HasLUAShield”=“”
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\SafeMode\shell\001-NormalMode\command]
@=“powershell -windowstyle hidden -command \"Start-Process cmd -ArgumentList '/s, /c, bcdedit /deletevalue {current} safeboot & bcdedit /deletevalue {current} safebootalternateshell & shutdown -r -t 00 -f' -Verb runAs\" ”
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\SafeMode\shell\002-SafeMode]
@=“Restart in Safe Mode”
“HasLUAShield”=""
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\SafeMode\shell\002-SafeMode\command]
@=“powershell -windowstyle hidden -command \”Start-Process cmd -ArgumentList '/s,/c , bcdedit /set {current} safeboot minimal & bcdedit /deletevalue {current} safebootalternateshell & shutdown -r -t 00 -f' -Verb runAs\""
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\SafeMode\shell\ 003-SafeModeNetworking]
@=“Restart in Safe Mode with Networking”
“HasLUAShield”=“”
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\SafeMode\shell\003 -SafeModeNetworking\command]
@=“powershell -windowstyle hidden -command \”Start-Process cmd -ArgumentList '/s,/c,bcdedit /set {current} safeboot network & bcdedit /deletevalue {current} safebootalternateshell & shutdown -r -t 00 -f' -Verb runAs\""
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\SafeMode\shell\004-SafeModeCommandPrompt]
@=“Restart in Safe Mode with Command Prompt”
“HasLUAShield”="”
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\SafeMode\shell\004-SafeModeCommandPrompt\command]
@=“powershell -windowstyle hidden -command \"Start-Process cmd -ArgumentList '/s,/c,bcdedit /set {current} safeboot minimal & bcdedit /set {current} safebootalternateshell yes & shutdown -r -t 00 -f' -Verb runAs \"".
3. Then click [File] in the upper left corner, and in the open drop-down item, select [Save As], or press the [Ctrl Shift S] shortcut on the keyboard. Keys work too.
4. In the Save As window, pay attention to three places:
1) The path to save the file as.
2) Fill in the file name with a name ending with [.reg], and select [All Files] as the save type.
3) Encoding selection [ANSI].
Finally click [Save].
#5. Double-click the file ending with .reg. In the opened User Account Control window, do you want to allow this application to make changes to your device? Click [Yes].
#6. In the registry editor warning pop-up window, click [Yes].
#7. At this time, the included items and values have been successfully added to the registry, click [OK].
8. [Right-click] click on a blank space on the taskbar, and select [Task Manager] from the menu item that opens.
9. Select and right-click [Windows Explorer], and in the menu item that opens, select [Restart].
After adding, hold down shift and right-click on the desktop to see four options.
"Normal startup", "Safe mode startup", "Safe mode with network", "Safe mode with command line".
But note:
1. Anti-virus software authorization may be required to enter safe mode.
2. If you want to exit safe mode, you cannot restart directly. You have to right-click again and change to "normal".
The above is the detailed content of How to set shift right-click to enter safe mode in Win11?. For more information, please follow other related articles on the PHP Chinese website!