How to create password protected folder in windows 7 without any software

How to create password protected folder in windows 7 without any software

How to create a password protected folder in Windows 7 without any software: Password protecting a folder allows you to protect your useful and confidential data in Windows. What I noticed is that people use third-party applications to lock a folder with a password. Often guests or friends get their hands on your personal computer and start exploring your computer. They may even have access to your personal data that you don’t want to share with anyone. There is a lot of software available on the market to lock or hide your folder in Windows. However, if the same thing can be achieved without any software, why would you use third-party software that could contain vulnerabilities? However, at this point, in this text, we will study the easy methods to password protect any folder in Windows without any software. You will have full control over your folder and we will create a batch file that can create a folder where you can save all your private data and hide it so that no one can find it. If you want to show it, you will need to enter your password, which guarantees high security.

Step 1 first of all, open the notepad

Step 2) Just copy and paste into notepad



IF THERE IS “Control Panel. {21EC2020-3AEA-1069-A2DD-08002B30309D} ”to unlock
if MyFolder DOES NOT EXIST for MDMyFolder
eco Are you sure you are blocking this folder? (Y / N)
set / p “cho =>”
if% cho% == Y is LOCK
if% cho% == y is LOCK
if% cho% == n is END
if% cho% == N is END
eco Invalid choice.
ren MyFolder “Control Panel. {21EC2020-3AEA-1069-A2DD-08002B30309D} ”
attrib + h + s “Control Panel. {21EC2020-3AEA-1069-A2DD-08002B30309D} ”
echo Folder locked
Go to End
eco Enter the password to unlock your secure folder
set / p “pass =>”

if NOT %% pass% == compsmag goto FAIL

attrib -h -s “Control Panel. {21EC2020-3AEA-1069-A2DD-08002B30309D} ”
ren “Control Panel. {21EC2020-3AEA-1069-A2DD-08002B30309D} ”MyFolder
Eco folder successfully echoed
Go to End
echo Invalid password
go to the end
: MDMyFolder
md MyFolder
echo MyFolder successfully created
Go to End

Early warning: The default password is compsmag; therefore, if you want to change the password, just change the compsmag in the code above with the chosen personal password that you can remember.

Step 3) Remember that the location where you saved the file, now double-click on your created file, which can create a folder there with the name “My folder”.

Step 4. Now copy necklace all your valuable data and paste it into that folder. Next, Just double click on the lock.bat file we created. A CMD window will be displayed exactly as in the image below.

create password protected folder

Step 5. Press “Y”And type to lock the folder. You will see that My folder is hidden and cannot be seen.

To unhide the folder, just double click on the Lock.bat file, the password will be requested and, if you have not changed the code above, type “compsmag”And press Enter to unhide the folder.

create password protected folder

If you replaced compsmag with your own password, you will need to enter that password in CMD to unlock the folder.

We have just created a password protected folder in Windows, which will be useful whenever you want to hide your personal data from others.

Step 6. That’s it! Now you’re done.

We will be happy to hear your thoughts

      Leave a reply

      Tech Reviews, News and Guides