How to Change a Drive Icon in Windows 10
A drive icon is a graphical representation of a drive.
By default, Windows will use an icon for a drive based on what type of drive it is. Some types of drives are network drive, mapped drive, USB drive, internal drive, external drive, DVD drive, Windows drive, etc...
This tutorial will show you how to change the icon of a drive to any icon for only your account or all users in Windows 10.
If you like, please feel free to upload and attach your .ico file(s) in a reply post for this tutorial thread to share with others.
If you turn on BitLocker for a drive, the BitLocker icon will always show for the drive no matter what you change it to.
Contents
- Option One: To Change Drive Icon using autorun.inf File
- Option Two: To Change Drive Icon for All Users in Registry Editor
- Option Three: To Change Drive Icon for Only Current User in Registry Editor
EXAMPLE: Drive icon before and after changing
![]()
This option will not work for mapped network drives, but Option Two and Option Three will.
This option will override Option Two and Option Three.
You must be signed in as an administrator to use this option for the Windows C: drive icon.
1 Open This PC in File Explorer, click/tap on the View tab, and turn on (check) File name extensions in the ribbon. (see screenshot below)
2 Open the drive (ex: E ) you want to change the icon of. (see screenshot below)
3 Right click or press and hold on an empty space in the root directory of the drive, click/tap on New, and click/tap on Text Document. (see screenshot below)
If you already have a autorun.inf file in the root directory of this drive, then skip this step and go to step 5 instead.
If this is for the Windows C drive, then you will need to do steps 3, 4, 6, 7, and 8 on your desktop first, then move the autorun.inf to the root directory of the Windows C drive. You will need to be signed in as an administrator to do this for the Windows C drive.
4 Rename the New Text Document.txt file to autorun.inf, and click/tap on Yes to confirm. (see screenshots below)
5 Copy the .ico file (ex: "USB.ico") you want to use as the icon to the root directory of this drive. (see screenshot below)
6 Open the autorun.inf file in the root directory of this drive. (see screenshot above)
7 Enter the separate lines below into the autorun.inf file. (see screenshot below)
Code:[autorun] icon="file name.ico"If any of these lines already exist in the autorun.inf file, then you would only add or change the icon line for what .ico file you want to use instead.
Substitute file name in the icon line with the actual name of the .ico file from step 5.
To undo this, you would just need to delete the icon line.
For example:
[autorun]
icon="USB.ico"
OR
[autorun]
icon="USB.ico"
label="My Backups"
8 When finished, click/tap on File, click/tap on Save, and close the opened autorun.inf file. (see screenshot below)
9 Restart the computer to apply. If this is for a removable drive, then you could just disconnect and reconnect the drive to apply instead.
You must be signed in as an administrator to be able to do this option.
It is recommended to use Option One instead for removable drives (ex: USB flash drive) or DVD disc.
This option will override Option Three.
1 Press the Win + R keys to open Run, type regedit, and click/tap on OK to open Registry Editor.
2 Navigate to the registry key below in the left pane of Registry Editor. (see screenshot below)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons
If you do not have the DriveIcons key, then right click on the Explorer key, click on New, click on Key, type DriveIcons, and press Enter to create it.
3 Right click on the DriveIcons key, click on New, click on Key, type the capitalized drive letter (ex: "D") of the drive you want to change the icon of, and press Enter. (see screenshot above and below)
If you already have a sub key (ex: "D") for this drive letter (ex: "D") under the DriveIcons key, then skip this step and go to step 4 instead.
To undo this, you would delete the sub key (ex: "D") for the drive, click/tap on Yes to confirm, and go to step 7.
4 Right click on the sub key (ex: "D") under the DriveIcons key, click on New, click on Key, type DefaultIcon, and press Enter. (see screenshot above and below)
If you already have a DefaultIcon sub key under the drive's key (ex: "D"), then skip this step and go to step 5 instead.
5 In the right pane of the DefaultIcon key, double click on the (Default) string value to modify it. (see screenshot above)
6 Type the full path within quotes of the .ico file you want to use as the icon of this drive, and click/tap on OK. (see screenshots below)
This icon displays best if the .ico file is saved in a location that all users have access to. For example, inside the "C:\Users\Public\Pictures" folder.
7 If open, close and reopen File Explorer to apply. You can now close Registry Editor if you like.
It is recommended to use Option One instead for removable drives (ex: USB flash drive) or DVD disc.
1 Press the Win + R keys to open Run, type regedit, and click/tap on OK to open Registry Editor.
2 Navigate to the registry key below in the left pane of Registry Editor. (see screenshot below)
HKEY_CURRENT_USER\Software\Classes\Applications\Explorer.exe\Drives
If you do not have the Applications key, then right click on the Classes key, click on New, click on Key, type Applications, and press Enter to create it.
If you do not have the Explorer.exe key, then right click on the Applications key, click on New, click on Key, type Explorer.exe, and press Enter to create it.
If you do not have the Drives key, then right click on the Explorer.exe key, click on New, click on Key, type Drives, and press Enter to create it.
3 Right click on the Drives key, click on New, click on Key, type the capitalized drive letter (ex: "D") of the drive you want to change the icon of, and press Enter. (see screenshot above and below)
If you already have a sub key (ex: "D") for this drive letter (ex: "D") under the Drives key, then skip this step and go to step 4 instead.
To undo this, you would delete the sub key (ex: "D") for the drive, click/tap on Yes to confirm, and go to step 7.
4 Right click on the sub key (ex: "D") under the Drives key, click on New, click on Key, type DefaultIcon, and press Enter. (see screenshot above and below)
If you already have a DefaultIcon sub key under the drive's key (ex: "D"), then skip this step and go to step 5 instead.
5 In the right pane of the DefaultIcon key, double click on the (Default) string value to modify it. (see screenshot above)
6 Type the full path within quotes of the .ico file you want to use as the icon of this drive, and click/tap on OK. (see screenshots below)
7 If open, close and reopen File Explorer to apply. You can now close Registry Editor if you like.
That's it,
Shawn
Related Tutorials
- How to Rename Drive Label in Windows 10
- How to Show Drive Letters Before or After Drive Name in Windows 10
- How to Change Icon of a Shortcut in Windows 10
- How to Change Icon of a Folder in Windows 10
- How to Change and Assign Drive Letter in Windows 10
- How to Hide Specified Drives in Windows
- How to Format a Disk or Drive in Windows 10
- How to Delete Volume or Partition in Windows 10
- How to Extend Volume or Partition in Windows 10
- How to Shrink a Volume or Partition in Windows 10