# How To Make An Autorun File For Your CD/USB

**URL:** <https://onehack.st/t/how-to-make-an-autorun-file-for-your-cd-usb/179454>\
**Category:** Tutorials & Methods\
**Tags:** tips-tricks\
**Created:** [April 19, 2021, 11:34pm UTC](https://onehack.st/t/how-to-make-an-autorun-file-for-your-cd-usb/179454 "2021-04-19T23:34:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheStrength](https://onehack.st/user_avatar/onehack.st/thestrength/32/46753_2.png) [@TheStrength](https://onehack.st/u/TheStrength)\
**Post date:** [April 19, 2021, 11:34pm UTC](https://onehack.st/t/how-to-make-an-autorun-file-for-your-cd-usb/179454/1 "2021-04-19T23:34:39Z")

</div>

## Simple Method:

# 

**If you want to make an autorun file for that CD you are ready to burn follow the steps below .**

1. Open notepad
2. Write: _[autorun]_  
_OPEN=INSTALL\Setup\_filename.EXE  
ICON=INSTALL\Setup\_filename.EXE_  
Now save it but not as a .txt file but as a .inf file.  
But remember! The “Setup\_filename.EXE” MUST be replaced with the name of the setup file. And you also need to remember that it is not all the setup files there are called '.exe, but some are called '.msi
3. Now burn your CD with the autorun .inf file included.
4. Now set the CD in your CD drive and wait for the autorun to begin or if nothing happens just double-click on the CD drive in “This Computer”

**Enjoy!**

---

<div class="post-metadata">

**Author:** ![cetipabo](https://onehack.st/user_avatar/onehack.st/cetipabo/32/45133_2.png) [@cetipabo](https://onehack.st/u/cetipabo)\
**Post date:** [April 20, 2021, 10:49am UTC](https://onehack.st/t/how-to-make-an-autorun-file-for-your-cd-usb/179454/2 "2021-04-20T10:49:51Z")

</div>

this is blocked by all decent antivirus now…
