There can be two methods to do this. The one is in which a software is required, the other is in which it is not required.
I am explaining the one in which no software is required.So, here is the details that how to do it…
Step 1
Open the photo you want to set as icon in your pen drive, in Microsoft Paint.
A square sized photo is recommended.
Then go to File → Save As… and save the file name as autorun.ico in Pen drive’s folder. i.e if your pen drive is G: drive then save autorun.ico in G:
Step 2
After saving the Image file as autorun.ico.
Make a file in notepad and write the following:-
[autorun]
icon=autorun.ico
Now save this notepad file in Pen Drive as autorun.inf. Now, eject the Pen Drive and re-insert then you should be able to see your photo in place of Pen Drive Icon.
If you have any problen contact me or leave comment here.Icon will appear something like this-
There are some other things which you can do with autorun.inf file. An autorun file as shown below will make autorun.exe to run when pen drive is inserted
[autorun]
open=autorun.exe
icon=autorun.ico
For some of our more advanced users here is a sample of autorun.inf-
;ShellExecute=index.html
icon=foobar.ico
action=Foo Bar [1]
shell=doubleclick.exe
shell\configure=&Configure…
shell\configure\command=setup.exe
shell\install=&Install…
shell\install\command=setup.exe
Shell\Option1=Text1
Shell\Option1\Command=option1.exe
Shell\Option2=Text2
Shell\Option2\Command=option2.bat
label=My backup data
Go on expermenting….



nice info..
it doesnt work for me…
im using sandisk cruzer micro 2gb
used square shaped photo
aravind.nair2010@gmail.com
can i run one image when my pendrive connect to pc and immediately automatically run my image .is this possible or any software is you have then plz mail me krnbade@gmail.com
works great thank u…………