Tuesday, October 25, 2016

Prevent access to specific partition or drive

Sometimes we would like to prevent users from accessing tons of data. we can do this by hiding the drive but it does not prevent the access completely. This trick will not hide the drive but users cannot access it. After preventing access, you can hide the drive to ensure full protection. To do this, perform the following steps:-

  • Log into the account where you want the users not to access the drive.
  • Open registry editor.
  • Go to HKEY_CURRENT_USER >> Software >> Microsoft >> Windows >> CurrentVersion >> Policies >> Explorer.
  • Right-click to create a new DWORD value with the name NoViewOnDrive.
  • Double-Click on this entry, Select the radio button named Decimal.
  • In the value data field put the value of the drive you want to prevent access.
  • The value is calculated using the formula 2n-1, where n is the number of the drive which you want to prevent access-1 for A, 2 for B, 3 for C and so on...
  • If you need to hide more than one drive, add the respective drive numbers and enter it into the value data field. For example, to hide drive C you need to enter 4 (2 3-1); to hide drives D and E you need to enter 24 (2 4-1 +2 5-1).
  • To apply the change to all users in the system, follow the same method, but use the key HKEY_LOCAL_MACHINE >> Software >> Microsoft >> Windows >> CurrentVersion >> Policies >> Explorer instead.
  • To remove all restrictions, just delete the entry.
  • To hide the drive click here.

Related Post:

0 comments:

Post a Comment

 
Copyright 2009 Information Blog
Powered By Blogger