Annoyances.org
Home » Windows XP Discussion Forum » Message 1139360003 » Entire Thread Search | Help | Home
  
Can you keep Autoplay for apps, but disable autorun.inf file?
Showing all messages in thread #1139360003
Windows XP Annoyances Discussion Forum


The following are all of the messages in this thread (10 in all), shown in chronological order. Click any message subject to view that message by itself or to view the thread hierarchy.
Can you keep Autoplay for apps, but disable autorun.inf file?
Tuesday, February 7, 2006 at 4:53 pm
Posted by JB (2 messages posted)

Autorun works great for me, I run WMP to automatically rip MP3s from a CD and run DVDShrink when I put in a DVD.

But, some CDs (like Velvet Revolver) try to install crap in the background when you insert it.

So, I don't want to disable autoplay but want to prevent the autorun.inf file from executing.  How can you keep Windows XP from running any setup programs, but still keep your autoplay actions?

The registry setting mentioned in the article turns off everything, and TweakUI and the Autoplay options through My Computer don't let you do anything for "Data CD".

[Reply or follow-up to this message]

Tip: Run a free scan for common Windows errors ad

re: Can you keep Autoplay for apps, but disable autorun.inf file?
Tuesday, February 7, 2006 at 9:42 pm
Posted by AnchorMan (1465 messages posted)

You can't that I know of. Autoplay looks for autorun.inf which usually points to an executable or bat file on the CD. Audio CDs are recognized as audio by the burn format. Newer audio cd's are including video and the such, so you either love them or hate them. What you are trying to do is actually an oxymoron. By changing one the other is always affected.

Anchor Man


On Tuesday, February 7, 2006 at 4:53 pm, JB wrote:
>Autorun works great for me, I run WMP to automatically rip MP3s from a CD and run
>DVDShrink when I put in a DVD.
>
>But, some CDs (like Velvet Revolver) try to install crap in the background when you
>insert it.
>
>So, I don't want to disable autoplay but want to prevent the autorun.inf file from
>executing. How can you keep Windows XP from running any setup programs, but still
>keep your autoplay actions?
>
>The registry setting mentioned in the article turns off everything, and TweakUI and
>the Autoplay options through My Computer don't let you do anything for "Data CD".
>
>
>
>

[Reply or follow-up to this message]

re: Can you keep Autoplay for apps, but disable autorun.inf file?
Wednesday, February 8, 2006 at 12:20 pm
Posted by jcw (5100 messages posted)

Are these of any help to you?
for XP Pro:

-->   http://www.annoyances.org/exec/forum/winxp/1091449929
for XP Home:
-->   http://www.annoyances.org/exec/forum/winxp/1091652723




On Tuesday, February 7, 2006 at 4:53 pm, JB wrote:
>Autorun works great for me, I run WMP to automatically rip MP3s from a CD and run
>DVDShrink when I put in a DVD.
>
>But, some CDs (like Velvet Revolver) try to install crap in the background when you
>insert it.
>
>So, I don't want to disable autoplay but want to prevent the autorun.inf file from
>executing.  How can you keep Windows XP from running any setup programs, but still
>keep your autoplay actions?
>
>The registry setting mentioned in the article turns off everything, and TweakUI and
>the Autoplay options through My Computer don't let you do anything for "Data CD".
>
>
>
>

[Reply or follow-up to this message]

Summary of Autoplay capabilities and options
Wednesday, February 8, 2006 at 2:33 pm
Posted by JB (2 messages posted)

I think you are right, Anchor Man. After a lot of research and experimentation, I think the whole Windows Autoplay (aka Autorun) implementation is flawed at best and there is no option that is secure yet does what it's was designed to do. Here's what I think is a definitive summary of what the different Autoplay techniques do:

  1. Autorun= 0/1 registry setting: This prevents Windows from knowing that the CD/DVD has been changed by the user.  (e.g. suppresses the Media Change Notification (MCN) internal message).  This is not recommended because it will confuse apps like Explorer and WMP.
  2. AutoRunAlwaysDisable=0x0–0xFF registry setting: This does essentially the same thing as the "Autorun" setting above, but you can specifiy individual drives. This is also not recommended.
  3. NoDriveTypeAutoRun=0x0–0xFF registry setting: This continues the Media Change Notification (MCN) internal Windows message being sent to applications like Explorer and WMP (if they are open), but the Autoplay actions you choose through the "My Computer" -> "Autoplay" tab won't work. This is also what TweakUI and the Group Policy (gpedit.msc) techniques set.
