HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\policies\Explorer\
The following values shows the settings for the NoDriveTypeAutoRun registry entry.
Value | Meaning |
---|---|
0x1 or 0x80 | Disables AutoRun on drives of unknown type |
0x4 | Disables AutoRun on removable drives |
0x8 | Disables AutoRun on fixed drives |
0x10 | Disables AutoRun on network drives |
0x20 | Disables AutoRun on CD-ROM drives |
0x40 | Disables AutoRun on RAM disks |
0xFF | Disables AutoRun on all kinds of drives |
The value of the NoDriveTypeAutoRun registry entry determines which drive or drives the Autorun functionality will be disabled for. For example, if you want to disable Autorun for network drives only, you must set the value of NoDriveTypeAutoRun registry entry to 0x10.
If you want to disable Autorun for multiple drives, you must add the corresponding hexadecimal values to the 0x10 value. For example, if you want to disable Autorun for removable drives and for network drives, you must add 0x4 and 0x10, which is the mathematical addition of 2 hexadecimal values, to determine the value to use. 0x4 + 0x10 = 0x14. Therefore, in this example, you would set the value of the NoDriveTypeAutoRun entry to 0x14.
The default value for the NoDriveTypeAutoRun registry entry varies for different Windows-based operating systems:
Operating system | Default value |
---|---|
Windows Server 2008 and Windows Vista | 0x91 |
Windows Server 2003 | 0x95 |
Windows XP | 0x91 |
Windows 2000 | 0x95 |
No comments:
Post a Comment