Batch script to automatically reload explorer.exe

Sometimes users may run into an issue where they are not able to find any desktop content such as taskbar and icons. All these items can be successfully restored by running a custom script in batch mode to reload explorer.exe. For this the script first needs to be written in a Notepad and then saved as a .bat file. This file with .bat extension is the batch file that needs to be dragged to the 'Startup' from 'All Programs'. After this step, explorer.exe will get reloaded and should be back to normal. Now one should be able to see all the items on the desktop.

If your desktop contents are missing, such as your icons and taskbar, you will have to reload explorer.exe file on task manager. Here is a simple way to do this using a batch script.

To use it do the following:
  • go to start
  • click Run
  • type notepad
  • then copy the following:

---------copy below this line-----------------
@echo off   
color 0B   
echo JumpStart! v0.1 by Scotch   
echo Your desktop is being restored, Please wait. . .   
ping -n 5 > NUL 2>&1   
echo Killing process Explorer.exe. . .   
taskkill /f /im explorer.exe   
echo Success!   
echo Your desktop is now loading. . .   
ping -n 5 > NUL 2>&1   
ping -n 5 > NUL 2>&1   
start explorer.exe   

---------copy above this line---------------------
  • Paste into your blank notepad document. Then in the notepad window click file>save as and call it jumpstart.bat
  • Save it somewhere like My Documents or wherever you want. Then open up a window and find where you saved the jumpstart.bat file you just saved, then click and drag that file onto the start menu, then hover over "All Programs" until it pops up, then keep dragging the file into "Startup" and release it there. Now when you start your computer you'll see your wallpaper come up, then this program will start and relaunch your Windows desktop. I've been using it on my computer with success. Sometimes it takes longer than others though.
Published by aakai1056. Latest update on March 15, 2012 at 04:41 PM by Celia Gatward.
This document, titled "Batch script to automatically reload explorer.exe," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (
Command to execute a command line
Script to Search and Remove All Hidden Folders