Many times we need to log off or restart Windows to apply the changes made by a registry script or software. Sometimes we can avoid the log off or restart by doing a simple "End Task" of Windows Explorer and restart Explorer using Task Manager.
- Hidden Trick to Exit Windows Explorer Using Shutdown Dialog Box in Windows XP
- Hidden Trick to Exit Windows Explorer Using Start Menu in Windows Vista and 7
Today in this tutorial, we are going to share a simple Batch script which can end task of Explorer and then restart it automatically.
Simply copy paste following code in NOTEPAD and save the file with name "Restart_Explorer.bat" (including quotes):
@ECHO OFFThat's it. You can place this script at any location like Desktop, Quick Launch toolbar and whenever you need to restart Explorer, simply run the script.
echo.
echo.
echo ==========================================
echo Simple Script to Restart Windows Explorer
echo.
echo Created by "Vishal Gupta" for AskVG.com
echo ==========================================
echo.
echo.
echo STEP 1: Closing Explorer . . .
echo.
TASKKILL /F /IM explorer.exe
echo.
echo.
echo STEP 2: Starting Explorer . . .
start explorer.exe
echo.
echo SUCCESS: Explorer is running.
echo.
echo.
PAUSE
PS: If you don't want to create the script manually or face any problem while creating the script, you can download a ready-made script using following link:
Download Link
0 komentar:
Posting Komentar