07 January, 2012

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



If you want to hide A: drive then enter value 1 and 2 for B: drive. Here it is table for hide drives.
 Drive Code
A:1
B:2
C:4
D:8
E:16
F:32
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