How to create Autorun file

create autorun file for hacking

How to create autorun file : 

This is meant only for educational purpose and i do not encourage anyone to involve in any illegal activities and i am not responsible for that.

create autorun virus

Ready to know how to create autorun file.Firstly autorun file is the windows file which will start immediately once you plugin your pendrives or your CDs.They are usually in the .inf format and is kept hidden from the user.Few days back i wrote a post on a particular autorun virus that was spreading fast and you can take a look at the solution for that virus here : Pendrive Autorun Virus

How autorun files are being created ?

Initially you do not need any extra tools for creating an autorun file,just a notepad can do this job for you.
Open a notepad from run command by pressing ” WinKey+R ” and then by typing “notepad” and click “ok“.

An autorun files starts with the name autorun which is placed within the square brackets so that the compiler can understand that it is an autorun file , like this :


Few commands that can be used inside the autorun files are : 

  1. label = Some drive
    The label command is used to set a drive name for your device.
  2. icon = someicon.ico
    Specific icon can be set for your drive.If you need a .ico files you can get it from here : IconArchieve
  3. open = filename.exe
    Use the command to open any files that are stored inside your pendrive.

How to prevent yourself from autorun files ?

  1. Turn off the autorun feature on your windows.
    This can be done by right clicking on the drive then select properties and navigate to the autoplay tab and then select the ” prompt me everytime ” radio button .
  2. Update your antivirus regularly.
    I would suggest using a bitdefender antivirus will keep you away from all kinds of viruses.
  3. Never trust anyone.

Have fun..If you have liked this post “how to create autorun file ” then do not forget to share this !! comments are welcomed .

Learn more about how to Trace mobile number in India.

I'm Rajesh from CSE background and I'm specialized in Blogging, SEO, Website Designing.I'm an entrepreneur and I make my living online.You can find me here

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.