Changing a File Explorer icon depends on which icon you mean: folder icons, drive icons, file type icons, or the File Explorer icon on the taskbar. Folders and drives can be changed with built-in Windows settings, so those are the easiest places to start.
If you want to change your File Explorer icon for a single folder, a custom image can make it stand out from the rest. For a drive, a custom icon helps you tell it apart, because all plugged-in drives and partitions share the same default icon on the This PC page and in the sidebar. [1]
File type icons and the taskbar icon work differently. For a drive, you need an ICO file and an autorun.inf file at the root of the drive, not just a rename. [1]
What should you know before changing icons?
Icons come from .ico files or icon libraries, so you need one ready before you change anything. Pick or download a source you trust, because an icon file is something Windows will load from your drive.
What kind of icon file do you need?
For drive icons, you should already have an icon in the ICO file format, and it must be at least 512 by 512 pixels. [1] If you have no icon yet, Iconarchive.com and iconspedia.com are places to start. [1] If your image is a PNG, JPG, or another format, icoconvert.com can convert it to ICO. [1]
Third-party folder icon tools exist too. In one community thread, a user with Windows 10 who wanted different folder icons was pointed to Folder Marker and File & Folder Tools, and reported that Folder Marker worked. [2] Treat any download like other software: get it from the maker’s own site.
Changes stay local
Changing one folder’s icon does not change the rest. A Windows 10 user asked whether folder icons in Detail view could be changed without doing it one folder at a time, which shows there is no obvious all-at-once option. [2] Plan on picking the folders that matter most, such as the ones you open daily.
Where drive icons appear
By default, all plugged-in drives and partitions share the same icon. [1] You see them on File Explorer’s This PC page and in the sidebar. [1] A custom drive icon therefore shows in both places, which helps you spot a favorite drive at a glance.
Windows 11 and Windows 10
Windows 11 and Windows 10 menus look slightly different, but the drive icon steps work the same in both. [1] Windows 10 is past end of support, so it no longer receives regular updates; Windows 11 is the safer choice where you can use it.
How do you change a folder icon?
You change a folder icon through that folder’s Properties window, one folder at a time. The steps below use built-in Windows settings, so no extra software is needed.
Right-click the folder and choose Properties.
Open the Customize tab.
Under “Folder icons,” click Change Icon.
Pick an icon from the list, or click Browse to select an icon file you saved, such as a
.icofile.Click OK, then Apply, then OK again to close Properties.
The folder now shows the new icon in File Explorer. A good first test is a folder you open often, like “Invoices” or “School,” so you can see how the icon looks in your view.
Restore the default icon
To undo the change, return to the same place: right-click the folder, choose Properties, open the Customize tab, and click Change Icon. In that dialog, use the Restore Defaults button, then click OK and Apply.
The one-folder limit
This method only changes the folder you selected. Windows has no built-in setting that swaps the icon for every folder at once. A Windows 10 user on Spiceworks asked for exactly this, wanting to change folder icons in Detail view without going folder by folder, because folders were hard to tell from files after switching to a dark theme. [2]
The answer they got was to use a third-party tool. The replies named Folder Marker and File & Folder Tools, and the person who asked reported that Folder Marker worked perfectly for them. [2] If you only have a handful of folders to mark, the Properties method is usually enough. For a large number, a tool like those may save time.
How do you change a drive icon on This PC?
Changing a drive icon takes a bit more work than changing a folder icon, because Windows has no Properties tab for it. Instead, you point the drive to an icon through a small text file named autorun.inf saved in the drive’s root. [1]
Windows gives every plugged-in drive and partition the same default icon, and you see it on the This PC page and in the File Explorer sidebar. [1] A custom icon makes your favorite drive easy to spot, for example a backup drive that looks different from your data drive. [1]
What you need first
The source describes the method as the same in Windows 10 and 11. [1] You need three things:
An icon in ICO format. [1]
An icon that is at least 512 by 512 pixels. [1]
If your image is a PNG or JPG, a converter such as icoconvert.com can turn it into ICO. [1]
If you need an icon, Iconarchive.com and iconspedia.com are suggested places to look. [1]
Outline of the method
Get an ICO file that meets the size requirement, converting it if needed. [1]
Put the ICO file on the drive you want to change. [1]
Create an
autorun.inffile that names the icon. [1]Reopen This PC and look for the new icon on the drive. [1]
The exact contents of the autorun.inf file are not shown in the material I have, so I am not giving them here rather than guessing.
Safety
Only create or edit the drive’s icon entry, and leave other system or registry settings alone, since changes there can break things. Back up anything important on the drive first, and keep a copy of the original autorun.inf if one already exists.
What about file type icons and the taskbar icon?
File type icons and the taskbar icon are the two cases where Windows 11 has no simple, dedicated setting in File Explorer. Here is how each one works, so you know where to look.
File type icons follow the default app
The icon you see on a .docx, .pdf or .jpg file usually comes from the app set as the default for that type. If you change the default app, the icon typically changes with it. For example, a PDF may show the icon of whatever program opens PDFs by default.
To change the default app, open Settings > Apps > Default apps and pick the app for the file type you care about. This changes which program opens the file, and the icon follows that choice. It does not let you pick an arbitrary icon for one file type.
There is no built-in File Explorer option that assigns a custom icon to a file type. Doing it by hand means editing system registry entries, or using a third-party tool, and the steps are not covered here. If you want a specific file to stand out, a simpler approach is to put it in a folder and give that folder a custom icon. For a closer look, read How to Change File Icon on Windows 11 (Files, Folders, Shortcuts).
The taskbar icon is its own thing
The File Explorer icon on the taskbar is separate from folder icons. Changing a folder’s icon through its Properties does not touch the taskbar button, and the reverse is also true.
Windows does not offer a plain setting for swapping the taskbar File Explorer icon for a custom one. Microsoft’s documentation changes between Windows releases, so look at its current pages for taskbar customization to see what your version supports. What you can do in Settings is control the taskbar’s behavior and layout, such as pinning or unpinning the button, but that is different from replacing its artwork.
If your real goal is to make folders or drives easier to recognize, the folder and drive methods in the other sections are the ones with built-in support.
Common questions about File Explorer icons
Can I change all folder icons at once?
Not with a built-in setting. One Windows 10 user on a community forum asked how to change folder icons in Detail view without doing it one folder at a time, and the fix that worked for them was a third-party tool, Folder Marker. [2] Another tool suggested in the same thread was File & Folder Tools. [2]
If you go that route, pick a tool you trust and try it on a single folder first.
Why did my icon revert or look blank?
The sources do not explain a specific cause, so work through the likely culprits in order:
The
.icofile was moved, renamed or deleted after you chose it, so Windows has nothing to display.The icon came from a folder on a drive or network location that is not connected right now.
You picked an icon from a library file, and that file changed or moved.
The simplest fix is to store your icons in a permanent folder, such as one in Documents, and select them again from there with Change Icon on the folder’s Customize tab. If a folder still looks wrong, use Restore Defaults on that same tab and start over.
Does dark theme make folders hard to tell from files?
It can. A user who had just switched to Dark Theme in Windows 10 reported trouble telling folders from files in File Explorer’s Detail view, and mentioned being a little color blind. [2] Switching to Medium or Large icons helped with size, but it meant losing the Detail view columns such as Date modified and Type. [2]
Two practical options follow from that:
Give your most-used folders a distinctly colored custom icon, so they stand out against the dark background.
Keep Detail view and rely on the Type column, which labels each item as a folder or a file type.
The user in that thread solved it by applying colored folder icons with Folder Marker. [2]
Which method should you pick?
Pick the method that matches what you want to change. For a folder, right-click it, choose Properties, then open the Customize tab and use Change Icon. For a drive, the method relies on an autorun.inf file rather than a simple setting, and it needs an ICO file of at least 512 by 512 pixels. [1]
Start small. Change one folder or one drive, then open File Explorer and see how the icon looks next to the others. If you like the result, repeat it for the rest, one at a time.
