Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Make Autorun files in Windows 7

06 Jun 2011   #1

Windows 7 Ultimate x64
Make Autorun files in Windows 7

Hello forum,

I would like to know if it's possible to make autorun files in windows 7.
I've read a bit on the net and saw that some say it is not possible, but it must be; otherwise, how would hackers use autorun files in Windows 7?!

So, this is the situation that led to my search:

I had a game setup in my pen mixed with a lot of other important things for the installation. I wanted to make an autorun file that would do the following:

1- you plug the pen;
2- the program would start immediately (without autoplay).

Let's say the file is named "setup.exe".
I created the following autorun.inf:


It didn't work.. probably because I am using windows 7. So, how do I create this?


Other question:

Imagine I use Windows XP. Also imagine I had the setup.exe file in this location:

I wanted to create an autorun that would start the setup.exe as soon as I plugged the pen in. How would the autorun.inf be like?

My System SpecsSystem Spec
06 Jun 2011   #2

Windows 7 Professional 64 bit

As to your second question, if the cobwebs in my brain aren't too thick;

My System SpecsSystem Spec
06 Jun 2011   #3

Windows 7 Ultimate x64

Quote   Quote: Originally Posted by pricetech View Post
As to your second question, if the cobwebs in my brain aren't too thick;

Thanks for the answer Just what I thought Now I need to figure out how to get autoruns working in windows 7.. x)
My System SpecsSystem Spec


 Make Autorun files in Windows 7

Thread Tools

Similar help and support threads
Thread Forum
Autorun.inf Files - Completely Block
How to Completely Block and Disable Autorun.inf Files in Windows When a CD/DVD disc is inserted or a USB drive is connected to your system, Windows looks in the root directory of the new disc or drive for a file named autorun.inf. If found, Windows executes the instructions (keys) in that...
autorun VOB movie files/folder
I have these files in a folder and would like to download them to a disc. I would like the movie to autorun when inserted in a dvd player. Can anyone help please.
Music, Pictures & Video
How to make a Bootable DVD from Windows 7 downloaded files?
Hi, I've just downloaded Microsoft Windows 7 Build 7057 Ultimate x86 with a size of 2.52 GBs. Since I use a fairly slow internet connection it took me AGES to complete. Now that I want to burn it on a DVD so I can use it as a bootable disc, I see that there is no single image file like ISO,...
Installation & Setup
How to make ISO file out of Windows 7 files
I have recently purchased VAIO notebook that comes with windows7 sp1 but without installation disc. I was told I just need to create system image later on a DVD which I can use for any restoration or reinstallation purpose in the event of any crash/virus attack. Product key anyway is specified on...
Backup and Restore
Make details of FLV files show in windows explorer?
Is there any way to make the details of a FLV file, especially resolution and runtime, show up in the details view of Windows explorer? I have the Shark007 codec pack, and can see thumbnails just fine, but no information about the FLV files, other than their file size, shows up in the details...
Music, Pictures & Video

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 02:27.
Twitter Facebook