PDF download Download Article PDF download Download Article

Does your USB flash drive have a boring, generic icon that you would like to change? Do you want the new icon to show on whatever computer you use, so registry editing is not an option? Using an Autorun file is your solution.

  1. A good size is 34 pixels square.
  2. Advertisement
  3. label=Name
  4. ICON=your-icon-file.ico. If you wanted to call your drive "My USB Drive" with an icon named "myusbdrive.ico"
  5. Change the file type to "All" and name it AUTORUN.inf
    • [AutoRun]
      label=My USB Drive
      ICON=myusbdrive.ico
    • Depending on the label you choose, and the location of your icon file, you may need to wrap the label and folder names in quotes (") to handle long filenames.
    • It has been reported that on some systems your ".INF" file extension may need to be capitalized in order to work.
  6. Ensure that both your autorun.inf and any .ico files are in the ROOT of your removable drive, instead of a folder, unless you have specified the correct folder for the icon in your .inf file.
  7. 11
    Highlight both files. Right click and select properties, set files to "hidden" to hide files from view.
  8. Advertisement

Community Q&A

Search
Add New Question
  • Question
    Does my image have to be a .inf file?
    Community Answer
    Your image cannot be a .inf file. Your image is saved as .ico.
  • Question
    Is there any way to keep this icon even after the USB is formatted?
    ChemGenius
    Community Answer
    Yes. You would have to temporarily move the autorun file and icon to another drive or computer before formatting.
  • Question
    Does this really work?
    Community Answer
    Yes, it does. Make sure the icon file you want to use is in the .ico file format and in the autorun.inf file; also, make sure you put "ICON" in all caps. Lastly, make sure everything is spelled correctly and there are no typos.
See more answers
Ask a Question
      Advertisement

      Video

      Tips

      • You will need to remove the drive, then plug it back in to see the changes.
      • This is a great way to get past the "11 Character Drive Name" restriction.
      • If the AUTORUN.inf and icon files are an eyesore, you can hide them (right click, click Properties, check the "Hidden" box).
      Show More Tips
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!
      Advertisement

      Warnings

      • This Autorun.inf file will not work on a drive where Autorun mode is turned off or where an antivirus program can rename or remove it (ex: Autorun.inf.ren).
      • Ensure that the icon is saved in the root of the drive, with the autorun file.
      • Make sure you save the autorun file as .inf instead of the default .txt.
      • This does not work on floppy drives, because they have no Autorun feature.
      Advertisement

      Things You'll Need

      • A removable drive
      • An icon for your drive
      • A text editor, such as Notepad/Notepad++

      About This Article

      Thanks to all authors for creating a page that has been read 367,209 times.

      Is this article up to date?

      Advertisement