Change drive icon of pendrive or storage devices

0


How to Change the Drive Icon of a Pendrive or Storage Device

Want to personalize your USB drive or external storage device with a custom icon? You can easily do this by creating an autorun configuration file and adding an image of your choice. Follow these simple steps to change the drive icon.

Step 1: Prepare the Image File

  1. Choose an Image: Select an image that you want to use as the drive icon.
  2. Convert it to BMP Format:
    • Right-click on the image and select Edit (it will open in Paint).
    • Click on File in the top menu.
    • Choose Save As > BMP Picture.
    • Give it any name (e.g., icon.bmp) and save it.

Step 2: Create the Autorun File

  1. Open Notepad:
    • Right-click on the desktop, go to New, and select Text Document.
    • Open the new text file.
  2. Write the following code:
    ini
    [autorun] Icon=icon.bmp
  3. Save the file as autorun.inf:
    • Click File > Save As.
    • In the File name box, type autorun.inf (with quotes: "autorun.inf", to ensure it's saved as an INF file, not a .txt file).
    • Click Save.

Step 3: Copy Files to the USB Drive

  1. Copy both icon.bmp and autorun.inf to the root directory of your pendrive.
  2. Remove and reinsert the pendrive into the computer.
  3. The custom icon should now replace the default USB drive icon.

Optional: Hide the Icon and Autorun File

To prevent accidental deletion, you can hide the files:

  1. Right-click on icon.bmp and autorun.inf.
  2. Select Properties.
  3. Check the Hidden option and click OK.

Post a Comment

0Comments

Write here your comments and any question related to articles ...

Post a Comment (0)