New
#1
Restart Explorer.exe the easy way
Hi all, i would like to share a trick / hack. This hack will be quite handy if you're like me, who likes to customize windows a lot.
1st, open up Notepad. After that, type this in.
Then, save it as "all files". Name it to "Restart Explorer.bat". You can save it anywhere you like in example (desktop / folder).Code:@echo off taskkill /f /im explorer.exe start explorer.exe
Now, here's how to add this as a shortcut to the context menu.
Open up regedit. Navigate to "HKEY_CLASSES_ROOT/Directory/Background/shell"
As you can see the screenshot above, i've already added the "Restart Explorer" Key shortcut to the context menu.
Here's the instructions on how to.
1st, right click on "shell". Navigate to "New" then "Key". Name it to "Restart Explorer".
Once the Key is created, right click on "Restart Explorer". Navigate to "New" then "Key". Name it to "command".
Now find the "Restart Explorer.bat" you've made earlier. Hold down the SHIFT key, then right click on the file. Navigate & click on "Copy as path".
Go back to Registry editor, select the "command" key. In the right hand panel, double click on the (Default) string value.
In the Value data field, paste the path of the "Restart Explorer.bat file you've copied earlier. Click OK.
Close registry editor. And right click on your desktop. You should have the shortcut added to the context menu by now. Shown in the screenshot below.
Hope this helps.
D3ftOn3Z.