Problem with icon folders


  1. Posts : 5
    10
       #1

    Problem with icon folders


    Icon folders are not preserved, when folders are copied between locations.
    That happens on Windows 10 1607, previous version 1151 was fine.

    For better understanding, check these steps:

    1. Create new folder; right click, properties, general tab, mark hidden attribute

    2. Now go to customize tab and chose any non default icon. Confirm changes with OK and OK again. Now copy that folder to anywhere, make a copy on same location, copy to other folder or to a pen drive, the personalized settings aren't copied! It means that destination folder won't maintain the personalized icon nor the attribute!

    3. If however you move the folder its OK, personalized setting are "moved" with the folder.

    This is a very annoying bug!
      My Computer


  2. Posts : 43,004
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #2

    Hi, please see the discussion here where you should find a solution.

    Problem copying customized folders

    (Hint: It's often worth using tenforums as a resource to see if your problem has been seen before).


    That happens on Windows 10 1607,
    Why such an old build?
      My Computers


  3. Posts : 9
    Windows 10 LTSC 21H2 + 1809
       #3

    Hi !

    Here's a weird easy trick that works for me when I have this kind of issue.
    You need to do it before coping the folder, and maybe on the new copied folder.

    Go to : Properties > Customize (tab) > Change Icon... > Restore Defaults > Cancel.

    This will automatically tick and turn grey (unchangeable) the hidden option of its desktop.ini file, like an original stable system folder.


    If the folder has to be copied onto C:\... (for example in the Start Menu, to ensure the customization of a folder), your folder must first be ready on your desktop before the copy/move.

    Customized folder must go in the "User" Programs folder when a duplicate is in the "ProgramData" Start Manu\Programs folder.
    When there are no duplicates, it can directly go in the "ProgramData" one.

    HTML Code:
    %userprofile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
    %programdata%\Microsoft\Windows\Start Menu\Programs
    Last edited by TizianoMad; 18 Mar 2023 at 19:24.
      My Computers


  4. Posts : 5
    10
    Thread Starter
       #4

    or just download TeraCopy
      My Computer


  5. Posts : 16,950
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #5

    Or just copy the folder's desktop.ini file whenever you copy a customised folder.

    Denis
      My Computer


  6. Posts : 989
    Microsoft Windows 10 Home
       #6

    spinalgr1990 said:
    Icon folders are not preserved, when folders are copied between locations.
    That happens on Windows 10 1607, previous version 1151 was fine.

    For better understanding, check these steps:

    1. Create new folder; right click, properties, general tab, mark hidden attribute

    2. Now go to customize tab and chose any non default icon. Confirm changes with OK and OK again. Now copy that folder to anywhere, make a copy on same location, copy to other folder or to a pen drive, the personalized settings aren't copied! It means that destination folder won't maintain the personalized icon nor the attribute!

    3. If however you move the folder its OK, personalized setting are "moved" with the folder.

    This is a very annoying bug!
    How are you copying the folder? If I right-click a customized folder, select Copy, navigate to a different folder on teh same drive, then select Paste, the folder displays it's customized icon.

    If you're copying a folder, the desktop.ini file that contains the customization is copied with it. If you're not seeing the customized icon, it's becasue the folder's Read-only attribute wasn't copied/set. This can be remidied by Shift+Right-click -> Open PowerShell window here..., and type:

    • attrib +r .


    If you have a number of folders with customization that have been copied to a given location but aren't displaying their icons, this PowerShell will set the Read-only attribute on any folder beneath the current location that contains a desktop.ini file:

    Code:
    Get-ChildItem desktop.ini -Recurse -Force -ErrorAction SilentlyContinue |ForEach-Object{
        attrib +r $_.DirectoryName
    }
    Which can be shortened with aliases to:
    Code:
    gci desktop.ini -s -Force -ea silent | %{
        attrib +r $_.DirectoryName
    }
    Last edited by KeithM; 22 Mar 2023 at 00:27.
      My Computer


  7. Posts : 2,917
    Windows 10 Pro for the Bro
       #7

    Following the first post's directions worked on my Windows.

    Problem with icon folders-image.png

    I have the latest Windows updates.
    To the original message poster: Make your hidden icons show, to check to see if "desktop.ini" gets created in the first folder after you customize it. That file contains the customization settings. (then copying that folder to a different location copies the desktop.ini file with it)

    Problem with icon folders-image.png

    I am aware of the possibility that when you customize the first folder that the REGISTRY keeps track of the customized settings. I've experienced that "strange" issue in the past.

    So when you copy the folder to a different location, make sure that the desktop.ini is in the new folder copy.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 08:18.
Find Us




Windows 10 Forums