How To make An Autorun File For USB Drives


When you plug a  USB drive in, you might be interested in making a program, or other things happen as soon as you plug in. The way you accomplish this is through the Autorun.inf file. The autorun.inf file is located in the root of the usb drive and tells Windows what to do automatically.
This autorun can be used to make good, or bad USB’s depending on what you like.


This tutorial covers:


Creating a USB Autorun.inf
Changing label\icon of thumbdrive
Making a new option appear in the autorun menu
Making programs automatically run when plugged in

So Read On...



Creating a USB Autorun.inf :



To create an autorun file, open Notepad and save ‘autorun.inf’’ (with quotes) and save it to the root of the drive. All it needs to have is in the first line;


[autorun]

Done!

Changing label\icon of thumbdrive:

Follow the steps in Creating a USB Autorun.inf. Before you save it, type this in in this order!

[autorun]

icon=myicon.ico


label=MyLabel


And save. Make sure the icon file is in the root of your drive.

Making a new option appear in the autorun menu:

Right, so make your autorun file and type this into Notepad:


[autorun]
icon=default
label=[yourlabelhere]

action=programname.exe
Open Program



Save it and exit. Once again, the program has to be in the root. Now, when you plug it in, the option should appear in the menu.

Making programs automatically run when the USB is plugged in:

Follow the same instructions, blah blah blah;


[autorun]
Icon=default
label=YourLabelHere
open=programname.exe




And that’s it for this tutorial!
 
You can also follow these instructions when making a CD. You just have to burn it on the cd.

3 comments:

zainulabdin said...

hi stealth hacker in our college(using wi-fi) we download movies,videos of youtube through a-tube catcher at high speed but i wanna download softwares at the same speed so if you have any catchers for software download please post it in this blog (download speed at our college is max:1mb/s)

STEALTH_HACKER said...

Hey Dude Why Don't Give A Try To Internet Download Manager It Will Download Your Software Files Faster.. But For That You Need The Software link-
Download "Internet Download manager"-

http://stealthhackroom.blogspot.com/2010/05/internet-download-manager-519-build-2.html

cool hacker said...
This comment has been removed by the author.

Post a Comment

Sponsers