Change a Windows folder icon without software (and its limits)
Windows can change a folder's icon on its own, with no app at all. It is worth knowing how, and also where it stops: it can't color a folder, it needs an .ico file you already have, and it works one folder at a time.
Steps
Get an .ico file
Windows only accepts icon files (.ico), or icons inside .exe and .dll files. A PNG or JPG won't work until it is converted.
Open the folder's properties
Right-click the folder and choose Properties, then open the Customize tab.
Change the icon
Click Change Icon…, then Browse to your .ico file, select it and click OK.
Apply
Click Apply. Windows writes a hidden desktop.ini file in the folder that points to the icon.
What the built-in way can't do
- No colors: you can only pick an existing icon.
- No pictures, symbols or text unless you make the .ico yourself.
- One folder at a time.
- If the .ico file lives elsewhere and you move or delete it, the folder goes blank.
What desktop.ini looks like
Behind the Customize tab, Windows writes a small hidden file called desktop.ini inside the folder:
[.ShellClassInfo]
IconResource=C:\Icons\work.ico,0IconResource points to the icon file, and the number after the comma says which icon inside it to use (0 is the first). Windows only reads the file when the folder has the read-only or system attribute, which is why the Customize tab sets that attribute for you.
How FolderHue compares
FolderHue uses the same desktop.ini system, so nothing about your folders becomes non-standard. The difference is the work it does for you: it draws the icon from a color, symbol, emoji or picture, saves it inside the folder so it can't go missing, applies it to many folders at once, and keeps a list so you can restore everything.
Questions
Where do the default Windows icons live?
Many are inside C:\Windows\System32\imageres.dll and shell32.dll, which the Change Icon window offers by default.
Is editing desktop.ini by hand safe?
It works, but the file is hidden and protected, and the folder needs the read-only attribute for Windows to read it. The Customize tab handles both for you.
Can I use a PNG or JPG instead of an .ico file?
Not with the built-in way: Windows only accepts .ico files, or icons stored inside .dll and .exe files. Convert the picture to .ico first, or let FolderHue make the icon from the picture.
