How to Lock a Folder with Password Without any Software

Passwords are commonly used in conjunction with your username. However, on secure sites they may also be used alongside other methods of identification such as a separate PIN and/or memorable information. In some cases you will also be asked to enter only certain characters of your password, for additional security. Now you will get article on How to Lock a Folder with Password Without any Software so read this article carefully and then you can easily implement on your Computer.

How to Lock a Folder with Password

If you want to know How to Lock a Folder with Password then you can choose software also but there is another way to protect the folder with password without using any software you can easily lock any folder on your Windows computer with a simple Notepad hack. By creating a batch file, you can hide a folder and require a password be entered before it becomes visible and accessible. This is a great tool for locking sensitive information, like pictures, financial statements, and a lot more.


This trick will work on just about any version of the operating system, including Windows 10, Windows 7, Windows XP, Windows 98, and so on

This is a very simple process so you want to lock the folder so you can lock the folder. If you don’t know How to Lock a Folder with Password Without any Software and you want to lock the folder in computer so you can follow all the steps one by one:-

Lock a Folder with Password Without any Software

  1. Open Notepad

Start by opening Notepad, either from search, the Start Menu, or simply right-click inside a folder, then choose New -> Text Document.

  1. Add Code to Document

Now just copy the text below and paste it into your document.

  1. Edit Folder Name & Password

With the text pasted in, you can adjust the locked folder’s name, as well as the password used to unlock it. The default folder name is “Private” and the default password is “wonderhowto.”

  1. Save Batch File

Now save the file as whatever name you’d like, but make sure the name ends in “.bat” and that you select “All files” in the drop-down box when saving. Also, if you opened Notepad directly rather than using the right-click, be sure to adjust your save location accordingly.

  1. Create Folder

Now double-click on the batch file you just created (or select and hit Enter). You’ll notice a new folder come up.


At this point, you can start adding files to this folder. Don’t worry, you can always add to remove files from it later.

  1. Lock the Folder

Once you’re ready to lock the folder, simply double-click on the batch file (or select and hit Enter), then choose ‘y’ on the window that pops up and hit Enter

  1. Access Your Hidden & Locked Folder

Now whenever you need access to your folder, just double-click on the batch file, input your password, and hit Enter.

To re-lock (and hide) the folder, just hit the batch file again. And remember, you can name the batch file and folder whatever you like, you feel free to make sure of this trick in multiple locations on your Windows machine.


So How to Lock a Folder with Password Without any Software article is here. This is really a cool way to lock the your private folders without using any type of software. With the help of this article you can lock your folder within 5 min and it is very easily to understand it for everyone. If you really like this article then share it on Facebook, Whatsapp, Twitter and on other social networks with your friends.

Speak Your Mind