Windows XP/Vista: Use a Batch File for Quickly Restarting explorer.exe
Explorer.exe is the user shell on your Windows system (taskbar, desktop, etc.) and periodically it requires a restart to resume proper functionality. Additionally, if you do a lot of tweaking to your system registry like I do, it’s much easier to restart explorer.exe to reload the registry instead of restarting the entire system. By creating a .bat file, you will have a quick 2 step solution that will restart explorer.exe and get you back to computing in just a few seconds.
1. Open Notepad.
2. Copy and paste the following into the new document:
taskkill /f /IM explorer.exe
3. Save your document with a descriptive name such as restart_explorer.bat. Make sure to save the file with the .bat extension and not .txt.
The next time you need to restart explorer.exe, simply run the newly created .bat file and close the command window that appears.
Follow the reactions below and share your own thoughts.