How to change the icon of the disk or USB flash drive in Windows

It can also be of interest to You:


  • Is it worth to install Windows 10
  • The best means of removing malware
  • The Secrets Of Windows 10

Icons for disks and drives in Windows, especially in the «top ten» is good, but fan of the appearance of system can pall. In this instructions on how to change icons of hard drive, pendrive or a DVD in Windows 10, 8 and Windows 7 on their own.

Described below are two ways to change icons of drives in Windows involve manual change of the icons is not particularly difficult, even for the novice user, and I recommend using it in these ways. However, for these purposes, there are third-party programs, since many free, and paid to the powerful, such as IconPackager.

Note: to change the icons of drives you’ll need the actual files of the icons with the extension .ico — they are easily searched and downloaded online, for example, icons in this format in a large number available on the website iconarchive.com.

Change icon of the drive and the USB drive through registry editor

The first method allows you to assign a separate icon for each drive letters in Windows 10, 8 and Windows 7 in registry editor.

That is, whatever was connected under the letter of the hard disk, flash drive or memory card, will display an icon that is set for that drive letter in the registry.

In order to change the icon in the registry editor, perform the following steps:

  • Go to registry editor (press Win+R, type regedit and press Enter).
  • In the registry editor, navigate to (the folder in the left part) HKEY_LOCAL_MACHINE SOFTWARE Microsoft Windows CurrentVersion Explorer DriveIcons
  • Click the right mouse button on this tab, select the menu item New Partition and create a partition with a name that represents the drive letter for which changing the icon.
  • Inside this partition, create another one with the name of DefaultIcon and click this section.
  • In the right part of the registry, double-click the value «default» and in the appeared window, in the Value field, specify the path to the icon file in quotes and click OK.
  • Close the registry editor.
  • After that, you either restart the computer or restart Windows Explorer (in Windows 10 to do this you can open task Manager, select Explorer in the list of running programs and click «Restart»).

    Next time in the list of drives will appear already the chosen icon.

    Using the file autorun.inf to change the icon of the flash drive or disk

    The second method allows you to specify an icon not just for the letter, but for a particular hard disk or USB flash drive, regardless of which letter and even which computer (but with Windows) it will be connected. However, this method will not work to set an icon for DVD or CD, unless you attend to this when writing to the drive.

    The method consists of the following steps:

    The author recommends to read:

    • Computer slow — what to do and why this is happening?
    • Best free apps every day
    • How to connect a laptop to a TV (for video games)
    • How to share an Internet connection via Wi-Fi with laptop
    • How to watch TV online for free
  • Place the icon file in the root of the drive that will change the icon (i.e., for example, in C:icon.ico)
  • Start Notepad (located in the standard can be found quickly via search Windows 10 and 8).
  • In Notepad, type the text, the first line of which is [autorun], and the second — ICON=imaichi.ico (see example on the screenshot).
  • In the menu of Notepad select «File» — «Save» in the «file Type» select «All files» and then save the file to the root of the drive where we change the icon, putting a name autorun.inf
  • After that just restart the computer, if you change the icon for the hard disk of the computer or remove and reconnect the drive if the change was done for her — as a result, in Windows Explorer, you will see a new icon of the drive.

    If you want, you can make the icon file and the file autorun.inf is hidden, so they didn’t show on a disk or flash drive.

    Note: some antivirus can block or delete files autorun.inf from drives, because in addition to the functions described in this manual, the file is often used BY malware (automatically created and hidden on the drive and then, using it when you connect the flash drive to another computer, it also runs malicious SOFTWARE).