Disable drives of the specified type to run automatically.
This setting disables the Autoplay feature of the drives of the type specified.
Level: Recommended For Experts Only
Description:
Autoplay makes the cds 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: <table><tr><td>value</td><td>meaning</td></tr><tr><td>1</td><td>disables autoplay on drives of unknown type.</td></tr><tr><td>4</td><td>disables autoplay on removable drives.</td></tr><tr><td>8</td><td>disables autoplay on fixed drives.</td></tr><tr><td>10</td><td>disables autoplay on network drives.</td></tr><tr><td>20</td><td>disables autoplay on cd-rom drives.</td></tr><tr><td>40</td><td>disables autoplay on ram drives.</td></tr><tr><td>80</td><td>disables autoplay on drives of unknown type.</td></tr><tr><td>ff</td><td>disables autoplay on all types of drives.</td></tr></table> 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. When editing the registry it is highly recommended to run a quick scan for optimization, you can test your system now for free.
Autoplay makes the cds 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: <table><tr><td>value</td><td>meaning</td></tr><tr><td>1</td><td>disables autoplay on drives of unknown type.</td></tr><tr><td>4</td><td>disables autoplay on removable drives.</td></tr><tr><td>8</td><td>disables autoplay on fixed drives.</td></tr><tr><td>10</td><td>disables autoplay on network drives.</td></tr><tr><td>20</td><td>disables autoplay on cd-rom drives.</td></tr><tr><td>40</td><td>disables autoplay on ram drives.</td></tr><tr><td>80</td><td>disables autoplay on drives of unknown type.</td></tr><tr><td>ff</td><td>disables autoplay on all types of drives.</td></tr></table> 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. When editing the registry it is highly recommended to run a quick scan for optimization, you can test your system now for free.
Screenshots

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

Go to <b>[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\]</b>,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.
Registry Entries
- back to top- Path: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\]
- Location: Current User
- Value Name: NoDriveTypeAutoRun
- Data Type: DWORD (DWORD Value)
- Enabled Value: 20
- Action Type: Modified
Related Tweaks
- back to topTweak Library Terms
- back to top- Application Paths
- Authentication
- Auto Play
- Browser
- Console
- Control Panel
- CPU
- Desktop
- Display
- Error Reporting
- Explorer
- File System
- Files and Folders
- Firewall
- Fonts and Icons
- General Info
- Group Policies
- Hardware
- Input/Output Devices
- Installations
- Internet Explorer
- Memory Settings
- Messenger
- Microsoft Office
- Networks Cards
- Network Internet Connections
- Other Programs
- Outlook and Outlook Express
- Performance Settings
- Product Updates
- Scheduler
- Search
- Security
- Services
- Sound and Video Controllers
- Start Menu
- Startup and Shutdown
- Storage Devices
- System
- System Restore
- System Settings
- Taskbar
- User Interface
- Windows Applications
- Windows Firewall
- Windows Media Player
- Winzip
