How to hide the drive icons

How to hide the drive icons?




HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

In the right hand pane of the Explorer key create a new DWORD value named NoDrives

Double click it and use the following guide to determine what number to enter as the decimal value data

To hide ALL drives, enter this decimal number:
67108863

which is the equivilant of 0x3FFFFFF in hex


To hide any specific drive, enter the number corresponding to your drive letter as shown in the list below:
i.e. to hide drive C: enter 4

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

To hide any combination of drives, simply add up the values for each drive and enter the total as your value.
For example, say you want to hide D: and G:
D=8
G=64
Total =72 which is what you would enter


Reboot or log off and log in again for the changes to take effect.

Note - this only hides your drives in My Computer and Explorer. It does not prevent someone from using the command line from accessing the drives.

0 comments :

+