Breaking News
recent

Safe Mode Context Menu add or remove.reg

 






Safe Mode in Windows 11 or Windows 10 essentially starts the operating system in a basic state, using a limited set of files and drivers. If while in Safe Mode, you do not experience any issues, then it means that default settings and basic device drivers aren’t causing the issue in normal mode on your device. In this post, we will show you how to add or remove Safe Mode to Desktop context menu in Windows 11/10.You can add Safe Mode cascading desktop context menu with options to restart in Normal Mode, Safe Mode, Safe Mode with Networking, and Safe Mode with Command Prompt in Windows 11/10. PC users can enable F8 key & Boot to Safe Mode, and as well can directly reboot in Safe Mode in Windows 11/10.

Add or remove Safe Mode to Desktop Context Menu

You must be signed in as an administrator to add, remove, and use the Safe Mode context menu. And for Windows 11 users, you will need to click on Show more options to access this options.

Since this is a registry operation, it is recommended that you back up the registry or create a system restore point as necessary precautionary measures.

To add Safe Mode on Desktop context menu, do the following:

  • Press Windows key + R to invoke the Run dialog.
  • In the Run dialog box, type notepad and hit Enter to open Notepad.
  • Copy and paste the code below into the text editor.
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\DesktopBackground\Shell\SafeMode]
"icon"="bootux.dll,-1032"
"MUIVerb"="Safe Mode"
"Position"=-
"SubCommands"=""

[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\""
  • Now, click the File option from the menu and select Save As button.
  • Choose a location (preferably desktop) where you want to save the file.
  • Enter a name with .reg extension (eg; Add-SM-DesktopCM.reg).
  • Choose All Files from the Save as type drop-down list.
  • Double-click the saved .reg file to merge it.
  • If prompted, click on Run > Yes (UAC) > Yes > OK to approve the merge.
  • You can now delete the .reg file if you like.

To remove Safe Mode on Desktop context menu, do the following:

  • Open Notepad.
  • Copy and paste the code below into the text editor.
Windows Registry Editor Version 5.00







Safe Mode Context Menu Add.reg


Safe Mode Context Menu Remove.reg

No comments:

Theme images by follow777. Powered by Blogger.