@echo off echo Killing explorer ... taskkill /f /im explorer.exe /FI "USERNAME eq %USERNAME%" 2>nul echo sleeping 2 seconds ... ping 127.0.0.1 -n 2 >nul 2>&1 echo starting ... start explorer.exe