How to Lock Your Private Folder Without Any Software
If you’re concerned about privacy or need to secure personal files on an office system or a friend’s computer, locking your folder is essential. While many rely on software to protect their files, here’s a simple and safe trick to lock a folder without using any additional programs.
Steps to Lock Your Folder
Suppose you have a folder named "movies" located in the D: drive (path: D:\movies). Follow these steps to lock it:
1. Create a Lock File
Open Notepad and type the following command:
ren movies movies.{21EC2020-3AEA-1069-A2DD-08002B30309D}
Save this file as loc.bat in the same drive where your folder is located.
2. Create an Unlock File
Open Notepad again and type the following command:
ren movies.{21EC2020-3AEA-1069-A2DD-08002B30309D} movies
Save this file as key.bat in the same location.
Now you’ll have two batch files: loc.bat and key.bat.
How to Lock and Unlock the Folder
To lock the folder:
Double-click the loc.bat file. Your "movies" folder will now turn into a Control Panel icon, and its contents will be inaccessible.
To unlock the folder:
Double-click the key.bat file. The "movies" folder will revert to its original form, and you’ll regain access to its contents.
Important Notes
This method is safe because even if you lose the key.bat file, you can recreate it using the exact folder name.
Ensure the folder name matches exactly when creating or recreating the batch files.
Give this trick a try and protect your private files without the hassle of installing software!