In a perfect world, we'd use the "My Computer" -> "Autoplay" tab to set all the Autoplay options we want, including preventing EXEs from running automatically from a CD. But, that's apparently not possible right now with the OS.

My recommendation is to keep your computer as secure as possible and prevent EXEs from being automatically installed from the CD without your knowledge and consent. So, turn off Autoplay using techinque #3 above and just manually start the application you want, and manually run the setup programs from data CDs.




On Tuesday, February 7, 2006 at 9:42 pm, AnchorMan wrote:
>You can't that I know of. Autoplay looks for autorun.inf which usually points to
>an executable or bat file on the CD. Audio CDs are recognized as audio by the burn
>format. Newer audio cd's are including video and the such, so you either love them
>or hate them. What you are trying to do is actually an oxymoron. By changing one
>the other is always affected.
>
>
>
>

Anchor Man

[Reply or follow-up to this message]

re: Summary of Autoplay capabilities and options
Wednesday, February 8, 2006 at 8:13 pm
Posted by AnchorMan (1465 messages posted)

Thanks for the summary... We can't always get what we want, but we can use Linux! Sometimes you just gotta program it yourself....

Anchor Man


On Wednesday, February 8, 2006 at 2:33 pm, JB wrote:
>I think you are right, Anchor Man. After a lot of research and experimentation,
>I think the whole Windows Autoplay (aka Autorun) implementation is flawed at best
>and there is no option that is secure yet does what it's was designed to do. Here's
>what I think is a definitive summary of what the different Autoplay techniques do:
>


    >
  1. Autorun= 0/1 registry setting: This prevents Windows from knowing that
    >the CD/DVD has been changed by the user. (e.g. suppresses the Media Change Notification
    >(MCN) internal message). This is not recommended because it will confuse apps like
    >Explorer and WMP.

  2. >
    >
  3. AutoRunAlwaysDisable=0x0–0xFF registry setting: This does essentially
    >the same thing as the "Autorun" setting above, but you can specifiy individual drives.
    > This is also not recommended.

  4. >
    >
  5. NoDriveTypeAutoRun=0x0–0xFF registry setting: This continues the Media
    >Change Notification (MCN) internal Windows message being sent to applications like
    >Explorer and WMP (if they are open), but the Autoplay actions you choose through
    >the "My Computer" -> "Autoplay" tab won't work. This is also what TweakUI
    >and the Group Policy (gpedit.msc) techniques set.

  6. >

>In a perfect world, we'd use the "My Computer" -> "Autoplay" tab to set all the Autoplay
>options we want, including preventing EXEs from running automatically from a CD.
> But, that's apparently not possible right now with the OS.

>
>My recommendation is to keep your computer as secure as possible and prevent EXEs
>from being automatically installed from the CD without your knowledge and consent.
> So, turn off Autoplay using techinque #3 above and just manually start the application
>you want, and manually run the setup programs from data CDs.
>
>

[Reply or follow-up to this message]

Thanks, Anchor Man & JB
Saturday, May 27, 2006 at 9:29 pm
Posted by dv (1 messages posted)

That is exactly what I was looking for. Too bad it doesn't exist. I think it's ridiculous (but typical Microsoft) that when inserting a CD or DVD, the OS just dives in head-first to do whatever the disc tells it too. And I like the AutoPlay features, but AutoRun (the AUTORUN.INF open=... thing) is fool-hardy and usually annoying. With all the choices you get for AutoPlay in XP now, you'd think they would at least give you some options for the AutoRun feature. It asks me what software to run for the DVD, but then says, "Oh! It has an installer too! Let's go!" I'm going to go with the Option #3 JB gave and just forgo the AutoPlay feature. DV


