Blocking Access to Specific Drives
Page 1 of 1
Blocking Access to Specific Drives
On many occasions it is a useful security feature to block user to specific
drives. This cannot only be a good privacy protection tool, but can also be used
as a strong intellectual property protection feature. The steps tha you need to
follow block access to all or specific drives are the following:
1. Open
the regedit.exe file
2. Search or scroll down to the following registry
key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Curr
entVersion\Policies\Explorer
(User specific
restriction)
or
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Curr
entVersion\Policies\Explorer
(System-wide restriction)
3. Create a new
DWORD value, NoViewOnDrive, and set its data value to the number
of the drive that you want to hide, as per the following list:
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: 67108863
It is important to
note that in order to hide more than one drive, you need to use the sum aff all
the respective values of each numerical drive.
For example, you can hide
drives A, B and C by using the value 7.
4. Exit the Windows regisrty. You
might need to restart the Windows session for the changes to take
effect.
It is also possible to implement the above by creating and
executing a file with a .reg extension containing the following
data:
REGEDIT4
[Choose Registry Key From
Key]
"NoViewOnDrive"="Drive number"
drives. This cannot only be a good privacy protection tool, but can also be used
as a strong intellectual property protection feature. The steps tha you need to
follow block access to all or specific drives are the following:
1. Open
the regedit.exe file
2. Search or scroll down to the following registry
key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Curr
entVersion\Policies\Explorer
(User specific
restriction)
or
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Curr
entVersion\Policies\Explorer
(System-wide restriction)
3. Create a new
DWORD value, NoViewOnDrive, and set its data value to the number
of the drive that you want to hide, as per the following list:
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: 67108863
It is important to
note that in order to hide more than one drive, you need to use the sum aff all
the respective values of each numerical drive.
For example, you can hide
drives A, B and C by using the value 7.
4. Exit the Windows regisrty. You
might need to restart the Windows session for the changes to take
effect.
It is also possible to implement the above by creating and
executing a file with a .reg extension containing the following
data:
REGEDIT4
[Choose Registry Key From
Key]
"NoViewOnDrive"="Drive number"
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|