Showing posts with label How to lock drives in windows 7. Show all posts
Showing posts with label How to lock drives in windows 7. Show all posts

Thursday, 25 March 2021

HOW TO LOCK DRIVES IN WINDOWS 7,8, AND 10?

 Say for instance you might have stored your office document 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 programs.

  • Start & Run and type Regedit to open Registry editor
  • Brouse HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
  • 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 
       For example: to look C:, Alpha number of C is 3 so 2^(3-1) = 4(decimal value)

  • To lock more drives, calculate the values of each drive and then set sum of those number as value 
  • To unlock your drive just delete the key from the registry.