Home » Questions » Computers [ Ask a new question ]

Disable Autoplay of Audio CDs and USB Drives with registry

Disable Autoplay of Audio CDs and USB Drives with registry

I find it very annoying when I go home from work and plug my laptop into my external hard drive… The autoplay window always pops up and asks me what I want to do with the files, which may be fine the first time, but definitely isn’t after a year of that.

Asked by: Guest | Views: 251
Total answers/comments: 1
Guest [Entry]

"Look at How to selectively disable specific Autorun features on the Microsoft KB967715 page.

To selectively disable specific Autorun features, you must change the NoDriveTypeAutoRun entry in one of the following registry key subkeys:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\policies\Explorer\

The following table shows the settings
for the NoDriveTypeAutoRun registry entry.
Collapse this tableExpand this table

Value Meaning
0x1 or
0x80 Disables AutoRun on drives of unknown type
0x4 Disables AutoRun on removable drives
0x8 Disables AutoRun on fixed drives
0x10 Disables AutoRun on network drives
0x20 Disables AutoRun on CD-ROM drives
0x40 Disables AutoRun on RAM disks
0xFF Disables AutoRun on all kinds of drives

The value of the NoDriveTypeAutoRun registry entry determines
which drive or drives the Autorun functionality will be disabled for."