• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » Add restart explorer option in right click context menu in Windows 7

By Abhishek Ghosh May 12, 2011 3:41 pm Updated on May 12, 2011

Add restart explorer option in right click context menu in Windows 7

Advertisement

This time, we will show you the way to get an option to restart Explorer.exe from right click context menu in Windows 7 .

restart explorer option in right click context menu
Now, how to get it.

Two parts : part one is creation of a batch file and part two is a Registry key.

Advertisement

---

 

The batch file to restart Windows Explorer.exe

 

Nothing, but to call default Windows action do activate it in the folder where it is. Open Notepad and write the code:

 

@ECHO OFF
echo.
echo.
echo ==========================================
echo KICK STARTER FOR WINDOWS EXPLORER
echo.
echo CREATED BY TheCustomizeWindows.com
echo ==========================================
echo.
echo.
echo Kicking Explorer . . .
echo.
TASKKILL /F /IM explorer.exe
echo.
echo.
echo Kicking again to start the Explorer . . .
start explorer.exe
echo.
echo Done! Kicked the Explorer rightly to work back
echo.
echo.
PAUSE

 

We have told many times, again repeating it: save the file as Restart_Explorer.bat and do not forget to change the file type from text to All files from drop down menu in Notepad before saving it.

Restart_Explorer.bat is just a name; we could have name it Water_Bottle.bat ; but in that case we have to the rename in next step.

 

Place it in C partition, again you can place it anywhere, but have to mention in Registry file.

 

Explanation:

 

There is no rocket science in the above thing. You can change the red texts as you want.

For God sake, do not change the format and the blue texts. Nothing will work then.

Important: Double click to check whether it is working.

 

 

The Registry file:

 

This will add the functionality to get working from right click context menu.

 

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\Restart Explorer]
“HasLUAShield”=””

[HKEY_CLASSES_ROOT\Directory\Background\shell\Restart Explorer\command]
@=”C:\\\Restart_Explorer.bat“

 

Explanation:

 

The green texts depend on your wish. As we said ago; we could have name it Water_Bottle.bat; then it will be that.

The red text is what you want to see in right click context menu. We could have name it Kill Me.reg

The pink text is the location of the vbs file; you can change it as well. Frankly, we have not tested in other complicated  ways, we have used conventional location.

 

Save the file as Restart Explorer.reg and do not forget to change the file type from text to All files from drop down menu in Notepad before saving it. Name does not matter here at all. You can save as Peanut.reg and it will work.

 

Now, double click the reg file and accept the security warnings and you will see the option in right click context menu when clicked on a folder or any empty place inside folder or Windows 7 desktop.

 

Removal:

 

Add a minus sign before the H starts after the third bracket; like [-HKEY_CLASSES…. to all where there is HKEY and save it (with some good name) as reg file and run it. It will break the association; so the option will disappear from right click context menu.

Obviously, you might delete the bat file manually too.

 

Downloads:

 

As usually all the required files are here for your download.

The rar file is password protected, type thecustomizewindows.com as the password.

 

SignatureTagged With add restart option in windows 7 , restart explorer right click , restart windows 10 explorer in right click contextmenu
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Add restart explorer option in right click context menu in Windows 7

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • Windows 7 Right Click Menu Tips,Tricks and Tutorials : Index

    Windows 7 Right Click Menu Tips,Tricks and Tutorials those has been published within The Customize Windows till date is listed here along with description.

  • Glossary of dangerous dll files of Windows operating system

    We have gathered information about some well known dangerous dll files of Windows 7 and other operating system. It will work as reference to delete them easily if someone faces such dll file.

  • Cascading list of websites in right click context menu in Windows 7

    After reading this tutorial, you will be able to add a right click custom named menu and cascading list of submenu of websites of your choice with icons of your choice in Windows 7.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Comments

  1. Avataremdk says

    July 19, 2011 at 11:33 am

    no need for the batch file:
    this reg file will do it:

    [HKEY_CLASSES_ROOTDirectoryBackgroundshellRestart Explorer]
    “HasLUAShield”=””

    [HKEY_CLASSES_ROOTDirectoryBackgroundshellRestart Explorercommand]
    @=”cmd.exe /C TASKKILL /F /IM explorer.exe&&start explorer.exe”

  2. AbhishekAbhishek says

    July 19, 2011 at 2:12 pm

    Many thanks for the tips. It will be very helpful for the users. I will add it to the post.

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • What is Hardware Security Module (HSM)September 30, 2023
  • Transducer Technologies of HeadphonesSeptember 28, 2023
  • What is Analog-to-Digital Converter (ADC)September 27, 2023
  • Comparison of Tube Amplifiers and SemiconductorsSeptember 26, 2023
  • What is a Digital-to-Analog Converter (DAC)September 25, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy