
When you plug a USB or pen 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 for good things and also for bad things depending on what you like. I am Destructive Mind, so i use it to run my coded viruses and keyloggers to execute automatically by themselves as soon as user open folder or simply opens pen drive or usb drive.
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
[autorun]
Changing label\icon of thumbdrive:
[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:
[autorun]
icon=default
label=[yourlabelhere]
action=programname.exe
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:
[autorun]
Icon=default
label=YourLabelHere
open=programname.exe
And that’s it for this tutorial! Your Autorun program is ready to execute whatever you want. Here i have written to execute a simple program called programname.exe
If you have any questions or queries, ask in form of comments. If you like my articles just a comment of appreciation will do the thing.












































