Wednesday, December 8, 2010

How to hide DRIVES from MY COMPUTER

How to hide C, D or any drive from My Computer?

You can hide A:, B:, C:, D: or any drive from My Computer. Windows Registry has this magic. Your users will not able to see hidden drives from My Computer. It is easy to do this.

First of all open Registry Editor by typing “regedit” in Run Command without quotes.



If you want to hide drives for logged in users only then open this path in Registry Editor.
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

If you want to hide drives for every user of Windows then open this path in Registry Editor.
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

After opening this key create new string key named NoDrives
Regedit Create Key

Regedit Create Key

If you want to hide A: drive then enter value 1 and 2 for B: drive. Here it is table for hide drives.
DriveCode
A1
B2
C4
D8
E16
F32
C: and D:12
C:, D:, E:28


After adding this key log off or restart your windows. If you are using Windows 9x then you must restart your windows. After restarting your windows Open My Computer. You will see that your selected drives are hidden now. If you want to get back your drives in My Computer then simple delete created key above.

No comments:

Post a Comment