Disable auto run cd room and usb drive

autorun-disable-windows-registry-drivesDisabling autorun in the Group Policy Editor
If you have a computer, and you would like a hard way, you can use this tool to disable the automatic Gpedit.msc. Gpedit.msc does not work on Windows Home Edition, Windows XP.

1. Go to Start -> Run
2. type GPEDIT.MSC
3. Click OK
4. Navigate to Local Computer Policy -> Computer Configuration -> Administrative Template -> System
5. Double click Turn Off Autoplay
6. Select Enabled from the radio buttons
7. On the Turn off autoplay dropdown box select All drives
8. Click OK button, Close Group Policy Editor

Disabling Autorun Registry Editor
If you use Windows Home, you can automatically using the Registry Editor.

1. Go to Start -> Run
2. enter Regedit and click OK
3. Navigate to HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet -> Services -> CDROM
4. Double Click on Autorun
5. Change from 1 to 0. The default value 1 means autorun is enabled on CDROM
6. Navigate to HKEY_CURRENT_USER -> Software -> Microsoft -> Windows -> CurrentVersion -> Policies -> Explorer
7. Double click on NoDriveTypeAutoRun
8. Change the current valut to B5 in Hex. This disables CDROMs and USB drives

To turn off the device, see the table below.
Value Meaning
0×1 Disables Autoplay on drives of unknown type.
0×4 Disables Autoplay on removable drives.
0×8 Disables Autoplay on fixed drives.
0×10 Disables Autoplay on network drives.
0×20 Disables Autoplay on CD-ROM drives.
0×40 Disables Autoplay on RAM disks.
0×80 Disables Autoplay on drives of unknown type.
0xFF Disables Autoplay on all types of drives.

The default is disabled automatically for removable media such as floppy disk drive (not CD-ROM), as well as network drives. The default value of 0×95 (149) is the sum of 0×1, 0×80 (unknown type), 0×4 (floppy disk) and 0×10 (network drives). 0xB5 is the sum of 0×1, 0×4, 0×10, 0×20 and 0×80. B5 181 in hex and decimal.






Leave a Reply