Lock Folders with Password in Windows 10 | The method is very simple.

how to lock folders with password in windows 10.

How to Lock Folders with Password in Windows 10

 We all have secret files that we don't want others to see. Well, on Windows 10, you can hide files in a secret, password-protected folder, without buying additional software.

Here's how to create a secret folder that you can fill with the files you want to hide.

How to Lock Folders With Password in Windows 10

1. Right-click in the same folder as the file you want to hide. The folder you want to hide can also be on the desktop.

2015-11-12 16_37_01-Desktop

2. Select “New” from the contextual menu.

2015-11-12 16_38_09-Desktop

3. Select “Text Document.”, then press Enter.

2015-11-12 16_40_05-Photos

4. Double-click the text file to open it.

2015-11-12 16_41_39-Desktop

5. Paste the text below in the document:

2015-11-12 16_42_32-Photos cls


title Folder Locker

if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCK



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.



ren Locker “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 folder

set/p “pass=>”

if NOT %pass%==Your-Password-Here 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


echo Invalid password

goto end


md locker

echo Locker created successfully

goto End


6. Look for the words “Your-Password-Here” in the document.

2015-11-12 16_44_11-New Text Document.txt - Notepad

7. Replace “Your-Password-Here” with the password you want to open the folder.

2015-11-12 16_45_01-New Text Document.txt - Notepad

8. Click “File”, then select “Save as”

2015-11-12 16_45_56-Photos

9. Click the “Text Documents (*.txt)” menu bar next to “Save as type:”

2015-11-12 16_46_58-Save As

10. Select “All Files”

2015-11-12 16_47_51-Save As

11.Change the file name to “FolderLocker.bat”

2015-11-12 16_48_50-Save As

12. Click “Save”

13. Double-click File “FolderLocker.”

2015-11-12 16_53_54-Desktop

Folder Locker will appear

2015-11-12 16_56_12-Desktop

15. Fill the Locker folder with the files you want to hide.

2015-11-12 16_57_43-New notification

16. Open the “FolderLocker” file to lock the folder.

2015-11-12 16_53_54-Desktop

17.Type “Y” in the window screen.

2015-11-12 16_59_28-Folder Locker

18. Click “Enter” and you will see Folder Locker is gone. your secret is safe!

19. To open the folder again, double-click “FolderLocker”.

2015-11-12 17_01_50-Desktop

20. Enter the password you just typed and press “Enter”.

2015-11-12 17_03_08-Folder Locker

2015-11-12 17_04_22-Folder Locker

21. Folder Locker is back. You can open it to find the file you hid earlier. Repeat the previous steps to lock the folder again.

2015-11-12 17_05_23-Desktop

Hopefully, this article about Lock Folders with Password in Windows 10., gives you a little insight. Also, read an article about Looking for Windows 10 Lock Screen Images that you may need to know. Thank you.

Previous Post Next Post