Change drive icon in Windows 10 with a custom *.ico file

By default, Windows 10 does not offer you an option to change a drive's icon. But this limitation can be easily bypassed with a simple Registry tweak. In this article, we will see how to change the icon of a particular drive (partition) or set a new icon for all disk drives at once.

Here are default drive icons in Windows 10:

Windows 10 default icons Let's start with individual drives and partitions. With Registry editing, you can make Windows 10 show a customized icon for a specific partition or disk drive installed in your PC.
Specific Drive Icon - Change in Windows 10

Do it as follows.

  1. Open Registry Editor. If you are not familiar with Registry Editor, see this excellent tutorial.
  2. Go to the following key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons

    Tip: You can access any desired Registry key with one click.
    Note: If the DriveIcons key does not exist, just create it. Windows 10 driveicons subkey

  3. Under the DriveIcons subkey, create a new subkey and use the drive letter (ex: D ) that you want to change the icon for. See this image: Windows 10 driveicons create new subkey Windows 10 driveicons name subkey as drive letter
  4. Under the subkey which represents the drive letter, in my case it is D, create a new subkey and name it DefaultIcon: Windows 10 driveicons create new subkey default icon Windows 10 driveicons name new subkey default icon

In the right pane of DefaultIcon subkey, modify the (Default) value. Double click it and set its value to the full path to your custom icon file. In my case, I will use the file named "Longhorn Drive.ico" which I have in the C:\icons folder: Windows 10 longhorn drive icon Windows 10 set path to drive icon Once this is done, re-open the This PC folder to see the changes: Windows 10 change single drive icon

Repeat this operation for all drives whose icons you need to change.

All Drives Icon (default drive icon) - Change in Windows 10
Again, let's apply a simple tweak to change them.

  1. Open Registry Editor. If you are not familiar with Registry Editor, see this excellent tutorial.
  2. Go to the following key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons

    Tip: You can access any desired Registry key with one click.
    Note: If the Shell Icons key does not exist, just create it. Windows 10 create shell icons key

  3. Create a new string value at the above key called 8 by right clicking in the right pane and choosing New -> Expandable String value.Set its value data to the path of your icon file. I will use the drive icon from Windows Vista, which I placed in c:\icons:
    C:\icons\Vista Drive.ico

    See the following screenshot: Windows 10 vista drive icon Windows 10 shell icons new expandable string Windows 10 shell icons name expandable string 8 Windows 10 shell icons value expandable string 8

  4. Restart Explorer. Alternatively, instead of restarting Explorer.exe, you can also log off and log back in to your Windows 10 user account.

Once restarted, you will see that all drives have got the same icon you specified. Windows 10 all drive icons changed

As for the system drive, you still need to specify its icon separately at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\C\DefaultIcon subkey as mentioned earlier.

That's it.

1 thought on “Change drive icon in Windows 10 with a custom *.ico file

  1. Mohammed Farid

    I have hard drive icon. But there is no windows 10 logo on the hard drive. Please help is my system safe?

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *