w10install/tools/killiconcache.cmd

13 lines
348 B
Batchfile
Raw Permalink Normal View History

2021-01-10 15:49:37 +01:00
@echo off
2024-02-12 14:35:45 +01:00
taskkill /FI "USERNAME eq %USERNAME%" /f /IM explorer.exe
2021-01-10 15:49:37 +01:00
del /f /s /q %LocalappData%\Microsoft\Windows\Explorer\*.*
del /f /s /q %LocalappData%\Iconcache.db
2024-02-12 14:35:45 +01:00
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