How to Password Protect a Folder in Windows 10

Everyone can access your files, folders on your Windows 10 PC if it is not locked or password protected.

We may have important files or some private files which we always prefer to keep them in the private section where no one can access those files.

It is necessary to use a good password protection software that secures your stuff. In our list, we found Iobit works well to lock any folder and it is very easy too.

How to Password Protect a Folder on Windows 10

If you are not willing to go for a paid password protection software then there are some other manual methods by which you can hide the stuff.

Here you will see all the possible methods that work well to lock your files, folders, and other such things.

What are Different ways to Lock Your Files?

You can manually create a FolderLocker folder where you can transfer your files to make them password protected. This method is long but the best thing is it is free of cost.

Paid software definitely has advantages such as easy access, instant lock, more safety, and much more. Let us check both methods.

How to Password Protect a Folder on Windows 10?

1: Free Method

Here we will create a specific folder which will remain password protected and you can transfer the files/folders into this folder. Follow some simple steps.

  • Open the location where you want to place the secure lock folder. You can also create it on your desktop.
  • Right-click on the free space and click on New> Text Document and click Enter.
create folder
  • Now open that text document by double-click on that.
  • Paste the below text on that text document.

cls

@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%==Your-Password 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

Check the text Your Password above and type your new password there.

  • Save the text by navigating File> Save As. Here next to Save as type, choose All files from the drop-down list.
save docs
  • You also need to change the folder name to “FolderLocker.bat” and click on SAVE button.
save file protect

Here you will see your password protected folder has been created but yet to lock. Now move the folders to “FolderLocker.bat” you want to lock on your PC.

Its time to lock your folder to do this follows some more steps.

  • Double click on “FolderLocker.bat”
  • Type Y” to confirm to lock the folder. After this, the folder will disappear.
lock command

Anytime you can unlock that folder to get back that file.

How to unlock the password protected folder?

  • Double-click on the folder, it will ask for your password that you have entered.
  • Now the folders will appear.

I hope you found no difficulty while following above steps. This method is a bit lengthy but the easiest we find is using a good software. In our list, Iobit Protected Folder remains best.

Related: How to unlock password protected PDF file?

Protect a Folder on Windows 10 Using Iobit Protected Folder

  • Launch Iobit Protected Folder once you purchased from the official website.
  • After successful installation, go to the folder you wish to make it password protected. Right-click on the folder and hit Lock by Protected folder.
lock by protected folder
  • Now Enter your password and then click Login.
iobit enter password

By following these steps you can easily lock your folder. This method is more secure and safe and recommended by experts.

You may also like:

I hope you find the information about How to Password Protect a Folder in Windows 10 useful and successfully lock your folder.

For more tech tutorial, latest deals, online security tutorial follow us on FacebookTwitter.