Monday, March 5, 2018

Hide a drive in Windows Explorer


To hide drives in Windows Explorer set a registry key as shown below or use this group policy to set the required keys.

HKLM –> Software –> Microsoft –> Windows –> CurrentVersion ->Explorer
or
HKCU –> Software –> Microsoft –> Windows –> CurrentVersion ->Explorer

NoDrives DWORD decimal setting as follows.

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: 16777216, Z: 33554432, All: 67108863

Add values to select multiple drives.

To hide drives in Windows Explorer set a registry key as shown below or use the group policy to set the required keys.