Annoyances.org
Home » Windows XP Discussion Forum » Message 1182376024 Search | Help | Home
  
How to Disable the Autorun Dialog
Wednesday, June 20, 2007 at 2:47 pm
Windows XP Annoyances Discussion Forum
Posted by Fred Lewis (1 messages posted)


To disable the autorun dialog that pops up when you connect a Firewire or USB drive, 
create a new DWORD called "NoDriveTypeAutorun" (without the quotes) in the following 
registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer

Then set its value as follows:

Each hex value represents a 1 or a 0 in binary at a particular digit.  Select the 
values for the options you want and add them together (thus setting 1s and 0s accordingly).


Hex Decimal Meaning 0x1 1 Disables Autoplay on drives of unknown type. 0x4 4 Disables Autoplay on removable drives. 0x8 8 Disables Autoplay on fixed drives. 0x10 16 Disables Autoplay on network drives. 0x20 32 Disables Autoplay on CD-ROM drives. 0x40 64 Disables Autoplay on RAM drives. 0x80 128 Disables Autoplay on drives of unknown type. 0xFF 255 Disables Autoplay on all types of drives So, if you want to dissable autorun for all but CD ROM insertion, add decimal 1+4+8+16+64+128 (skipping 32 for CD ROM), to get a total of 221 decimal or DD hex. Enter DD in hex as your value for the DWORD "NoDriveTypeAutorun" you created above. This will allow the installer CD ROMs you insert to still autorun, but will eliminate that annoying dialog that would otherwise come up when you connect a USB drive. To dissable autorun for ALL drives including CD ROM, enter the value of 255 decimal or FF hex (all bits set).



Written in response to:
Disabling Autoplay for ALL removable media (Andrew: Thursday, June 29, 2006 at 10:50 am)

There are presently no replies to this message.

All messages in this thread [show all]
-Disabling Autoplay for ALL removable media (Andrew: Thu, Jun 29, 2006, 10:50 am)
-re: Disabling Autoplay for ALL removable media (666: Thu, Jun 29, 2006, 11:10 am)
-re: Disabling Autoplay for ALL removable media (Andrew: Thu, Jun 29, 2006, 11:33 am)
-re: Disabling Autoplay for ALL removable media (666: Thu, Jun 29, 2006, 11:43 am)
*re: Disabling Autoplay for ALL removable media (Andrew: Thu, Jun 29, 2006, 12:33 pm)
*re: Disabling Autoplay for ALL removable media (Florian: Sun, Apr 27, 2008, 6:17 am)
-re: Disabling Autoplay for ALL removable media (Rich Kurtz: Thu, Jun 29, 2006, 2:02 pm)
-re: Disabling Autoplay for ALL removable media (Andrew: Thu, Jun 29, 2006, 2:29 pm)
-re: Disabling Autoplay for ALL removable media (Rich Kurtz: Thu, Jun 29, 2006, 6:03 pm)
-re: Disabling Autoplay for ALL removable media (Pics73: Fri, Jun 30, 2006, 6:19 am)
-re: Disabling Autoplay for ALL removable media (666: Fri, Jun 30, 2006, 9:11 am)
*re: Disabling Autoplay for ALL removable media (Andrew: Fri, Jun 30, 2006, 9:19 am)
*re: Disabling Autoplay for ALL removable media (The Dude: Thu, Nov 2, 2006, 1:11 am)
-re: Disabling Autoplay for ALL removable media (Jake Foell: Mon, Jan 29, 2007, 6:25 am)
*re: Disabling Autoplay for ALL removable media (werner: Mon, Jan 29, 2007, 7:45 am)
-re: Disabling Autoplay for ALL removable media (loyd9: Tue, Jan 30, 2007, 4:42 am)
*re: Disabling Autoplay for ALL removable media (vtol: Fri, Mar 9, 2007, 6:50 pm)
*re: Disabling Autoplay for ALL removable media (sagar: Sun, Apr 8, 2007, 12:16 pm)
-re: Disabling Autoplay for ALL removable media (Stephen Jones: Thu, Apr 26, 2007, 5:13 pm)
*re: Disabling Autoplay for ALL removable media (Rich Kurtz: Fri, Apr 27, 2007, 4:21 pm)
*How to Disable the Autorun Dialog (Fred Lewis: Wed, Jun 20, 2007, 2:47 pm)
Return to the Windows XP Discussion Forum

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