Last updated on February 17th, 2021 at 07:56 am
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.
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.
- Related: How to create Hidden files in Windows PC?
- How to sync your PC automatically using Google Drive and Google Photos?
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.
- 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.
- You also need to change the folder name to “FolderLocker.bat” and click on SAVE button.
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.
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.
- Now Enter your password and then click Login.
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:
- How to find duplicate files and remove them from PC?
- Best ways to delete temporary files from Windows PC
- How to factory reset Windows 10 PC without disc installation?
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 Facebook, Twitter.