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.
1). Click on Start and Run and then type Regedit to open Registry editor window.
2). In registry editor window Browse
HKEY_CURRENT_USER\Software\Microsoft\Windows\ CurrentVersion\Policies\Explorer
3). Create a new DWORD value name it 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
For example: to lock C:\, Alpha number of C is 3 so 2^ (3-1) = 4 (decimal value)
A: 1
C: 4
D: 8
E: 16
F: 32
G: 64
H: 128
4). To lock more drives, calculate the value of each drive and then set sum of those numbers as value
5). To unlock your drive just delete the key from the registry.
6). Press F5 to refresh.
Its done.
0 comments:
Post a Comment