@echo off
taskkill /f /im explorer.exe
sleep 4
start explorer.exe
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\Restart Explorer]
@="Kill Explorer or whatever you want here to show in context menu"
"Icon"="An:\\optional\\path to add\\an.ico"
"Position"="Top"
[HKEY_CLASSES_ROOT\Directory\Background\shell\Restart Explorer\command]
@="The:\\path\\to your\\KILL EXPLORER OR WHATEVER.BAT"