Disable Autoplay on removable drives (For All Users).
This tweak lets you disable the Autoplay feature of the removable drives like Floppy and ZIP drive.
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 removable drives like floppy and zip selectively. For this, go to start > run menu, enter regedit and navigate to the registry path listed below. If the subkey \explorer does not exist, create it as explained below. Then, create the dword value nodrivetypeautorun in the right panel. Right-click this value name and modify the value data with 04 to enable the setting. Note: any of these values or a combination of two or more values can be put in as new value. Say, if you want both network drives and removable drives disabled to autoplay, the new value will be (10+04) = 14. However, if you want to revert to default value, change the value data to 95. This is the sum of 1-unknown types, 80-unknown types, 4-removable drives, and 10-network drives. The changes take effect after a restart or logoff. The values assigned to disable various drives are: <table><tr><td><center>value</center></td><td><center>meaning</center></td><tr><td><center>1</center></td><td>disables autoplay on drives of unknown type.</td></tr><tr><td><center>4</center></td><td>disables autoplay on removable drives.</td></tr><tr><td><center>8</center></td><td>disables autoplay on fixed drives.</td></tr><tr><td><center>10</center></td><td>disables autoplay on network drives.</td></tr><tr><td><center>20</center></td><td>disables autoplay on cd-rom drives.</td></tr><tr><td><center>40</center></td><td>disables autoplay on ram disks.</td></tr><tr><td><center>80</center></td><td>disables autoplay on drives of unknown type.</td></tr><tr><td><center>ff</center></td><td>disables autoplay on all types of drives.</td></tr></table> remember: autoplay is also disabled on any drive if it is disabled by the value of nodriveautorun or nodrivetypeautorun in hkey_local_machine or hkey_current_user. But if either of the value name nodriveautorun or nodrivetypeautorun appears in hkey_local_machine, the corresponding entry in hkey_current_user is 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 removable drives like floppy and zip selectively. For this, go to start > run menu, enter regedit and navigate to the registry path listed below. If the subkey \explorer does not exist, create it as explained below. Then, create the dword value nodrivetypeautorun in the right panel. Right-click this value name and modify the value data with 04 to enable the setting. Note: any of these values or a combination of two or more values can be put in as new value. Say, if you want both network drives and removable drives disabled to autoplay, the new value will be (10+04) = 14. However, if you want to revert to default value, change the value data to 95. This is the sum of 1-unknown types, 80-unknown types, 4-removable drives, and 10-network drives. The changes take effect after a restart or logoff. The values assigned to disable various drives are: <table><tr><td><center>value</center></td><td><center>meaning</center></td><tr><td><center>1</center></td><td>disables autoplay on drives of unknown type.</td></tr><tr><td><center>4</center></td><td>disables autoplay on removable drives.</td></tr><tr><td><center>8</center></td><td>disables autoplay on fixed drives.</td></tr><tr><td><center>10</center></td><td>disables autoplay on network drives.</td></tr><tr><td><center>20</center></td><td>disables autoplay on cd-rom drives.</td></tr><tr><td><center>40</center></td><td>disables autoplay on ram disks.</td></tr><tr><td><center>80</center></td><td>disables autoplay on drives of unknown type.</td></tr><tr><td><center>ff</center></td><td>disables autoplay on all types of drives.</td></tr></table> remember: autoplay is also disabled on any drive if it is disabled by the value of nodriveautorun or nodrivetypeautorun in hkey_local_machine or hkey_current_user. But if either of the value name nodriveautorun or nodrivetypeautorun appears in hkey_local_machine, the corresponding entry in hkey_current_user is 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".

Now, go to <b>[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\] </b> and create a Subkey 'Explorer' under 'Policies'.

Now, create a 'DWORD' value as 'NoDriveTypeAutoRun'.

Further, right click on the 'Dword' value 'NoDriveTypeAutoRun' and select 'Modify'.

Finally set the value data as '04' to disable Removable Drives (Floppy, ZIP) from running automatically.
Registry Entries
- back to top- Path: [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\]
- Location: Local Machine
- Value Name: Explorer
- Data Type: Key
- Action Type: Add an Entry
- Path: [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\]
- Location: Local Machine
- Value Name: NoDriveTypeAutoRun
- Data Type: DWORD (DWORD Value)
- Enabled Value: 04
- Action Type: Add an Entry
Tweak 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
