Very often we face the problem to protect any type of data on the PC or any office where friends and colleagues are also using this device. But the biggest problem we face is how to protect your data in a common device. If you are thinking of buying any software to protect your data, such as a folder or disk lock closet. Then I suggest you do not buy any of these things.
After using this free trick lock folder. I'm sure you do not think about wasting precious money to buy any kind of distinct products for data protection. This can be open easily but for data protection for those who do not have technical knowledge about computer then this method works like a charm.
Steps To Create Folder Lock
#1: First of all open Notepad on your PC and paste the following in it.
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u want to Lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==VivaTricks goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End
#2: Now Save this as locker.bat and then double click on locker.bat
#3: Your Folder Lock Password is VivaTricks
#4: If you want to change password then replace SafeTricks from above codes with your our Password.
Important Tips:
- The first time, When you click on the file it will automatically create folder for you.
- Then Paste your content into the Folder Created by the file.
- Then Click again on the file to lock your Folder and Press Y to Lock your folder.
- Now To open your locked folder, click every time on the file and enter your password.
COMMENTS