Tag Archives: bat files

Lock Any Folder without any passwrord

Standard

 Make a folder in any drive with name NewFolder
Now, Create two bat files using Notepad: one for locking and other for unlocking in the same drive.

Open notepad and paste this code and save it with name lock.bat
ren  NewFolder .{0000031D-0000-0000-C000-000000000046}
Again Open notepad and paste this code and save it with name unlock.bat
ren  NewFolder .{0000031D-0000-0000-C000-000000000046} NewFolder
both these files must be outside the folder NewFolder in the same drive.
Run lock.bat for locking and run unlock.bat for unlocking your folder.
TEST
After Running the lock.bat try to open the folder NewFolder but you would not be able to open it. Now Run the unlock.bat and now try to open the folder NewFolder, this time you can access this folder.
Note:- You may change the name lock and unlock so that no one will identify these.