Systweak Tweak Library
Tweaks are tricks & hacks for optimizing your system and helps in enhancing & securing your Operating System
 
 
Skip Navigation LinksHome > Hardware > Storage Device > Disable drives of the specified type to run automatically
ardware
Disable drives of the specified type to run automatically.

This setting disables the Autoplay feature of the drives of the type specified.

Tweak for : Windows 98, Windows Me, Windows XP, Windows 2003, Windows 2000, Windows Vista
Autoplay makes the CD’s or other devices to play automatically or run a program when a disc is inserted into the drive. This setting disables the Autoplay feature of the drives of the type specified. By default, the Autoplay is disabled on removable drives, such as the floppy disk drive and network drives but not the CD-ROM drive.

If this setting is enabled, you can also disable Autoplay on CD-ROM drives selectively or disable Autoplay on all drives. The default value is 0x95, which is the sum of 0x1 (unknown types), 0x80 (unknown types), 0x4 (floppy drives), and 0x10 (network drives). The default value can be modified to any of these:

ValueMeaning
1Disables Autoplay on drives of unknown type.
4Disables Autoplay on removable drives.
8Disables Autoplay on fixed drives.
10Disables Autoplay on network drives.
20Disables Autoplay on CD-ROM drives.
40Disables Autoplay on RAM drives.
80Disables Autoplay on drives of unknown type.
FFDisables Autoplay on all types of drives.


To disable Autoplay on a particular type of drive, set the bit representing that type of drive to 1. To disable more than one type of drive, either set the bits representing each type to 1 or sum the hexadecimal values of the representative bits.

For this, go to Start > Run menu, enter “regedit” and navigate to the registry path listed below. Now, create the DWORD value name, “NoDriveTypeAutoRun” in the right panel, if this value does not exist. Right-click this value name and modify the value data with “20” or add “20” to the existing value to enable the setting.

Click “OK” and close the registry editor.

Restart the system or logoff to see the changes taking effect.

Note:

1. This setting does not prevent Autoplay for music CDs.

2. Autoplay is disabled on any drive if the value of NoDriveAutoRun (in HKLM or HKCU) or NoDriveTypeAutoRun (in HKLM or HKCU) is set to disable it. But if it appears in HKEY_LOCAL_MACHINE, the corresponding entries in HKEY_CURRENT_USER are ignored.

Apply registry settings according below given steps of screenshots with related changes.

First, click the 'Start' button, and select 'Run'. In the resulting dialog box, type "regedit".

Go to [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\],right-click on "NoDriveTypeAutoRun" and click on 'Modify'.

Finally, enter the value "20" (Base Hexadecimal) Without quotation in the text box and click on 'OK'. Once you are done. After a restart or logoff, the changes take effect.

Disable Autoplay on CD-ROM drives (For All Users).

Category : Hardware > Storage Device

This tweak lets you disable the Autoplay feature of the removable drive CD-ROM.

Get the CD-Key from the registry (For Win 98/Me).

Category : Hardware > Storage Device

This setting enables you to get the CD-key that was used for an installation from the registry.

Disable AutoRun of your CD-ROM drives.

Category : Hardware > Storage Device

This tweak lets you disable autorun function of your CD-ROM.

 
 
Remove spyware infections automatically / manually | Check for file authenticity
 
Systweak Inc.
© Systweak Inc., 1999-2017 All rights reserved.
Microsoft Gold Certified Partner