logo
Computer Change USB Drive Icon on Windows

How to Change USB Drive Icon on Windows?

By Michael | Last Updated

We all have a default USB drive icon when we plug it into our computer. You don't like it always set in stone and want to change it to your favorite icon to make the USB drive more personalized. In this article, i will guide on how to change usb drive icon on windows.

Method 1: Use Autorun.inf File to Change USB Drive Icon

Step 1: Prepare the icon image you want to show on windows and convert it to ico format (you can search for a website that supports converting image formats online) and store it in the root directory of the corresponding hard disk partition.

custom usb drive

Step 2: Right-clicking on the blank space to create a new text document in the root directory of the USB drive,then rename the file to autorun.inf("txt" must be replaced with "inf") .

rename txt document

Step 3: Double-click to open the inf file, enter the following command and save it.

[autorun]

icon=XXX.ico (XXX stands for the name of your ico image)

type the run code in infdocument

Step 4: In order to delete the files by mistake, you can select all icon files and then right-click on them and select "Properties" to enter the "Properties Setting Window" to hide them. Restart your computer and you will see the effect of the USB flash drive icon.

hide icon files

Related article :How to Protect Files on USB from Being Copied .

Method 2: Change USB Flash Drive Icon In Registry Editor

Step 1: Use the "Windows+R" shortcut to open the Run box and type the regedit command, click "OK".

type regedit code

Step 2: Locate the folder of "Driveicons" according to the following path and click to expand it:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ DriveIcons

click driveicons folder

Step 3: Right click on the folder "Driveicons" and create a "New Key" named "G" (your USB drive letter), then create a new value named "Defaulticon" in the "G" folder. Double-click on the "Default" value in “Defaulticon”, enter your USB drive letter and the name of the USB drive icon in the "Value Data" item, and click "OK". Restart your computer and you will see the new icon effect on your USB drive.

add a new key name usb letter on driveicons

edit value data

Step 4: If you don't want to use this USB drive icon anymore, just delete the subkey you created under the “DriveIcons” folder.

delete folder

Related Articles: