How To Password Protect Folders In Windows 10 Without Any Software

How To Password Protect Folders In Windows 10 Without Any Software
How To Password Protect Folders In Windows 10 Without Any Software

We all know very well that there are few software solutions available on the internet that simply allows us to protect files with a password in both the tech giant Microsoft’s Windows 10 and previous operating systems. But today we will follow a tutorial on how to protect files with a password in Windows without any program and, of course, we will be able to do it completely for free.

How To Password Protect Folders In Windows 10 Without Any Software

There are few software solutions available on the internet that simply allows us to protect files with a password in both the tech giant Microsoft’s Windows 10 and previous operating systems.

But today we will follow a tutorial on how to protect files with a password in Windows without any program and, of course, we will be able to do it completely for free. So, now without wasting much time let’s get started and explore the whole tutorial that we have mentioned below.

Also Read: Best Windows 10 Tips, Tricks and Hacks 2019

The first thing you should know is that the files, independently, cannot be protected with a password. The tools provided by the Windows 10 operating system simply allow us to protect folders with a key, to protect our files with a password that we will have to save and all together, in a folder. Even if it’s just a file that we’re going to protect, but, we’ll also have to keep it in a folder.

  • The first thing that we have to do is go to the desktop or any other location in the system and then simply right click and click on New–Folder.
  • Use the name that you want, open it, and do right-click again to go to New–Text Document.
  • The text editor of the system will open, and we will have to copy and paste, in an exact way, the following text that we have mentioned below:-
cls

@ECHO OFF

title Folder Locker

if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK

if NOT EXIST Locker goto MDLOCKER

:CONFIRM

echo Are you sure or want to Lock the folder (Y/N)

set/p "cho="

if %cho%==Y goto LOCK

if %cho%==n goto END

if %cho%==N goto END

echo Invalid choice.

goto CONFIRM

:LOCK

ren Locker "Control Panel. {21EC2020-3AEA-1069-A2DD-08002B30309D}"

attrib +h +s "Control Panel. {21EC2020-3AEA-1069-A2DD-08002B30309D}"

echo Folder locked

goto End

:UNLOCK

echo Enter password to Unlock folder

set/p "pass ="

if NOT %pass%==Your-Password-Here goto FAIL

attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"

ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker

echo Folder Unlocked successfully

goto End

:FAIL

echo Invalid password

goto end

:MDLOCKER

md Locker

echo Locker created successfully

goto End

:End
  • In the previous text, that we already pasted in this new text document, find the phrase “Your-Password-Here” and replace it with the password with which you want to protect your files, which will later be stored in a new folder.
  • Now, once you have set the password you want to use, in the text editor, scroll to File–Save As.
  • Now you will have to use the name “FolderLocker.bat”. But in order to use the extension ‘.bat’, just below the text box in which you put the name you will have to change the ‘Text document extension “.txt” to “All files”.
  • Once you are done the above step successfully, now simply click on Save.

Note 1 - How To Password Protect Folders In Windows 10 Without Any Software

  • After the above step now we will see that in our folder, the file FolderLocker.bat has been created.
  • Then we will have to double click on it, and automatically a new folder with the name Locker will be created.
  • This is the folder in which we will be able to hide and keep protected all the files that we want to protect by the password.
  • When the folder already contains files that will protect, again we have to do double click on the file ‘FolderLocker.bat’.
  • Hence, by doing so, a command console will open, asking if we are sure to block the folder or not.
  • To do this, we will have to enter ‘Y’ for ‘Yes’ and simply hit the Enter button on our keyboard.
  • Once this is done, we will see how the command console closes and, where we were previously, the folder has disappeared. Now we will only have the file FolderLocker.bat, which we have to keep, as it will be the way to open our hidden folder, that is password protected.
  • Now to open this hidden folder, which is protected by the password, we have to double clicking on it after that we will once again see, the command console opens. But this time it will ask to put the password.
  • If we introduce it correctly, the command console will be closed and, when we return to where we were, we will see that the Locker folder has reappeared and can be opened without doing anything. If we want to hide it again with a password, then we will have to double-click on the file FolderLocker.bat and repeat the previous steps as we shown.

Also Read: Top Best Hacking Tools Of 2019 For Windows, Linux and Mac OS X

So, what do you think about this? Simply share all your views and thoughts in the comment section below. And if you liked this tutorial then simply do not forget to share this tutorial with your friends and family.