Menu

Personalized icons disappear (Mount & Dismount) Win 11 25h2 latest update

zardoc
2026-06-17
2026-07-07
  • zardoc

    zardoc - 2026-06-17

    Hi,
    Since the latest or one before (not sure) Win updates, all my personalized icons disappeared. after mounting update.

    I re created my icons and again lost all of them. All icons are now back to default Win settings.

    Here is a snapshot of a re created icon and as you can see on the right of the icon the other one is missing but shows up in the settings.
    Is this a known issue ?
    Is there a fix ?

    Thanks.

     

    Last edit: zardoc 2026-06-17
  • zardoc

    zardoc - 2026-06-23

    Hi,

    So no one sees this problem ??

     
  • Mounir IDRASSI

    Mounir IDRASSI - 2026-06-23

    This looks related to a recent Windows 11 change rather than VeraCrypt. Starting with the Windows security updates released on June 9, 2026, Microsoft changed how Explorer processes desktop.ini files. As a result, custom folder icons may stop appearing when Windows considers the desktop.ini source untrusted, although the files and folders themselves are not affected.

    Could you please check one affected folder in PowerShell:

    Get-Item -LiteralPath "X:\Complex St-Hubert\desktop.ini" -Force -Stream *

    If you see Zone.Identifier, try:

    Unblock-File -LiteralPath "X:\Complex St-Hubert\desktop.ini"

    For all folders on the mounted volume:

    Get-ChildItem "X:\" -Recurse -Force -Filter desktop.ini | Unblock-File

    Please do this only for content you trust. Afterward, close and reopen Explorer or dismount/remount the volume.

    If the issue remains, please provide your exact Windows build and let us know whether the VeraCrypt volume is mounted using "Mount volume as removable medium". VeraCrypt can expose mounted volumes either as fixed or removable media, and Windows Explorer may handle shell customizations and caching differently depending on that classification.

     
  • zardoc

    zardoc - 2026-06-23

    Hi,

    Thanks for getting back to me.

    Here is the information I have
    I have 2 drives X and Z. I can see the icons on the explorer tree but not in the actual folder.

    PSPath : Microsoft.PowerShell.Core\FileSystem::X:\Complex St-Hubert\desktop.ini::$DATA
    PSParentPath : Microsoft.PowerShell.Core\FileSystem::X:\Complex St-Hubert
    PSChildName : desktop.ini::$DATA
    PSDrive : X
    PSProvider : Microsoft.PowerShell.Core\FileSystem
    PSIsContainer : False
    FileName : X:\Complex St-Hubert\desktop.ini
    Stream : :$DATA
    Length : 204

    PS C:\Users\Lance\Desktop> Get-ChildItem "Z:\" -Recurse -Force -Filter desktop.ini | Unblock-File
    Get-ChildItem: Cannot find drive. A drive with the name 'Z' does not exist.
    PS C:\Users\Lance\Desktop> Get-ChildItem "Z:\" -Recurse -Force -Filter desktop.ini | Unblock-File
    Get-ChildItem: Access to the path 'Z:\System Volume Information' is denied.
    PS C:\Users\Lance\Desktop> Get-ChildItem "X:\" -Recurse -Force -Filter desktop.ini | Unblock-File

    Get-ChildItem: Access to the path 'X:\System Volume Information' is denied.

     

    Last edit: zardoc 2026-06-23
  • petitlou60

    petitlou60 - 2026-07-07

    hello,
    this is a windows bug, with veracrypt volumes, explorer ignore dektop.ini files
    (same behavior for shared files)
    there is a work around:
    create shortcur with content C:\Windows\explorer.exe ,
    yes explorer with comma parameter!
    attach shortcut to taskbar
    use it to start explorer, now personalized icons appears
    best regards

     
  • zardoc

    zardoc - 2026-07-07

    Hi,

    My fix was this for X and and Z drives.
    Power Shell

    For X:
    Get-ChildItem "X:\" -Recurse -Filter desktop.ini -Force -ErrorAction SilentlyContinue | ForEach-Object { try { Unblock-File $_.FullName } catch {} }

    For Z:
    Get-ChildItem "Z:\" -Recurse -Filter desktop.ini -Force -ErrorAction SilentlyContinue | ForEach-Object { try { Unblo

    I rebuilt icon cache after. Sometimes it doesn't show so I just rebuild icon cache again

    @echo off
    set iconcache=%localappdata%\IconCache.db
    set iconcache_x=%localappdata%\Microsoft\Windows\Explorer\iconcache*
    
    echo.
    echo The explorer process must be temporarily killed before deleting the IconCache.db file. 
    echo.
    echo Please SAVE ALL OPEN WORK before continuing.
    echo.
    pause
    echo.
    If exist "%iconcache%" goto delete
    echo.
    echo The %localappdata%\IconCache.db file has already been deleted.
    echo. 
    If exist "%iconcache_x%" goto delete
    echo.
    echo The %localappdata%\Microsoft\Windows\Explorer\IconCache_*.db files have already been deleted.
    echo.
    exit /B
    
    
    :delete
    echo.
    echo Attempting to delete IconCache.db files...
    echo.
    ie4uinit.exe -show
    taskkill /IM explorer.exe /F 
    timeout /t 2 >nul
    del /A /F /Q "%iconcache%"
    del /A /F /Q "%iconcache_x%"
    start explorer.exe
    
     

    Last edit: zardoc 2026-07-07

Log in to post a comment.