Social Icons

Saturday 7 July 2012

Locking Drives (without any software)



Locking Drives:

We don’t usually prefer to lock our drives, but sometimes it becomes nesscary. Say for instance you might have stored your office documents in D:\ and you don’t want your kids to access it, in such case this technique can be useful for you. Please don’t try this tweak with your root drive (usually C:\ is the root drive) since root drives are not intended to be locked because they are mandatory for the system and application programs.

    * Start & Run and type Regedit to open Registry editor

    * Browse HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Explorer

    * Create a new DWORD value NoViewOnDrive and set its value as

2^ (Alpha Number of Drive Letter-1) where Alpha number are simple counting of alphabets from A to Z as 1 - 26
Alpha values

A =>> 1
B =>> 2
C =>> 3
D =>> 4
E =>> 5
F =>> 6
G =>> 7
H =>> 8
I =>> 9
J =>> 10
K =>> 11
L =>> 12
M =>> 13
N =>> 14
O =>> 15
P =>> 16
Q =>> 17
R =>> 18
S =>> 19
T =>> 20
U =>> 21
V =>> 22
W =>> 23
X =>> 24
Y =>> 25
Z =>> 26

For example: to lock C:\, Alpha number of C is 3 so 2^ (3-1) = 4 (decimal value)

    * To lock more drives, calculate the value of each drive and then set sum of those numbers as value

    * To unlock your drive just delete the key from the registry.

No comments:

Post a Comment