Created
January 13, 2025 21:22
-
-
Save OneNiNE87/f84afd0f3aacea03a25c2dc5d4cc76c4 to your computer and use it in GitHub Desktop.
A not so basic 2x script to reset the icon cache in Window10/11 πππβ’οΈ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM reseticoncache.bat | |
REM A basic script to reset the icon cache in Windows 10/11 | |
taskkill /im explorer.exe /f | |
cd /d %userprofile%\appdata\local | |
attrib -h -r -s iconcache.db | |
attrib -h -r -s iconcache* | |
del iconcache.db /q | |
del iconcache* | |
start %windir%\explorer.exe | |
echo. | |
echo Select an option: | |
echo 1. Restart | |
echo 2. Shut down | |
echo 3. Exit | |
set /p choice="Enter your choice (1, 2, or 3): " | |
if "%choice%"=="1" shutdown -r -t 0 | |
if "%choice%"=="2" shutdown -s -t 0 | |
if "%choice%"=="3" exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment