Since most versions of  Windows do not include the method of password protecting your files and folders, this page provides steps to encrypt files and folders. In order to protect your files and folders in Windows, you do not need to use a third-party program.

how to protect folder with password

how to protect a folder with a password in Microsoft Windows Vista, 7, 8, and 10 users

If you want to encrypt a file or folder, this can be done by choosing the following steps:

Select the file or folder you want to encrypt.

Right-click the file or folder and select Properties.

On the General programs, click on the Advanced button.

Check the box for the “Encrypt content to confirm data”, then click OK on both windows.



how to protect folder with password



If the option “Encrypt content to secure data” is not accessible or infiltrated or if you do not see the option, you probably have a Windows Home Edition, which does not support this feature. The hard drive in which the files are installed can be installed as NTFS because this is necessary for the encryption feature


CMD code tricks How to protect a folder with a password  

This Trick will show you a Locked Folder Through CMD.

I wrote Sharing Codes in Notepad and Save As .bat File To do it on DOS.

The Codes are given in STEP: # 2

The Codes of Provider has a number of Parts that mention the User’s name and password

Step 1 how to protect folder with password

1)Press your window key+R

2) and type notepad

3) copy this code and paste in notepad




Step 2

how to protect folder with password
how to protect a folder with a password




title Folder Locker
if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCK
if NOT EXIST secured goto MDLOCKER
echo Are you sure u want to Lock the secured(Y/N)
set/p “cho=>”
if %cho%==y goto LOCK
if %cho%==n goto END
echo Invalid choice.
ren secured “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
attrib +h +s +r +i “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
echo secured locked
goto End

echo put in the key to Unlock the lock
set/p “pass=>password”
if NOT %pass%==1423222 goto FAIL
attrib -h -s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
ren “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” secured
echo secured Unlocked
goto End
echo Invalid keyword
md Secured
echo lock unlocked
goto End
: End

NOTE:  You can see the default password in red color so just change this to the password you want.

You can save your notepad file like anything.bat

remember you save the file with .bat extension


step 3

how to protect folder with password
how to protect folder with password

when you open the anything.bat file then create a secured folder.

you can keep any folder in this secure folder.

and again open anything.bat

then cmd will be open you just type yes…





when you copy any folder and file..should not form same location example my secured folder on the desktop I need to copy any file from other location like  D drive or E drive…

Step 4

 if you want to open this folder again then again open the .bat file

and enter your password…

so, guys, this is very easy and awesome tricks secure your personal folder from can take any software name your .bat file…


Other security solutions how to protect a folder with a password  

File and folders that are not used frequently – Easy way to password protect files is to create an archive of the files using a compressed tool. When the archive is created, you can encrypt the content by specifying a password.

Windows 7 and Windows Vista have a compression utility. However, password protection for the compressed files is not possible without the use of a third-party software program.


File and folders frequently used or accessed

If you need to protect or encrypt a password that you use frequently, you need to install a third party program that allows you to protect your files and folders. Here are some free and commercial solutions.

1). 7-Zip – Free file and folder using utility, which includes the ability to save password protect and folders.

2). AxCrypt Free encryption enhancement that enables users to encrypt all files within a folder and these files will not be allowed to see if the password (password) is not known.

3). Folder Guard, There is a commercial version of password protection software that enables you to protect password, folders and other Windows resources.


how to protect a folder with password Using Encryption  

The only safe way to hide files is encryption. Encryption turns your data into an unintelligible mess unless you have a password.

All you need to do is right-click the file or folder, select Properties, go to Advanced and select the Encrypt contents to secure data checkbox.

how to protect folder with password
how to protect a folder with a password



The only disadvantage of this method is that it combines encryption with the user’s account. This means that if your sister is trying to open files from her Windows account, it will not open, but if you share your account or if you disconnect from the computer when you are logged in, she will be able to see it as easily as any other file on your computer. Therefore, make sure you shut down your computer or log out whenever you leave, or that encryption will not stop anyone.



how to protect a folder with password Using Vera-crypt  

If you need something more bulletproof than the above, we recommend creating a password-protected file container with Vera-crypt. It takes a few more steps, but it is still quite easy and does not require advanced technology from you.