This time, we will show you the way to get an option to restart Explorer.exe from right click context menu in Windows 7 .
Now, how to get it.
Two parts : part one is creation of a batch file and part two is a Registry key.
---
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.

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”
Many thanks for the tips. It will be very helpful for the users. I will add it to the post.