How to lock drivers using registry software for 2012 - 2013

Now make a note how to lock driver from users its useful
Locking Drives:
1. 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.
2. Start & Run and type Regedit to open Registry editor
3.Browse HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurre ntVersionPoliciesExplorer
4.Create a new DWORD value NoViewOnDrive and set its value as
5.2^ (Alpha Number of Drive Letter-1) where Alpha number are simple counting of alphabets from A to Z as 1 – 26
6. For example: to lock C:, Alpha number of C is 3 so 2^ (3-1) = 4 (decimal value)
7.To lock more drives, calculate the value of each drive and then set sum of those numbers as value
8. To unlock your drive just delete the key from the registry