In this era, where security is a major concern, you need to protect your important files and folders. So, for this having great security measures on your system is a must. This is why if you want to know How to Protect a Folder on Windows Without Using Any Software? Then you are in the right place.
So, without wasting time further, let’s get started with the section ahead on protecting a folder on windows without using any software:
How to Protect a Folder on Windows Without Using Any Software?
Oh, I guess, you want to keep your private files away from intruders and without even using any software. Or you have some important office documents which you want to secure.
Well, a preferable option is to use specially designed software for this but since you need to know if there is any method for how to lock folder without using any software? So, as said, we will be guiding you through it.
Also, we will tell you about some Softwares also which can help you regarding the needful, just in case if you need those.
So, let’s see how to lock folder without any software with password?
The following method is not recommended if you are a complete newbie as you may find it somewhat difficult to use this. This is why we always recommend using an exclusive software for such services.
Step #1: In this very first step, you need to create a folder that will be a kind of abode for your “to be protected” files. You can create the folder anywhere you want as it doesn’t make any difference in the process.
To make a new folder, right-click on the blank area and place your cursor on “new” from the menu that follows.
This action of yours will lead to another nested menu from which you are required to click on “Folder.” This way you will have a new folder, and you can name it whatever you want.


Once done then you are now requested to move on to the next step.
Step #2: Now, this step requires you to go to the newly formed folder. Once you are there, you again need to make a right-click and then keep your mouse on the new option. As already stated, it will lead you to a subsequent nested menu from which you need to choose “Text Document.”

Now, you need to open the text file and paste the following content there.
cls @ECHO OFF title Folder Private if EXIST "HTG Locker" goto UNLOCK if NOT EXIST Private goto MDLOCKER :CONFIRM echo 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 Private "Locker" attrib +h +s "Locker" echo Folder locked goto End :UNLOCK echo Enter password set/p "pass=>" if NOT %pass%== YOUR_PASSWORD_HERE goto FAIL attrib -h -s "Locker" ren "HTG Locker" Private echo Folder Unlocked goto End :FAIL echo Invalid password goto end :MDLOCKER md Private echo Private created successfully goto End :End

Now, replace the text “YOUR_PASSWORD_HERE” with the password which you want to set for your protected folder. After this, you will have to save the file naming it as “Locker.bat” (.bat is the extension for batch files).

Step #3: Now, to run the batch file, you need to double click on it. When you run it for the very first time, it will create a folder named as “Private.” This is exactly where you will have to place the files which you want to protect.

Now, place all the files which you want to be protected. Once done then follow the next step instructions to proceed forward.
Step #4: Now, if you are finished adding all the stuff to the private folder then you are now required to run the “Locker.bat” file again.
This will open the command prompt terminal for you and will ask if you want to lock the folder. If yes then you need to press “Y” and if not then “N” and then hit enter.


This will hide the private folder, and this is how to create a password protected folder without any extra software?
Now, to access the folder again, the following is what you require. The process is quite simple anyway.
All you need to do is to run the script again, and the command prompt will ask you to enter the password for it. Just enter the password, and you can now see the private folder again.

This is how you can make a password-protected folder and save your files without even using any third-party software. However, this method is quite vulnerable as anyone who has even the slightest of hint about batch files can access the file and change the content.
So, we recommend using the software’s which we will be telling you in the next section.
Universal Shield: It is an excellent tool which allows you to encrypt, hide and protect your file and folders. It can eventually help you in keeping away intruders from accessing your files and folders. On a personal note, this is something that I’ve been using from long and is capable to a great extent.
You can get it from here.
Other tools include BitLocker and Folder Lock. However, you can find a plethora of them on the internet.
So, this was all about How to Protect a Folder on Windows Without Using Any Software? We hope that this might have helped you in your quest of How to Create a Password Protected Folder without any Extra Software?
If you liked this article, then do let us know through the comments section. We would love to hear from you. Also, share this article amongst your peers.
Thank you for crossing by and giving it a read.
Stay tuned and keep visiting for more.