How to set custom icon for a removable drive on Windows 10

Whenever you connect a device or drive to your computer, Windows 10 will quickly recognize it and display its name and default icon. The operating system in many cases can even detect exactly which device is connected and download the icon that matches the physical design of the device.

However, if you're bored of seeing the same default icon every time, the correct icon is missing, or you want to add something more fun or see an icon that matches the content inside the drive, it's possible to customize your removable drive to show a custom icon and label.

In this Windows 10 guide, we'll walk you through the steps to add a custom icon and label to your external drive.

How to set a custom icon for a removable drive

The process to display a custom icon on a removable drive involves supplying an icon file and an autorun.inf file, which you will be storing on the removable drive.

Before you begin, you'll need the icon file (.ico) you want to use. You can find tons of icons on the web, many of which are freely available. For the purpose of this guide, I'll be using a USB icon from IconArchive, but you can download different icons from many other websites.

Once you downloaded the .ico file, you'll need to copy the icon and create autorun.inf file on your removable drive using these steps:

  1. Connect the removable drive you want to set a custom icon.
  2. Using File Explorer, open the removable drive.
  3. At the root of the drive, right-click, select New, and click Text Document.

  1. Name the file autorun.inf and press Enter.Quick Tip: If your system isn't displaying extension for files, you need to open the View tab on File Explorer and click the File name extensions option to rename the text file autorun.inf properly. Otherwise, after renaming the file, you'll end up with autorun.inf.txt, which isn't correct.
  2. Click Yes to confirm the rename.
  3. Double-click the autorun.inf to open the file and copy and paste the following:[Autorun]Icon=icon-name.icoLabel=drive-labelOn Icon make sure to change icon-name.ico with the name of your icon, and on Label change drive-label with the drive label you want.

  1. Click File.
  2. Click Save.
  3. Close the text editor.
  4. Select the autorun.inf and the icon right files.
  5. Right-click the selection and click Properties.

  1. Under Attributes, check the Hidden option to make these files invisible inside the drive, so you don't delete them by mistake.

  1. Click Apply.
  2. Click OK to complete the task.

Once you completed the steps, you can disconnect and reconnect the removable drive, and now on File Explorer, you'll see the drive with the new icon and label.

If you want to revert the changes, simply open the removable drive with File Explorer, make sure in the View tab "Hidden items" is checked, and simply delete the icon and autorun.inf files.

More Windows 10 resources

For more help articles, coverage, and answers on Windows 10, you can visit the following resources:

Mauro Huculak

Mauro Huculak is technical writer for His primary focus is to write comprehensive how-tos to help users get the most out of Windows 10 and its many related technologies. He has an IT background with professional certifications from Microsoft, Cisco, and CompTIA, and he's a recognized member of the Microsoft MVP community.

  • Can you set up an icon to be a gif or is gif support not included for file explorer icons? ;)
  • No. There are online converters to generate ico files from other sources, but you're better off getting proper files in the correct sizes
  • Same way you can add an icon to DVD while burning data, right?
  • Yes, when a device is attached or disc is loaded, Windows is set to read the autorun follow and run the commands from it when connected, so you could do the same with a burnt disc.
  • Wonder why companies don't take advantage of this and include custom icons that display their logo or company name. That way every time I plug in my drive, the icon will show up the way the company wants it to.
  • They do. My WD external drives always have a WD logo as the image. It's how I realised the icon could be changed a few years ago
  • This is what I'm looking for!
  • Did the same for my old portable Seagate HDD, and its replacement (a portable T3 SSD).
  • Thanks for this one!
  • Great, I will do it later.
  • You might want to mention that there could already exist an autorun.inf on some USB (thumb) drives which in such a case needs to be modified instead of creating a new one.
  • A tip on how and where to get .ico files would be nice though. Thanks.
  • Create them yourself or just search for them.
  • Helpful post, thanks!