Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I insert my USB Flash Drive into my computer, I always get this little autostart popup:


I was wondering, how to add elements to that list using the autorun.inf file? I know it's possible, because I've seen some programs do that before.

What I tried and didn't work:

action=Google Chrome
share|improve this question
Have a look at this instructable How to make an Autorun.inf File – Darius Mar 4 '13 at 20:20
@Darius Using that exact information, the option doesn't get added. – SeinopSys Mar 4 '13 at 20:32
up vote 1 down vote accepted

Looks like AutoRun has been completely disabled in all Microsoft OSes in 2009 through a security update: KB971029

If you've installed this update by letting Windows Update run automatically, that'd be the source of your issue why it doesn't "just work".

share|improve this answer

You can add a single item, like a setup program, but not multiple items. Microsoft has disabled autorun.inf files for USB drives completely in Windows 7, but as you're using XP, that shouldn't be a problem to you. A little example (make sure to save this file as autorun.inf, not autorun.inf.txt):

action=The list name's item

All are optional, but you may only use one of each, and I recommend you to choose for open or shellexecute. So copy-pasting this code won't work, as there are 2 shellexecutes. Open is for a executable, and shellexecute is for a file/url.

share|improve this answer
Please see my edit. – SeinopSys Mar 4 '13 at 20:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.