Sunday, May 1, 2011

Hide and Lock your drives

Open Registry Editor (go to run command, type "regedit" and press enter)

then go to this key

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer


now right click in right side pane and create a new DWORD Value

Rename it as "NoViewOnDrive" (for locking drive)
or
Rename it as "NoDrives" (for Hiding drive)

double click on it and put some numbers to lock your desired Drive and click OK.

    DRIVE NOS. FOR A : 1 FOR C : 4 FOR D : 8 FOR E : 16 FOR F : 32 FOR G : 64 FOR H : 128

Finally restart or log-off the computer to take effect.


Keep in mind that "0" is Default Value to Disable or remove this setting..


After locking the drive when u try to open it, u will see a message box like this
"This operation has been canceled due to restrictions in effect on this computer. Please contact your system administrator"

2 comments:

Dipankar said...

If I need more than one drive to lock or hind then please tell me what is the procedure to do that?

Unknown said...

You can hide or lock more than one drive. Just add the numbers given to lock or hide multiple drives. For example if you want to lock or hide drive D and E then the required value will be 8+16=24 and so on.

Post a Comment

 
Design by Free Wordpress Themes | Bloggerized by Lasantha - Premium Blogger Templates