c).Now click Edit->New->DWORD value and name it as NoDrives and press enter.
d).Now double click it and enter the decimal number corresponding to the drive(s) you want to hide as listed in the table below, but don’t forget to choose decimal value after double clicking NoDrives.
Drive Number to hide
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 drives 67108863
If you want to hide more than one drive than simply add the decimal values of both. For example if you want to hide c drive and drive then add 4 and 8 i.e. you will have to enter 12. You will have to reboot your pc to see the changes. To show the drive again simply delete NoDrives.