Home > Windows > File System
(All Windows)
This setting controls which drives the AutoPlay feature is enabled on. When AutoRun is enabled, media is automatically started when it is inserted in the drive.
Open your registry and find or create the key below.
The "NoDriveAutoRun" value uses a 32-bit word to control which drives the AutoPlay feature is enabled on. The lower 26 bits of the 32-bit word correspond to drive letters A through Z. If a bit is set to 0, the autorun feature is enabled on that drive. If a bit is set to 1, the autorun feature is disabled on that drive.
If your not happy working in Hex, add these decimal numbers to specify the drive(s):
A: 1, B: 2, C: 4, D: 8, E: 16, F: 32, G: 64, H: 128, I: 256, J: 512, K: 1024, L: 2048, M: 4096, N: 8192, O: 16384, P: 32768, Q: 65536, R: 131072, S: 262144, T: 524288, U: 1048576, V: 2097152, W: 4194304, X: 8388608, Y: , Z: , ALL:
For example to disable AutoRun on drive A and drive D, you would add 1 (A) + 8 (D) which means the value should be set to "9".
To disable all the drives set the value to "".
Restart Windows for the change to take effect.
 |
 |
 |
 |
 |
 |
 |
(Default) |
REG_SZ |
(value not set) |
 |
 |
 |
NoDriveAutoRun |
REG_DWORD |
0x03ffffff () |
 |
 |
 |
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\... |
 |
 |
| Registry Settings |
User Key: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\ Explorer]
System Key: [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\ Explorer]
Value Name: NoDriveAutoRun
Data Type: REG_DWORD (DWORD Value)
Value Data: 32-bit bitmask
|
Related Tweaks
Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.
Last Modified: August 20, 2002
|