How To Password Protect A Folder?

3 Ways To Password Protect A Folder

If you have any confidential or a private folder in your PC and you want to protect it with the password but know how to do it. Don’t worry, in this article, I am going to tell you How To Password Protect A Folder in two different ways.

How To Password Protect A Folder?

1. Using Anvi Folder Locker

Anvi Folder Locker is the free software which helps you to protect your private or confidential folder being accessed by the other. By using Anvi Folder Locker you can lock or hide the folder very easily in the one click. So let’s understand how to lock folder by using Anvi Folder Locker.

First of all download and install the Anvi Folder Locker in your computer Then open it, when you open it for the first time you get this screen.

Must Read: 3 Ways To Password Protect a PDF File.

3 Ways To Password Protect A Folder

Here you need to set the password. Enter your password 2 times and enter your email. Email is required to reset your password if you forget the master password. When you enter all the information click on OK. then you get this interface.

3 Ways To Password Protect A Folder

From here you can add the folder you want to lock. I already add the folder in this software. When you add the folder in the software you get the option at the right side of the folder. Select the password as shown in the image. Then you get the new window.

3 Ways To Password Protect A Folder

From here can set the password to the selected folder or you can use your default password as the password of the folder and click on OK.

Now your selected folder is successfully locked.

3 Ways To Password Protect A Folder

If you now try to open the folder it will ask you for the password as shown in the above image.

That’s how you can password protect any folder by using Anvi Folder Locker.

Must Read: How To Password Protect Word Documents?

2. Using Notepad

Notepad is the free text editor in the windows. To lock folder by using notepad follow the following steps.

First of all open, the notepad paste the following code in the notepad.

if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCK
if NOT EXIST Private goto MDPrivate
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 Private “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%== Techclarify 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
echo Invalid password
goto end
md Private
echo Private created successfully
goto End

Now change Techclarify with the password you want to set and save this file with the extension .bat if the file name is Confidential then save it as Confidential.bat and select type to all files.

Must Read: 3 ways to merge PDF files. | Easiest way to combine PDF Files

Now go to the location where you save the file and double-click on it. When you click on the file the new folder appears of the name Private. Copy your files which you want to protect to the private folder and click on .Bat file. Now you get the message in the black window like Are you sure you want to lock this file just type Y and press enter.

If now you want to access your protected file Click on the .Bat file and you get this window

3 Ways To Password Protect A Folder

Here you need to enter your password and click enter. After you press enter you get Pravet folder back.

Must Read: 5 Ways To Convert PDF to Word | The Easiest Methods

That’s how you can password protects your files by using notepad.

I hope you understand both the ways to password protect a folder. If you like this article please share this with your friends or if you have any question please comment below.

You May Also Like

About the Author: Amit Kadam

Hi, my name is Vishal Dalve. I am a blogger, web Designer and science graduate from India, When I am in the 2ed year of my graduate I wanted to start the blog to share my knowledge and I started

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.