Windows 10: Deleted my IconCache.db and now I don't have any icons.

Discus and support Deleted my IconCache.db and now I don't have any icons. in Windows 10 Software and Apps to solve the problem; I had a problem where I set the icon of my folders to a default invisible icon. Soon it became a black box instead of being invisible. While I was... Discussion in 'Windows 10 Software and Apps' started by Baendi, Jan 22, 2025.

  1. Baendi Win User

    Deleted my IconCache.db and now I don't have any icons.


    I had a problem where I set the icon of my folders to a default invisible icon. Soon it became a black box instead of being invisible. While I was trying to solve the issue I have found a solution that suggested to delete IconCache.db . So I did with these lines in cmd, and when I restarted the explorer and now my icons have vanished. After 1 hour of searching I haven't found a solution how to restore my icons or this .db file.here is the link to the post where I got the commands:https://answers.microsoft.com/en-us/windows/forum/all/windows-desktop-icons-black-box/6f4373b4-dd5f-4d56-b8a2-2ac3d

    :)
     
    Baendi, Jan 22, 2025
    #1

  2. Deleted icons stay on desktop (not in desktop folder)

    Resetting Icon Cache on Windows 10

    Right-click on Start and select Command Prompt (Admin).
    Type cd %homepath%\AppData\Local\Microsoft\Windows\Explorer and press Enter.

    To verify the location of the icon cache database files, enter the dir iconcache* command and press Enter.

    After executing the command, you should see a list of the following database files:
    iconcache_1280.db
    iconcache_16.db
    iconcache_1920.db
    iconcache_256.db
    iconcache_2560.db
    iconcache_32.db
    iconcache_48.db
    iconcache_768.db
    iconcache_96.db
    iconcache_custom_stream.db
    iconcache_exif.db
    iconcache_idx.dbiconcache_sr.db
    iconcache_wide.db
    iconcache_wide_alternate.db

    Now you have to stop File Explorer. For that, enter the taskkill /f /im explorer.exe command and hit Enter to execute it. File Explorer uses the icon cache database, so without disabling it, you won’t be able to remove the icon cache files.

    Once File Explorer is disabled, type the del iconcache* command and press Enter to delete the icon cache files.

    If you receive an alert that the access is denied, double-check if you are running Command Prompt with administrative privileges.To double-check that icon cache files have successfully been removed, enter the del iconcache* command one more time and hit Enter.

    If you still see a list of some icon cache files, close the apps that are running and using the mentioned icons and then repeat the above-listed steps.

    Finally, enter the explorer.exe command and press Enter to enable File Explorer.

    Close Command Prompt.

    Or you could download Thumbnail & Icon Cache Rebuilder
    Thumbnail and Icon Cache Rebuilder for Windows 10

    I forget the original source where I found this info that resolved my same issue.

    Hope this helps.
     
    IgnorantOne, Jan 22, 2025
    #2
  3. Aliznk Win User
    IconCache refuse to be deleted

    Hi,

    The icons on my laptop have become black, so i follow differents instructions to delete IconCache from User AppData, local. But the icons are still the same. after deleting IconCache each time i check i see that it is there. So the problem of icon is not
    resolved. Can you please help?
     
    Aliznk, Jan 22, 2025
    #3
  4. Rivgil Win User

    Deleted my IconCache.db and now I don't have any icons.

    Paper covering my icons

    Hi, this is . An independent advisor. Sorry if this may caused any trouble. I'll be more than willing to help. It seems that the ican cache has been corrupted. We may need to rebuild it. Please follow the steps below.

    To rebuild the icon cache database on Windows 10, close any application that you may be running, and then do the following:

    Open Start and do a search for Command Prompt.

    Right-click the result and select Run as administrator.

    Type the following command to navigate to the icon cache database location and press Enter:

    cd %homepath%\AppData\Local\Microsoft\Windows\Explorer

    Type the following command to verify the icon cache database files are at the location and press Enter:

    dir iconcache*

    The output of the dir command should list these database files:

    iconcache_1280.db

    iconcache_16.db

    iconcache_1920.db

    iconcache_256.db

    iconcache_2560.db

    iconcache_32.db

    iconcache_48.db

    iconcache_768.db

    iconcache_96.db

    iconcache_custom_stream.db

    iconcache_exif.db

    iconcache_idx.db

    iconcache_sr.db

    iconcache_wide.db

    iconcache_wide_alternate.db

    Type the following command to stop File Explorer and press Enter:

    taskkill /f /im explorer.exe

    Important: Once you terminate File Explorer, your desktop background and taskbar will disappear, leaving a black screen — but it's OK, it's only temporarily. You need to close File Explorer to be able to delete the icon cache files. Otherwise, you won't be
    able to do it.

    Type the following command to delete the iconcache files and press Enter:

    del iconcache*

    Quick Tip: If you get access denied trying to remove the files, you're probably not running Command Prompt with as an administrator. Repeat these steps, but making sure Command Prompt starts with administrative privileges.

    Type the following command to verify that you successfully deleted the icon cache files and press Enter:

    dir iconcache*

    If you still see some iconcache files, then it's likely that some apps are still running, which will prevent you from deleting the database files. Make sure to close them all, and repeat the steps.

    Type the following command to start File Explorer and press Enter:

    explorer.exe

    Once you completed the steps, Windows 10 will automatically recreate the database files with fresh new icons.

    Let me know how it goes.
     
    Rivgil, Jan 22, 2025
    #4
