This commit is contained in:
Michael H.G. Schmidt 2024-02-12 14:35:45 +01:00
parent 8e787ac57c
commit eff992eb7e

View File

@ -1,6 +1,12 @@
@echo off
taskkill /f /IM explorer.exe
taskkill /FI "USERNAME eq %USERNAME%" /f /IM explorer.exe
del /f /s /q %LocalappData%\Microsoft\Windows\Explorer\*.*
del /f /s /q %LocalappData%\Iconcache.db
shutdown /r /t 0 /f
echo sleeping 3 seconds ...
ping 127.0.0.1 -n 3 > NUL 2>&1
echo restarting Windows explorer ...
start explorer.exe
echo Refreshing the desktop (W10 style) ...
ie4uinit.exe -show