Protect Your Files From Prying Eyes By Locking Folders
If you are using a shared computer then it’s a good idea to protect your confidential information from being accessed by other users.
A simple and free way to do this is to make a few small changes to your registry files, so that you and you alone can access your files:
- If you want to lock E:\folder1, then open Notepage and type the following (substituting ‘folder1′ for whatever your folder is called):
- then save this file as ‘loc.bat’ in the same drive where folder1 is stored
- Now create a new notepad file and add the following text:
- Now save this 2nd text file as key.bat in the same folder as where folder1 is stored
- Now go to your file manager and doubleclick loc.bat and your folder will be locked. To unlock it, click on key.bat
ren folder1 folder1.{21EC2020-3AEA-1069-A2DD-08002B30309D}
ren folder1.{21EC2020-3AEA-1069-A2DD-08002B30309D} folder1
Repeat this for any other folders that you want to lock.
Source: Tech-Buzz
Bookmark & Share
Post Info
- Filed Under: For Your PC
- Tags: Tags: Registry, security, Tweak


it works fine..very easy and innovative.. thanks a lot..no need of any software.but only drawback of this is i can delete this locked folder can u make locked file not to be deleted.
It worked for me too – once I had removed all spaces from the folder name. However, clicking on the folder, once locked, resulted in the Control Panel being opened! I’m using XP SP3