How To Lock A Folder Without Any Software

I believe that many of us want to secure our data without getting leaked or passed and want to share our data only with some members but in windows there are no deepest method of securing data. Any one who uses our pc can access the data easily. But when we want to secure our data in the folders we have to depend upon some third party softwares.

What if you don’t want to trust on third parties? Well, for you I have something useful which doesn’t need any software but some time.

Follow the following steps to secure your data

Step 1: Go to the drive where you want to secure your data.

Step 2:Now open a Note Pad in the same drive and paste the following code

if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST MyFolder goto MDMyFolder
echo Are you sure to lock this 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.
ren MyFolder "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
echo Enter password to Unlock Your Secure Folder
set/p "pass=>"
if NOT %pass%== goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" MyFolder
echo Folder Unlocked successfully
goto End
echo Invalid password
goto end
md MyFolder
echo MyFolder created successfully
goto End

Step 3: Now replace with your password

Step 4: Now save this note pad as 08002B30309D.bat (Note: file extension .bat is important in order to run the file and file name 08002B30309D is optional, reason why i have kept this number as file name is to scare other people who don’t know about this file and will  not dare to open this, normal names like lock, folder lock are easy to malfunction)

Step 5: Now double click on the created file. A new folder named MyFolder will be created in the same directory

Step 6: Now paste all the important data you want to secure in tha folder.

Step 7: Now again double click on this, you will get something like this (see image below)

Step 8: Now enter Y and press enter. Thats it, you have secured your data successfully. The folder gets invisible and nobody can open the folder.

How to get back the folder:

Double click on the file. Enter password and press enter. That’s it, you will have your folder get back.

Author’s Note: If you liked my article
please do share with your friends. Also please subscribe to the news
letter for more awesome tricks and tips.