Windows 11: How to add restart explorer in context menu

Whenever File Explorer crashes or becomes unresponsive to your commands, there is only one way to fix it – by restarting the explorer process from the Task Manager. If you are a regular user of Windows, you know much hassle is to restart the explorer process when it becomes unresponsive as only the keyboard shortcuts works. But, what if there is another way where you can add the ‘restart explorer.exe’ process to the context menu.

You can just right-click on any empty space in the File Explorer and further click on “restart explorer.exe” to restart it.

How to add ‘restart explorer.exe’ to the right-click context menu in Windows 11

The process of adding the ‘restart explorer.exe’ in the right-click context menu involves the usage of the registry editor. But, that process is bothersome and tedious. So, you will create a registry script to add the particular shortcut in the context menu and then run it to modify the registry in the process.

Step 1 – Create a new registry script

You can create a new registry script on your own.



In the following process, you are going to edit the registry on your computer. This may cause some issues. So, we suggest you create a backup of the registry keys if you haven’t created one yet.

1. At first, tap the Windows key and the R key at the same time.

2. Once the Run terminal appears, type “regedit” and click on “OK”.

Regedit In Run


3. Once you have opened the Registry Editor, you will need to click on the “File” and then click on “Export“.

4. Save the backup in a secure place.


Export Registry


After taking the backup, close the Registry Editor window.



1. At first, open the Notepad on your computer.

2. After that, copy-paste these lines in the Notepad page.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Restart Explorer]

[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Restart Explorer\shellmenu]
"MUIVerb"="Restart Explorer Now"

[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Restart Explorer\shellmenu\command]

[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Restart Explorer\shellmenu]
"MUIVerb"="Restart Explorer with Pause"

[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Restart Explorer\shellmenu\command]


3. Then, click on “File” from the menu bar.

4. Next, click on “Save as” to save the notepad file.


New Save As Min


5. Go to any location (like – Desktop) of your choice to save this script. Click on ‘Save as type:’ and set it to “All Files“.

6. Next, name the file as “restart explorer.reg“.

7. Finally, click on “Save” to save the registry script on your system.


Restart Explorer Exe Reg Min


8. After that, go to the location where you have just saved this registry script.

9. Now, right-click on the “restart explorer.reg” script and click on “Show more options“.


Show More Options Min


10. Then, click on “Merge” to merge the script with the registry on your system.


Merge Min


11. You will receive a warning message on your screen.

12. Just, click on “Yes” to confirm the merger.


Tes Min


13. Once you have done all these, you will see a message confirming all the registry keys were added. Click on “OK“.


Ok Min


Then, restart your computer. After restarting your system, open the File Explorer and right-click on the open space and click on “Show more options“. You will now have the “Restart Explorer Now” and “Restart Explorer with Pause“.


How to remove the ‘Restart Explorer’ option from the context menu

But, what if you want to remove this “Restart Explorer Now” and “Restart Explorer with Pause” from the File Explorer? There is a very easy process you can do this.

1. Click on the search icon and type “regedit“.

2. Then, click on the “Registry Editor” to open up the Registry Editor.


Regedit Search Windows 11 New Min


3. When the Registry Edit0r opens up, go to this header location –

Computer\HKEY_CLASSES_ROOT\DesktopBackground\Shell\Restart Explorer


4. Once you arrive at the location, right-click on the “Restart Explorer” and click on “Delete“.


Restart Explorer Delete Min


5. Then, tap on the “Yes” button when you receive a prompt for further confirmation to remove it.


Yes Min


This will remove the key from your system.

Then, restart your computer once. After restarting the system, you won’t see the ‘Restart Explorer Now’ or ‘Restart Explorer with Pause’ in the right-click context menu.