Thema:

Deleted my IconCache.db and now I don't have any icons.

Loading...
  1. Deleted my IconCache.db and now I don't have any icons. - Similar Threads - Deleted IconCache don't

  2. Deleted my IconCache.db and now I don't have any icons.

    in Windows 10 Network and Sharing
    Deleted my IconCache.db and now I don't have any icons.: I had a problem where I set the icon of my folders to a default invisible icon. Soon it became a black box instead of being invisible. While I was trying to solve the issue I have found a solution that suggested to delete IconCache.db . So I did with these lines in cmd, and...
  3. Deleted my IconCache.db and now I don't have any icons.

    in Windows 10 Gaming
    Deleted my IconCache.db and now I don't have any icons.: I had a problem where I set the icon of my folders to a default invisible icon. Soon it became a black box instead of being invisible. While I was trying to solve the issue I have found a solution that suggested to delete IconCache.db . So I did with these lines in cmd, and...
  4. Why my microphone devicec don't have DB on the level?

    in Windows 10 Gaming
    Why my microphone devicec don't have DB on the level?: Why my microphone devicec don't have DB on the level i want to boost my microphone https://answers.microsoft.com/en-us/windows/forum/all/why-my-microphone-devicec-dont-have-db-on-the/8a63a21e-5465-4320-b73f-7ea9f58def48
  5. Why my microphone devicec don't have DB on the level?

    in Windows 10 Software and Apps
    Why my microphone devicec don't have DB on the level?: Why my microphone devicec don't have DB on the level i want to boost my microphone https://answers.microsoft.com/en-us/windows/forum/all/why-my-microphone-devicec-dont-have-db-on-the/8a63a21e-5465-4320-b73f-7ea9f58def48
  6. I don't have any sound.

    in Windows 10 Network and Sharing
    I don't have any sound.: my troubleshooter said to restart the audio service and I tried to go to the system app and it said file system error -2144926975. https://answers.microsoft.com/en-us/windows/forum/all/i-dont-have-any-sound/f1c10566-365f-43fa-bd15-11e447c420c4
  7. I don't have any sound.

    in Windows 10 Gaming
    I don't have any sound.: my troubleshooter said to restart the audio service and I tried to go to the system app and it said file system error -2144926975. https://answers.microsoft.com/en-us/windows/forum/all/i-dont-have-any-sound/f1c10566-365f-43fa-bd15-11e447c420c4
  8. I don't have any sound.

    in Windows 10 Software and Apps
    I don't have any sound.: my troubleshooter said to restart the audio service and I tried to go to the system app and it said file system error -2144926975. https://answers.microsoft.com/en-us/windows/forum/all/i-dont-have-any-sound/f1c10566-365f-43fa-bd15-11e447c420c4
  9. Does deleting the IconCache after it causes Problems?

    in Windows 10 Network and Sharing
    Does deleting the IconCache after it causes Problems?: Hello!Does deleting the IconCache after it causes Problems?Because i have X mark behind some of my files so i gotta delete that file..will it causes problems after deleting it?...
  10. deleting iconcache

    in Windows 10 Network and Sharing
    deleting iconcache: I have tried resetting the iconcache by following several stept I found in your troubleshoot pages. Unfortunately when I try to delete iconcache in commandprompt I can't delete it. despite ending explorer.exe I get the message that iconcache is stil active and that i can't...