How To Guides Org

Batch Script To Quickly Restart Windows 7/8 Explorer Or Other Processes

When a program frequently hangs and there is absolutely no fix available you could use a batch script to restart the process e.g. explorer.exe

I’m using a lot of scripts on my PC and it can happen that I have to restart the explorer in order to make some of the work again. Debugging takes a lot of time, so a temporary solution could be a batch script to restart the explorer in Windows 7/8. Step

Here’s what it would look like. Put this in a text file and save it as a file with the extension .bat

taskkill /f /im explorer.exe
explorer.exe

You can replace explorer.exe with your own processes/tasks. As you can see only two lines are needed. You can then pin this batch to your taskbar and run it quickly whenever it is needed.

Download Batch Script To Restart Explorer.exe