![]()
In my earlier posts i have already written about How to Hide Folders without using any software. With simple registry changes you can show/hide drives in “My computer” and Network Sharing. This way you can prevent other users from accessing your hard drive that contain private and important data.
Let’s assume we want to hide the D: drive of my computer:
- Like always, goto Start > Run > type” regedit” (without quotes off course) and press”OK”
- Now in the Registry Editor find the path like below:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\
Explorer
- Right click Explorer folder icon and select New > DWORD value
- Name the Registry “NoDrives”

- Now double click the NoDrives value and select Decimal.

The number in the Value data field is the Drive number that we want to hide. Here, we have to hide the D: drive which has value 8. and press OK to save the value.
Here is a list of the drive related number :
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 drive=67108863
- After you done with changing the value restart your PC for changes to take effect.
The D: drive will no longer be displayed in My Computer. Incase you want to view the contents of D: drive you can Enter “D:” in Windows Explorer/My computer address bar and press Enter.
If you want to Hide more than one drive, Lets say D and F drive then the Value will be 8+32 = 40. ( refer the values given above)
Note: If you don’t want to hide your drive anymore, then just delete the “NoDrives” registry Key ie: DWORD value that you had created in the registry.

