How to Create a SAFE MODE Shortcut in the Desktop Context Menu of Windows 11 – Restart Windows in Safe Mode

bardimin pic

Written by Bardimin

On March 15, 2023
Home » Blogs » Windows » How to Create a SAFE MODE Shortcut in the Desktop Context Menu of Windows 11 – Restart Windows in Safe Mode

You can add a quick option to launch Safe Mode in , which is the best way to diagnose the problem.

Safe Mode Windows is an operating mode on the Windows operating system that allows users to start the system with a basic configuration and load only the drivers and services that are essential for running the operating system. This mode assists users in resolving issues related to the operating system, such as performance issues, driver issues, and software issues.

In Windows Safe Mode, the system will load only important drivers and services and disable all third-party applications and services that may cause the problem. It allows users to fix problems and eliminate unwanted or corrupted software more easily. In addition, Windows Safe Mode also allows users to perform system recovery or data recovery if needed.

safe mode desktop context menu

To enter Windows Safe Mode, the user needs to press a special button at the time of booting or logging in. Each version of Windows has a slightly different way to enter Safe Mode, so users should check the documentation for their operating system.

Safe Mode option differences

Safe Mode options may differ depending on the operating system and configuration used. The following are some versions of Safe Mode on the Windows operating system:

  1. Safe Mode – A basic mode of operation that contains only drivers and services that are essential for running the operating system.
  2. Safe Mode with Networking – The same mode of operation as Safe Mode, but also contains the drivers and services necessary to access the and the internet.
  3. Safe Mode with Command Prompt – The same mode of operation as Safe Mode, but also loads a command prompt so that the user can repair the system with specific commands.
  4. Safe Mode with Boot Logging – The same mode of operation as Safe Mode, but also records all boot activity in log files, so that users can analyze system boot problems.
  5. Safe Mode with Directory Services Repair – A special operation mode that is only available on the operating system, and contains the specific services necessary to repair the directory services.
  6. Safe Mode with – The same mode of operation as Safe Mode, but also allows the user to restore the system to a previous restore point by using the tool.

How to Enter Safe Mode in Windows 11

  1. Press the keyboard keys (WIN + I) to open .
  2. Then, select “System > Recovery“.
  3. On the right-hand panel, click the “Restart” button on the “Advanced startup”.
  4. After the PC restarts, on the “Choose an option” screen, select “Troubleshoot > Advanced options > Startup > Restart“.
  5. Then the PC will restart again.
  6. After restarting, you will see a list of options. Select 4 or press F4 to start your PC in Safe Mode. Or if you need to use the internet, select 5 or press F5 for Safe Mode with Networking.

How to Create a Safe Mode Shortcut in the Windows 11 Desktop Context Menu

  1. Copy the following code into .
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\""
  1. Save it with the name “Add_SafeMode_ContextMenu.reg“.
  2. Double-click the file to add it to the registry.
  3. In the dialog box, click the “Yes” bundle to confirm.
add to registry
  1. After you add, press the keys (WIN + D) to go to the Desktop.
  2. On the desktop, right-click there is an empty area.
  3. Select the “Show more options” option or use the keyboard shortcut (SHIFT + F10).
  4. You will notice there is a new option “Safe Mode” with the option “Restart in Normal Mode, Restart in Safe Mode, Restart in Safe Mode with Networking, and Restart in Safe Mode with Command Prompt“.

How to Remove Safe Mode Shortcut in Windows 11 Desktop Context Menu

  1. Copy the following code into Notepad and save it with the name “Remove_SafeMode_ContextMenu.reg“.
Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\DesktopBackground\Shell\SafeMode]
  1. Double-click the file to remove Safe Mode from the registry.
  2. In the dialog box, click the “Yes” button to confirm.

Latest Articles

Portable BloatyNosy 0.80 – Debloat and Customize Windows 11

Portable BloatyNosy 0.80 – Debloat and Customize Windows 11

BloatyNosy is a free app that lets you remove the built-in junk apps in Windows that improve your Windows performance. The application is available in portable and installer versions. If you are looking for a free Debloat tool, then you might need to try BloatyNosy...

The sequence of Windows boot processes from zero to ready

The sequence of Windows boot processes from zero to ready

Have you ever wondered how exactly the Windows boot process happens? What processes happen in the background when you press the power button until Windows is ready for you? If yes, then you are in the right place. In this article, Bardimin will explain how all these...

Redirect and Block URLs with HOSTS File on Windows

Redirect and Block URLs with HOSTS File on Windows

Redirect and Block URLs you can easily on Windows. Just by adding the IP of a website, you can redirect or block it. Of course, this is very useful to limit the access of your employees or children from accessing websites that you do not allow. Your Windows PC has...

How to Create Fake Files of Any Size in Windows

How to Create Fake Files of Any Size in Windows

Do you need a file with a size of 10 MB, 100 MB, 1 GB or 1 TB to test? Follow the following article to create one instantly. You don't need to download files or waste time searching for large files, you can create them easily. Sometimes you need large files quickly to...

10 Causes of Windows PC crashes you should know

10 Causes of Windows PC crashes you should know

A fatal error will cause the system to become unstable or busy. Your Windows PC will often display the Blue Screen of Death (BSOD). Do you experience it often? A computer that often crashes is quite annoying for all users, especially when you are doing important work...