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: Creating an autorun file

3 Weeks Ago   #1
elawhomey10

Windows 7 64 bit
 
 
Creating an autorun file

I can't figure out how to set up an autorun file. Does the file have to reside on the CD or DVD itself? Can it be on a thumb drive?


My System SpecsSystem Spec
.
3 Weeks Ago   #2
Brink

64-bit Windows 10 Pro
 
 

Hello elawhomey10,

You will still be able to use an autorun.inf file on a CD/DVD or USB flash drive to specify a label or icon for the device. Using an autorun.inf file to run a file on the device when the device is connected is no longer supported though for security reasons.

Autorun.inf Files - Completely Block - Windows 7 Help Forums

Drive Icon - Change - Windows 7 Help Forums

Drive - Rename - Windows 7 Help Forums

I hope this helps some.
My System SpecsSystem Spec
3 Weeks Ago   #3
elawhomey10

Windows 7 64 bit
 
 

Thanks, Brink. I don't understand. Do I need to put the autorun file on a thumb drive? Or does it have to be on the CD or DVD itself?

Thanks in advance.

Ernie Law
My System SpecsSystem Spec
.

3 Weeks Ago   #4
Brink

64-bit Windows 10 Pro
 
 

You can place the autorun.inf file in the root directory of either USB/CD/DVD you prefer.

The tutorial links I posted above can help give more details though.
My System SpecsSystem Spec
3 Weeks Ago   #5
elawhomey10

Windows 7 64 bit
 
 

Thanks. I have an example of an autorun file

[autorun]
open=setup.exe
icon.ico

I don't know what the open file should say or the icon statement either. I looked hard for the answer but couldn't find it.

Thanks for your help.
My System SpecsSystem Spec
3 Weeks Ago   #6
Brink

64-bit Windows 10 Pro
 
 

You wouldn't be able to use the open=setup.exe code anymore since it will no longer work.

You could use this below for the icon though. The .ico file would need to be on the USB/CD/DVD along with the autorun.inf file.

Code:
[autorun]
icon="icon.ico"
My System SpecsSystem Spec
3 Weeks Ago   #7
elawhomey10

Windows 7 64 bit
 
 

I put the autorun.inf file on a flash drive and tried to play a music CD.

I tried:

[autorun]
icon="icon.ico"

But it didn't work, so I tried:

[autorun]
icon="Thumb_Drive.ico"

I do appreciate your help.
My System SpecsSystem Spec
3 Weeks Ago   #8
cornemuse

Windows 7 Home Premium bit
 
 

Good info here:

https://msdn.microsoft.com/en-us/lib...=vs.85%29.aspx

You can do some nifty things with autorun.inf!

-c-
My System SpecsSystem Spec
Reply

 Creating an autorun file




Thread Tools




Similar help and support threads
Thread Forum
Creating .xml file
hi, I wanted to create .xml fiel in office 2007. How do I do it?
Microsoft Office
Creating an image file with MS Office
Ok, so I am REALLY new to this whole image creation thing and I'm kind of lost and looking for assistance if at all possible, so here's what I'm looking to do.... Our small office has several laptops, some with Intel chips, some with AMD. I'm trying to find a way to create an image for each...
Installation & Setup
creating a .reg file for firefox ?
Those of us who use the Shark007 codec packs are certainly aware that installing the bloody bing toolbar is not an option. That in itself doesn't bother me, it's easy enough to uninstall. Problem is, when uninstalled, it still screws with the firefox default search. Normally, when you type a few...
Browsers & Mail
Autorun batch file on external hdd?
Hey, I recently bought an external HDD to back up my files. I wrote a simple batch file to automatically backup files when its plugged into a pc. Its only after writing this and playing around with an autorun.inf that I realised that autorun is disabled in windows 7 for usb devices. Is there...
Hardware & Devices
Creating a dvd with a avi file in nero 9?
For some reason when i add my movie which is .avi format into nero 9 dvd-video burn it says please add rather .avi or.mpg but the movie im adding is .avi Any suggestions on how to reslove this issue? Regards Paul
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 09:21.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App