How to create password protected folders without using any software

How to create password protected folders without using any software

The trick is quite simply and 100% effective, but it would not give any guarantee or assurance that anyone cannot crack it. Although for beginners this is really awesome trick, where without your permission no one can touch your private file, but yes professionals may possible figure it out how you do it. Learn How to create password protected folders without using any software here.

How to create password protected folders without using any software

 

So here we go, a step by step guidence to create a folder lock.

 

STEP 1.

How to create password protected folders without using any software

Create a new folder and name it whatever you wish to name it. For example in the image , I have created a new folder named "confidential"

 

STEP 2:

How to create password protected folders without using any software

Now open the folder "Confidential" (or whatever name you have selected).

Right Click on the Blank area of the folder and select NEW TEXT DOCUMENT from the pop up menu as shown in image.

 

STEP 3:

Open the text file and Copy/Paste the below mentioned code, as it is:

 

cls
@ECHO OFF
title Folder Private
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDLOCKER
:CONFIRM
echo Are you sure you 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
pen Private "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attributes "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%== PASSWORD GOES HERE goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
End

 

STEP 4

In the above mention code just create your own password by replacing PASSWORD GOES HERE by your own password, with which you wish to unlock the folder.

For example if you decided the password as 654321, the line should be like this in text file

Earlier it is written like:
if NOT %pass%== PASSWORD GOES HERE goto FAIL

You need to change it like:
if NOT %pass%== 654321 goto FAIL

 

STEP 5

How to create password protected folders without using any software

Now save the text file in the .bat extension format with the complete file name being unlocker.bat (or any name you wish to put).
To do this make sure you save the file as All file types, as shown in the image:

 

STEP 6:

Now, close everything and open the folder which you have created. For my case it was Confidential. In the same folder you will find a file named Unlocker.bat. Double click the file. You will find a new folder named Private. In this folder put anything you wish to hide from others.

 

STEP 7:

How to create password protected folders without using any software

Now when you have put your file into the private folder exit the folder and double click on the unlocker.bat file again. It would ask you if you wish you to unlock the folder, just press Y and hit enter, as shown in image.

 

STEP 8:

  • Now, Private folder would disappear and you can leave folder as it is, no one can see or access that Private folder and your files in it.
  • In order to see those files, just double click on unlocker.bat file. It would then ask for the password.
  • Put the password that you have set, in my case it was 654321 , so after putting the password in command file, just press enter.
  • Now, you would be able to access your file in the Private folder. Once you access it, just double click on unlocker.bat again and repeat step 7. And all your files would be hidden.

This is authentic trick and have work on most of the PC and lappy. If it works for you too please do comment and you might like to share the same with your friends and buddies.

Leave a Reply