How to hide a drive letter in Windows XP

In the following tutorial, I explain how to hide a drive or drive letter from being displayed in My Computer. This is useful if you don't want just any average user to be able to easily detect, access and navigate a hard disk that is attached to your system. Note that the drive can still be accessed from explorer by typing in the drive letter. Because we are going to be editing the system registry to hide the drive letter you should proceed with caution, as it is possible to do irreversible damage to your system if you make a mistake.

How to hide a drive in Windows XP:

1. Click Start -> Run type regedit in the box and click OK
2. Navigate to:

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

3. From the menu, navigate to Edit -> New -> DWORD Value
4. Name the New Value NoDrives
5. Next, Right click NoDrives and select Modify, now check the Decimal option and under Value Data enter a decimal value for the drive you would like to hide. For example to hide C you would enter 4. See the list below for more values:
* 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

For example to hide drive A and drive D, you would add 1 (A) + 8 (D) which means the value should be set to "9".

To disable all the drives set the value to "67108863".

6. Click OK once finished and restart your PC to verify the drive letter is no longer displayed

Note: You can delete the key that was created to display the drive again.

0 comments:

Post a Comment