Saturday, April 13, 2013

Change Pen Drive Icon



1. Before giving custom icon, your USB icon will be default according to your windows theme. My one was as below :

 
default icon of pendrive

 
default icon of pendrive


2. Now from menu bar(Menu bar is located at the top left side of your explorer. If you don't see menubar, go to Organize > Layout > Mark Menu bar), go to Tools > Folder Options. Now go to View tab.


 
go to tools > folder options


3. Find out the option "Hide extension for known file types". If it is checked, then uncheck it. It should look like below.

 
uncheck "Hide extension for known file types"

4. Then click Apply and Ok.
5. Now enter into your USb device. You have to make a new text file here. To do that, right click on your mouse. From right click menu, go to New > New Text document

 
create a new text document
6. Now rename your text document from "New text document.txt" to "autorun.inf"

 
rename it into autorun.inf
 
rename it into autorun.inf
 
rename it into autorun.inf


7. After renaming the autorun.inf file should be look as above.

8. Now right click on autorun.inf file and select edit. Then it will open with notepad. Copy and paste the following code into that notepad and save(repalce existing file when saving) it.
code :
[autorun]
icon=rijans.ico

 
write the autorun code

9. Now you have to put an ico file(icon file winch has *.ico extension) in the same place where your autor un.inf file is located. Aft er puting ico file beside the inf file, rename the ico file into rijans.ico . Then your window will look like below.

 
give custom to usb device

10. Now you are done. Now to check, open your pen drive from computer then again plug to computer. Look your icon is changed.

Note:
1. You have to use icon file. Not image.
2. You can use any icon you want.
3. If you have any image, then convert that image into ico file with icon creator software.
4. You are commended to use 256*256 ratio icon.
5. Your icon name and icon name in autorun.inf shoul be same. For example, if your icon name is pcsfix.ico then the code should be as
[autorun]
icon=rijans.ico
6. If you don't have icon or icon creator tool then download icon samples from vistaicons.com .
7. Your anti-virus may disturb you. Because anti-viruses treat autorun.inf file as virus assistant.

1 comment: