lock hard drives by notepad

How to lock Hard drives ? Easy answer,by a software like drive lock or folder lock software. But you can hide hard drives by notepad. Very simple. Just type some codes and save the file as reg extension.Then double click on the file ,a box will appear on the screen and press “yes”. Again a new box will appear.Now press “ok”. Now restart your computer and you will not be able to open the folder which you have locked.

To do this first copy the codes from bellow

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer]
“NoViewOnDrive”=dword:00000004

and save the file  with reg extension. this code will lock your C: drive only. You can change the code for your another drives by changing the dword value(in the third line of the code) . Here mentioned some drives code for you.

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

If you wane to lock D: drive the value will be  8. Now how open your drive ? Just change the value to 00000000 ,then save the file .double click on the file and same as before press yes and ok.Then restart your computer. So enjoy lock and unlock  hard drives by Notepad  with any software.

  • Share/Bookmark