Thursday, November 08, 2012

How To Create Autorun for Flash Drive (Pendrive, Thumbdrive, USB) with Icon

How to create autorun by using your pendrive, flash drive, thumbdrive.
Autorun, the feature of many flash drives today. Some of it may infected by virus. Some can help many users to identify the data in the drives.
Video Guide
For CMD in context menu download here :

Manual Guide

So, this step will show you how to make the autorun for flash drives. Easy..
1. Example : This is what I'm gonna change.
    Usage : Imation Nano Pro 16GB

 2. Open the pendrive, open NOTEPAD or create new.

3. Inside the notepad, copy these. See images.
icon= (put 1 icon you desired in the drive and copy the name of it and put .ico at the end.)
label= (desired name)

 Example inside notepad of pendrive I'm testing, it should look like these.

4. And then save the notepad as autorun.inf but make sure Save as type All Files.

5. Finish, you should have autorun, and icon you already put before.

 6. Now this part, you need to be careful. First, open up CMD and run as administrators.

7. See the drive letters, example H: / G: and so on. While in the CMD, just key in "H:" and enter.

8. Type these :
attrib +s +h autorun.inf
attrib +s +h cyber.ico (put your icon name.ico here, this for example)

9. When you're finish, remove the drive and plug in again. Your's drive should looks like the image.

To show back the thing you had done just use these on cmd : attrib -s -h /s /d *.* but make sure you've already put the drive letters first. Example : H:\>attrib -s -h /s /d *.*
*.* = all extension.all filename

That's it, you're done.

1 comment:

  1. NOT work that autorun thing doesnt show up it just opens the usb flash drive folder