On Wednesday, February 8, 2006 at 2:33 pm, JB wrote:
>I think you are right, Anchor Man. After a lot of research and experimentation,
>I think the whole Windows Autoplay (aka Autorun) implementation is flawed at best
>and there is no option that is secure yet does what it's was designed to do. Here's
>what I think is a definitive summary of what the different Autoplay techniques do:
>


    >
  1. Autorun= 0/1 registry setting: This prevents Windows from knowing that
    >the CD/DVD has been changed by the user. (e.g. suppresses the Media Change Notification
    >(MCN) internal message). This is not recommended because it will confuse apps like
    >Explorer and WMP.

  2. >
    >
  3. AutoRunAlwaysDisable=0x0–0xFF registry setting: This does essentially
    >the same thing as the "Autorun" setting above, but you can specifiy individual drives.
    > This is also not recommended.

  4. >
    >
  5. NoDriveTypeAutoRun=0x0–0xFF registry setting: This continues the Media
    >Change Notification (MCN) internal Windows message being sent to applications like
    >Explorer and WMP (if they are open), but the Autoplay actions you choose through
    >the "My Computer" -> "Autoplay" tab won't work. This is also what TweakUI
    >and the Group Policy (gpedit.msc) techniques set.

  6. >

>In a perfect world, we'd use the "My Computer" -> "Autoplay" tab to set all the Autoplay
>options we want, including preventing EXEs from running automatically from a CD.
> But, that's apparently not possible right now with the OS.

>
>My recommendation is to keep your computer as secure as possible and prevent EXEs
>from being automatically installed from the CD without your knowledge and consent.
> So, turn off Autoplay using techinque #3 above and just manually start the application
>you want, and manually run the setup programs from data CDs.
>
>

[Reply or follow-up to this message]

re: Thanks, Anchor Man & JB
Sunday, May 28, 2006 at 3:53 am
Posted by Matthew D. Healy (1255 messages posted)

Yes it is ridiculous, but remember that the basic mechanism was designed in the Windows 95 era, when CD-burners were extremely rare and extremely expensive so CDs basically only came from large companies whom Microsoft trusted!

My own approach actually is I leave Autoplay enabled for convenience most of the time, but to play untrusted CD or DVD disks I use Linux -- and ever since learning what SONY did, untrusted CDs certainly do include audio disks from major labels. Fortunately, SONY got spanked pretty hard after that stupidity so other companies will think twice before they pull similar stunts -- I hope. As Reagan said, "trust but verify."




On Saturday, May 27, 2006 at 9:29 pm, dv wrote:
>That is exactly what I was looking for. Too bad it doesn't exist. I think it's
>ridiculous (but typical Microsoft) that when inserting a CD or DVD, the OS just dives
>in head-first to do whatever the disc tells it too. And I like the AutoPlay features,
>but AutoRun (the AUTORUN.INF open=... thing) is fool-hardy and usually annoying.
> With all the choices you get for AutoPlay in XP now, you'd think they would at least
>give you some options for the AutoRun feature. It asks me what software to run for
>the DVD, but then says, "Oh! It has an installer too! Let's go!"
>
>I'm going to go with the Option #3 JB gave and just forgo the AutoPlay feature.
>
>
>DV

[Reply or follow-up to this message]

re: Can you keep Autoplay for apps, but disable autorun.inf file?
Saturday, February 10, 2007 at 5:38 pm
Posted by ints (1 messages posted)

Check this in the XP registry, it seems some kind of autorun prevention by filetype 
or textstring:

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\CancelAutoplay\Files]
"*setup*.exe"=""
"*instal*.exe"=""
"*setup*.bat"=""
"*instal*.bat"=""
"*setup*.cmd"=""
"*instal*.cmd"=""
"*setup*.com"=""
"*instal*.com"=""
"Y?kle*"=""
"Felrak.exe"=""
"Imposta.exe"=""
"KUR.exe"=""
"Ayarla.exe"=""
"sfc2.ico"=""
"evanims"=""
"00000001.tmp"=""
"updmoney.exe"=""
"hs\\media\\y\\11399\\11399_cd_fp.jpg"=""
"hs\\media\\y\\9953\\9953_cd_fp.jpg"=""
"hs\\media\\y\\9951\\9951_cd_fp.jpg"=""
"hs\\media\\y\\9964\\9964_cd_fp.jpg"=""
"hs\\media\\y\\9968\\9968_cd_fp.jpg"=""






