Ask Leo! by Leo A. Notenboom

How do I *really* disable auto-play in Windows XP?

Search First! Then browse: Categories | Full Archive | By Date | Newsletter

Home » Windows » Windows Configuration

Comments

Read the article that everyone's commenting on.
RSS feed Subscribe to the RSS Feed for comments on this article.

Comment Page:  1  |  2  |  3  |  4  |  5 

ps.

In addition to my comment posted above; The funny thing is: when the Group Policy option is set, it becomes practically impossible to access the Registry key any more! :-F

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CDRom

Posted by: nimd4 at October 7, 2008 7:23 AM

Not sure if I am the only one with this added problem, but when I tried to change the group policy as described above, I couldn't find the System option. To solve this, right click on administrative templates, select add/remove templates, and select system.adm. The option to disable autoplay is now available.

Posted by: Kvwielink at November 9, 2008 6:57 PM

Great advice!!! Thank you so much. I have to agree with Haz, I think that the Group Policy method does not work with Home Edition as gpedit.msc does not even exist on my OS drive. However, TweakUI is a great tool for any XP machine if you know how to use it, or only use it for things like this that give you clear direction.

Posted by: derick03 at January 20, 2009 3:43 PM

Open Notepad and copy/paste the following into a text file:

REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf]
@="@SYS:DoesNotExist"

Save the file as something.reg. (You have to be sure to change the "Save File as Type" to "All Files" before saving, or Windows will try to save it as a .txt even if you typed in .reg.

Locate the file you just saved and double-click the file to run it. You will receive a prompt asking if you want to add the data to the registry. Click yes to allow the modification.

The above method nulls any request for autorun.inf and works on XP Home or Pro, as well as Windows Vista.

Posted by: Ras Manyobvo Machipanda at January 21, 2009 8:23 AM

This is how you can easily disable AutoPlay

Open Notepad and copy/paste the following into a text file:

REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoDriveTypeAutoRun"=dword:000000B1

Save the file as something.reg. (You have to be sure to change the "Save File as Type" to "All Files" before saving, or Windows will try to save it as a .txt even if you typed in .reg.

Locate the file you just saved and double-click the file to run it. You will receive a prompt asking if you want to add the data to the registry. Click yes to allow the modification.

and to re-enable it, use this:

REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoDriveTypeAutoRun"=dword:00000091

Posted by: M3TAL_L0RD at April 14, 2009 10:35 AM

For those who have XP Home (no gpedit.msc) and don't want to hassle with the registry, I found a nice tool that turns off autoplay in the easiest way that I have ever seen (it's also reversible). Just Google for "Auto Play Squelch" and you will find it.

Posted by: George at August 26, 2009 2:43 PM

SP3 makes it even harder to use the regedit app. And pretty much makes it necessary to use third party utilities or TweakUI. Why does MS continue to make it difficult for users to secure the OS?

Posted by: Gregory Robinson at August 29, 2009 2:11 PM

Oh and by the way, M3TAL_L0RD's posting does not work with Windows XP Pro SP3 even under admin credentials and after a reboot. Nice try though.

Posted by: GRob at August 29, 2009 2:40 PM

M3TAL_L0RD's posting will work swapping HKEY_CURENT_USER with HKEY_LOCAL_MACHINEthe and the addition of the following registry key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer]"HonorAutoRunSetting"=dword:00000000

Posted by: GRob at August 29, 2009 3:15 PM

Sorry, that should be HKEY_LOCAL_MACHINE with no "the" at the end of HKEY_LOCAL_MACHINE.

Posted by: GRob at August 29, 2009 3:17 PM
Comment Page:  1  |  2  |  3  |  4  |  5 
Read the article that everyone's commenting on.
RSS feed Subscribe to the RSS Feed for comments on this article.
Post a Comment

To post a comment on "How do I *really* disable auto-play in Windows XP?", please return to that article's main page.

Question? Ask Leo!