Change the drive icon in windows 11/10

How to

Don’t like the default device icon? You can change it. Here is how to change the drive icon in Windows 11 and 11 operating systems.

In Windows, all included drives and partitions have the same icon. You will see the drive icon on the “This Computer” page of File Explorer and in the sidebar. In general, there is nothing strange about having similar drive icons. In fact, drive icons make it easy to identify a drive from its normal folders, files, and other system components.

But what if you don’t like the default drive icon, or are fed up with it? In that case, you can change the Windows disk icon. This way you can customize your drive and make it look different from other drives.

Unlike renaming a drive, changing the drive icon requires the use of the “autorun.inf” file. Of course, this is not as easy as renaming a device, but it is just as easy.

Now, without further ado, here is how to change the device icon on Windows 11 and 10 operating systems.

Table of Contents:

The following procedure works the same in Windows 10 and 11.

Before changing the device icon

Here are the prerequisites for changing the device icon:

  • An icon in ICO format must already be available.
  • The icon must be at least 512 x 512 pixels in size.
  • If an icon is not already available, obtain one from the web. and are great places to start your search.
  • For PNG, JPG, or other icons, use to convert them to ICO format.

Changing Windows device icons

To set up custom device icons, you will need to create a new autorun file and add the icon path. For example, I use an entire disk as a download folder. So, to set a new drive icon for that disk, I just need to create the said file and point it to the icon file. It seems simple, but it is elementary.

  1. Copy the ICO icon with “Ctrl + C”.
  2. Insert

  3. icon into the root of the target drive.
  4. Right-click on the device.
  5. Select ” New > Text Document
  6. Open text file.
  7. Insert the following code into the text file.
  8. Replace “IconName.ico” with the actual icon name.
  9. Press ” Ctrl + S ” to save the file.
  10. Close the text file.
  11. Rename the text file to ” autorun.inf “.
  12. Close File Explorer.
  13. Restart the computer.
  14. Accordingly, change the device icon .

Detailed instructions:

First, copy the icon to the root of the drive whose icon you want to change or set new. For example, we want to change the icon for device D, so we copied the icon to the root of device D.

Note: If the icon is on another device, the process will not work and you will see an empty icon.

Next, create a new text file by right clicking and selecting “New > Text Document”. Next, rename the text file to “autorun”.

Open the text file and paste the following code. Be sure to replace “IconName” with the actual icon name.




Save and close the file using the “Ctrl+S” hotkey.

After saving, rename the file from “autorun.txt” to “autorun.inf”. You are effectively changing the file format from TXT to INF.

Finally, close File Explorer and restart your computer. After the restart, an icon for the new drive will appear in File Explorer.

Optional steps:

You can hide the autorun icons and files to make them look nicer. To do so, right-click on the autorun.inf and icon.ico files individually and select the Properties option. Select the “Hidden” checkbox and click the “OK” button. This will prevent the files from displaying properly in the normal folder structure.

That’s it. It is very easy to change the disk icon in Windows 11 & 10.

We hope this simple and easy guide to working with Windows has been helpful to you.

If you get stuck or need help, send us an email and we will do our best to help.

If you liked this article, read How to Create Invisible Folders and Remove Arrows from Shortcut Icons.

YouTube video: Change the Drive Icon in Windows 11/10


Rate article
We provide high-quality and detailed Windows tutorials