Hide drive mappings in Windows Explorer and the standard File, Open dialog box.
A: | B: | C: | D: | E: | F: | G: | H: | I: | J: | K: | L: | M: | None |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 4096 | 0 |
N: | O: | P: | Q: | R: | S: | T: | U: | V: | W: | X: | Y: | Z: | ALL |
8192 | 16384 | 32768 | 65536 | 131072 | 262144 | 524288 | 1048576 | 2097152 | 4194304 | 8388608 | 16777216 | 33554432 | 67108863 |
Result: Decimal
Copy the result into the registry to hide the drive letter(s)
User Key:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
System Key:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
Value Name: NoDrives
Data Type: DWORD
After changing the registry, logoff or reboot so that it takes effect.
Drive mappings hidden with a nodrives registry setting are still available, just type the drive letter into the explorer address bar.
“The dream is the small hidden door in the deepest and most intimate sanctum of the soul, which opens to that primeval cosmic night that was soul long before there was conscious ego and will be soul far beyond what a conscious ego could ever reach” ~ Carl Jung
Related:
REG - Registry: Read, Set, Export, Delete keys and values.
REGEDIT - Import or export registry settings.