top of page
Search
Writer's pictureInformation Technology

How to set password to folder in windows 11

Updated: May 28, 2023

In today's world, almost everyone has a computer and important files they want to keep secret from the other people, not everyone knows how to password protect a folder in windows 11.


Here’s how to password protect a folder in Windows 11, so you can put your own files to protect them –

How To Lock a Folder With a Password in Windows 11

1. Right-click within the folder and select "New" where the files you want to protect are located. The folder you want to hide can also be on your desktop.

2. Click on “Text Document" and name it as "lockfolder".

3. Double click the lockfolder to open it up.

4. Paste the below text in to the new document.

5. Find where it says “Your-Password-Here” in the document and replace it with your own password.

6. Click on the File menu and go to Save as .

7. Choose “Save as type” as the "All Files"

8. Change the file name to “lockfolder.bat” - click Save and exit the file.

9. Now Double-click the lockfolder.

10. Just move all your important files to the private folder

11. Open the lockfolder file, because it’s time for you to lock that folder up!

12. Type “Y” in to the screen and press enter on your keyboard.

13. To unlock the folder, double-click “lockfolder” to open it.

14. Enter the password and press on Enter.

15. The lockfolder will open up and you can see all your hidden files once again.


Watch the tutorial on YouTube





2,707 views30 comments

Recent Posts

See All

30 Comments


zinta john
zinta john
May 06, 2023

good

Like

Pico Worker
Pico Worker
May 06, 2023

very useful

Like

Al Nahian
Al Nahian
May 04, 2023

Very useful

Like

Benji T John
Benji T John
May 04, 2023

Good

Like

anjalinair3131
May 04, 2023

good

Like
bottom of page