Header Ads

Header Ads

Hiding drives from other users on Windows

This trick works on Windows XP or later version including (Vista, 7)...

First you need to open "regedit" from Start>run then check HKEY_USERS and click File>Load Hive

Next step is to open NTUSER.DAT file from users directory for example "C:\documents and settings\thomas\" this file is hidden by default so you can simply write file name on input box and click open.. When you load hive, dialog appears that requires you to input the same username. On the dialog "Enter Key Name:" you need to write thomas.. Thomas key will appear in HKEY_USERS. Locate "HKEY_USERS\thomas\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" create new DWORD Value. With string "NoDrives", you will need to enter number as "Decimal". This number will be assigned as a drive you need to hide. There are the list:

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

P.S.: If you want to hide more than one drive, you simply add the drive amounts together for a combined total.
For example, to hide the D:\ and T:\ drives, add the decimal value for the D:\ drive to the decimal value to the T:\ drive.
8 (D) + 524288 (T) = 524296

Then you finish work click on HKEY_USERS\thomas and unload the hive by clicking on File>Unload hive...

Reboot and enjoy! ;-)

No comments:

Copyright (c) 2012-2013 Unix Master. Powered by Blogger.