|
|
|
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).
|
All messages in this thread [show all]
 |  | How to Disable the Autorun Dialog (Fred Lewis: Wed, Jun 20, 2007, 2:47 pm) |
| |
| |
Return to the Windows XP Discussion Forum
|
|
|
|