Do you want create password protected folder? but don’t know how to create password protected folder without using any software, don’t worry you you are at the correct place. Here I am going to teach you How to create password protected folder without using any software. There are lot of ways, but this one is cool and without software. Protecting a folder with password lets secure your important and private data in Windows.
There are different softwares are available that will provide you this feature but there is problem with that. if by any means that software is un-installed you might loose you personal data because of the login credentials will be deleted. In this tutorial you will learn to create your own method to lock a folder with a password protection.
Well, lets start how to create a folder with a password so that only those user who knows the password can open it. Just follow these steps.
Easiest Trick to Create Password Protected Folder Without Using Any Software :
Step 1. First make a new folder ( name it as you like ) then inside this folder, right click then “new” and click “Text Document”.
Step 2. Open the text file then copy the entire code below and paste it inside.
cls @ECHO OFF title Folder Private if EXIST "HTG Locker" goto UNLOCK if NOT EXIST Private goto MDLOCKER :CONFIRM echo Are you sure you 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 "HTG Locker" attrib +h +s "HTG Locker" echo Folder locked goto End :UNLOCK echo Enter password to unlock folder set/p "pass=>" if NOT %pass%== CHANGE_YOUR_PASSWORD goto FAIL attrib -h -s "HTG Locker" ren "HTG Locker" Private echo Folder Unlocked successfully goto End :FAIL echo Invalid password goto end :MDLOCKER md Private echo Private created successfully goto End :End
Step 3. After you have paste the code don’t save it yet. Find this line : (if NOT %pass%== password here goto FAIL ) and change the word “password here” to the password you want.
Step 4. After that go to ‘save as’ and name this file as “locker.bat “. Now back to the folder & you will find a “LOCKER command”.
Step 5. Double Click on it and you will find a new folder (Private ). Ok, now copy what you want in this “Private Folder” & after that come out of the folder.
Step 6. Double click on locker again. It will open and ask if you want to lock your folder? Y/N ?. Press “Y” and press enter, then your private folder will disappear. If you want to UNLOCK your folder, go to “LOCKER command” and type your password and you will see your private folder.
Congratulation! your password protected folder is created now. So this is not a cool? You can easily lock a folder in few clicks. Complete folder protection without any software. Let us know if you have any issues during folder locking. You can easily save your private documents and files inside that folder and lock them.
Thanks for reading and keep visiting for latest tips and tricks.
Nisha Pandey says
Hi Ashvin,
I am amazed that there was such a way to lock our folders with password. I had always thought about it and made online searches but ended up with links to some software programs. I could never trust those programs as they may contain viruses.
You have made the method simple by providing all the code and instructions.
Thanks for this valuable post! Have a great week!
abhinav says
Wow what a great trick , now i can maintain my privacy without unusual softwares thank’s for sharing
Ashvin says
Welcome to Best Mobile Tips Abhinav.