On Tuesday, February 7, 2006 at 9:42 pm, AnchorMan wrote:
>You can't that I know of. Autoplay looks for autorun.inf which usually points to
>an executable or bat file on the CD. Audio CDs are recognized as audio by the burn
>format. Newer audio cd's are including video and the such, so you either love them
>or hate them. What you are trying to do is actually an oxymoron. By changing one
>the other is always affected.
>
>
>
>

Anchor Man

[Reply or follow-up to this message]

re: Summary of Autoplay capabilities and options
Friday, June 15, 2007 at 9:43 am
Posted by InterClaw (1 messages posted)

And what if I want to accomplish the exact opposite?

I'm trying to make my USB drive always execute the same program, no questions asked, 
when inserted. 

Instead, since it finds some pictures here and there that AutoPlay functionality 
kicks in and keeps asking me what it should do, scan and print and whatnot. And I 
HATE that!

Please forget about those handles and just run my command in autorun.inf already!

Can I fix this?






On Wednesday, February 8, 2006 at 2:33 pm, JB wrote:
>I think you are right, Anchor Man. After a lot of research and experimentation,
>I think the whole Windows Autoplay (aka Autorun) implementation is flawed at best
>and there is no option that is secure yet does what it's was designed to do. Here's
>what I think is a definitive summary of what the different Autoplay techniques do:
>

    >
  1. Autorun= 0/1 registry setting: This prevents Windows from knowing that
    >the CD/DVD has been changed by the user. (e.g. suppresses the Media Change Notification
    >(MCN) internal message). This is not recommended because it will confuse apps like
    >Explorer and WMP.

  2. >
    >
  3. AutoRunAlwaysDisable=0x0–0xFF registry setting: This does essentially
    >the same thing as the "Autorun" setting above, but you can specifiy individual drives.
    > This is also not recommended.

  4. >
    >
  5. NoDriveTypeAutoRun=0x0–0xFF registry setting: This continues the Media
    >Change Notification (MCN) internal Windows message being sent to applications like
    >Explorer and WMP (if they are open), but the Autoplay actions you choose through
    >the "My Computer" -> "Autoplay" tab won't work. This is also what TweakUI
    >and the Group Policy (gpedit.msc) techniques set.

  6. >

>In a perfect world, we'd use the "My Computer" -> "Autoplay" tab to set all the Autoplay
>options we want, including preventing EXEs from running automatically from a CD.
> But, that's apparently not possible right now with the OS.

>
>My recommendation is to keep your computer as secure as possible and prevent EXEs
>from being automatically installed from the CD without your knowledge and consent.
> So, turn off Autoplay using techinque #3 above and just manually start the application
>you want, and manually run the setup programs from data CDs.
>
>

[Reply or follow-up to this message]

re: Can you keep Autoplay for apps, but disable autorun.inf file?
Thursday, February 19, 2009 at 12:56 am
Posted by Diamond (1 messages posted)

I know how to disable autorun.inf Read this: http://www.tirasoft.com


On Tuesday, February 7, 2006 at 4:53 pm, JB wrote:
>Autorun works great for me, I run WMP to automatically rip MP3s from a CD and run
>DVDShrink when I put in a DVD.
>
>But, some CDs (like Velvet Revolver) try to install crap in the background when you
>insert it.
>
>So, I don't want to disable autoplay but want to prevent the autorun.inf file from
>executing.  How can you keep Windows XP from running any setup programs, but still
>keep your autoplay actions?
>
>The registry setting mentioned in the article turns off everything, and TweakUI and
>the Autoplay options through My Computer don't let you do anything for "Data CD".
>
>
>
>

[Reply or follow-up to this message]

Tip: Use one of the [Reply or follow-up to this message] links above to add a message to this thread
Return to the Windows XP Discussion Forum


All content at Annoyances.org is Copyright © 1995-2009 Creative Elementtm All rights reserved.
Please do not plagiarize; redistributing these pages without permission is strictly prohibited.