Jan 22, 2008

How to Disable USB and CD Autorun


AutoRun
Originally uploaded by buckyreed
Do you want to stop your USB flash drive from automatically opening? Did you turn off autorun on your CD drive, but now you want it to work again? Do you need to enable AutoRun on your DVD, but want to disable autoplay on your camera? Here is how to fine-tune how autoplay works for any version of Windows.

1. Go the Start button and select Run
2. Type in REGEDIT and click OK
3. Go to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion \Policies\Explorer
4. Double-click on the "NoDriveTypeAutoRun" key.
5. Change Hexidecimal value data to FF to completely disable autoplay. Alternately you can choose combinations of values from the following table to customize how autoplay works.
6. Hit the OK button and the change will take effect immediately.


Hex (Decimal) and the Effect
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 disks.
0x80 (128) Disables Autoplay on drives of unknown type.
0xFF (255) Disables Autoplay on all types of drives.

The default value in Windows XP is 0x91 (decimal 145) which allows autoplay on everything but network and unknown drives.

0xDF (decimal 223) Turns on autoplay for CD and DVD only.
0xFF (decimal 255) Turns off autoplay for everything.
0xFB (decimal 251) Turns on autoplay for flash drives and removable disks only.

6 comments:

Samir said...

Thanks a lot. This is the best article about "disabling autorun" that I found.

guyuomo said...

I agree w/Samir...
Straight to the point and I was able to have autorun disabled in under 5 min.

I did one thing different though...
I edited HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion \Policies\Explorer\NoDriveTypeAutoRun

The DWORD value may not exist in Explorer, but you can right-click and select New>DWORD Value and name it NoDriveTypeAutoRun. Then set the value to 255 (decimal) or FF (hex).

Anonymous said...

Very good and straight to the point. thanks

Diamonds

sarah said...

24/7 Techies helps you to save your time and money by solving your home
computer problems online.
We24support
Computer support

PC Tune Up Service said...

Nice tip thanks for it.

Bigred246 said...

Hi I have a DDX4033 I bought it off a guy who is not original owner and it is asking for security code how do I work around this?