Add Restart Explorer Context Menu in Windows 10

Windows provides several secret ways to exit the Explorer shell. They can be useful when you make Registry changes that affect Explorer or for shell developers when testing shell extensions. To save your time, you can add a special "Restart Explorer" command to the Desktop context menu. This will allow you to restart the Explorer shell with one click.


Note: The method described in this article works in previous Windows versions too.

Restart Explorer Context Menu Banner

Before proceeding, I recommend you to read the following articles:

Add Restart Explorer Context Menu in Windows 10

Open Notepad and copy-paste the following text into a new document.

Windows Registry Editor Version 5.00

"MUIVerb"="Restart Explorer"


"MUIVerb"="Restart Explorer"


"MUIVerb"="Restart Explorer with pause"


Restart Explorer Tweak Contents

In Notepad, press Ctrl + S or execute the File - Save item in the menu. This will open the Save dialog.

Restart Explorer Save Tweak

There, type or copy-paste the following name "add restart explorer.reg" including quotes. Double quotes are important to ensure that the file will get the "*.reg" extension and not *.reg.txt. You can save the file to any desired location, for example, you can put it in your Desktop folder. See the screenshot above.

Now, double-click the file "add restart explorer.reg" that you created. Confirm the UAC prompt and click Yes to merge it into the Registry.

Restart Explorer Import Tweak

A new submenu will appear in the Desktop context menu instantly. See the following screenshots:

Restart Explorer Context Menu

The first command will terminate all "explorer.exe" processes and start a new one instantly.

The second context menu entry will prompt you to press any key to start explorer.exe.

Restart Explorer Context Menu In Action

To save your time, I made ready-to-use Registry files. You can download them here:

Download Registry Files

The undo file is included, so you can avoid manual Registry editing completely.

That's it.

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!


Author: Sergey Tkachenko

Sergey Tkachenko is a software developer who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

10 thoughts on “Add Restart Explorer Context Menu in Windows 10”

  1. These command lines simply put Restart Explorer in the right-click menu without the submenus.
    Reg.exe add “HKLM\TK_HKLM_SOFTWARE\Classes\DesktopBackground\Shell\Restart Explorer” /v “icon” /t REG_SZ /d “explorer.exe” /f >nul
    Reg.exe add “HKLM\TK_HKLM_SOFTWARE\Classes\DesktopBackground\Shell\Restart Explorer” /v “Position” /t REG_SZ /d “Middle” /f >nul
    Reg.exe add “HKLM\TK_HKLM_SOFTWARE\Classes\DesktopBackground\Shell\Restart Explorer\command” /ve /t REG_EXPAND_SZ /d “cmd.exe /c taskkill /f >nul /im explorer.exe & start explorer.exe” /f >nul

    1. I copied this from my mounted install.wim file. Please replace TK_HKLM_SOFTWARE with SOFTWARE. Sorry.

  2. Lately I’m often forced to restart Explorer via Task Manager at boot because it’s in “not responding” status during system startup. Can’t figure out why and I wouldn’t exclude one of the anti-W10 privacy settings as the cause.

    An Explorer restart fixes it but if Explorer is not responding, then the context menu solution here will probably not work either… I think. Thanks for the tip, anyway.

    1. The taskbar context menu is not customizable. But you can shift+right-click to see the hidden “exit explorer” item.

Leave a Reply

Your email address will not be published.

Using Telegram? Subscribe to the blog channel!
Hello. Add your message here.