Astuce Tech

How to password protect folders in Windows 10 without software

How to password protect folders in Windows 10 without software

Sharing is loving!

We are all very well aware that few software solutions available on the Internet simply allow us to protect files with a password in the Windows 10 operating system and in the previous operating systems of the glove of Microsoft technology. Today, we will be following a tutorial on how to protect files with a password in Windows without any program and, of course, we can do it entirely for free.

Read also:Top 8 Best Firewall Software for Windows 10

How to password protect folders in Windows 10 without software

There are few software solutions available on the Internet that simply allow us to protect files with a password in Windows 10 and the previous operating systems of the glove of Microsoft technology.

But today, we will follow a tutorial on how to protect files with a password in Windows without any program and, of course, we can do it entirely for free. So, now, without wasting much time, let's start and explore everything the tutorial we mentioned below.

The first thing to know is that the files, independently of the others, can not be protected by a password. The tools provided by the Windows 10 operating system allow us to simply protect files with a key, to protect our files with a password. password which we will have to record and all together, in a file. Even if it is only a file which we will protect, we will also have to keep it in a file.

  • The first thing to do is go to the desktop or any other system location, then right-click and click New -> Folder.
  • Use the name of your choice, open it and right-click again to go to New -> Text Document.
  • The system text editor will open and we will have to copy and paste exactly the following text, 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%==Votre Mot De Passe Ici 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, which we already have 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 then be stored in a new folder.
  • Once you have set the password you want to use, in the text editor, select File> Save As.
  • Now you will need to use the name "FolderLocker.bat" .But to use the '.bat' extension, just below the text box where you put the name, you will need to change the 'Document Text' extension. txt in All files.
  • Once you have completed the above step successfully, simply click Save.

  • After the step above, we will see that the file FolderLocker.bat was created in our folder.
  • Then we will have to double-click on it and a new folder with the name Locker will automatically be created.
  • This is the folder in which we can hide and keep all the files protected by password.
  • When the folder already contains files protect, it is necessary to double-click on the file 'FolderLocker.bat'.
  • So, a command console will prompt you asking if we are sure to block the file or not.
  • To do this, we will need to enter Y for Yes and simply press the Enter button on our keyboard.
  • That done, we will see how the command console closes and where we were before, the folder is gone. We have more than the file FolderLocker.bat, which we must keep, because this is the way to open our folder cach, protected by word password.
  • Now, to open this hidden folder, which is protected by the password, we have to double-click it, after which we will see again that the command console opens.But this time you will be asked to set the password .
  • If we introduce it correctly, the control console will be closed and, when we return to our current position, we will see that the Locker folder has re-entered and can be opened without doing anything. If we want to hide it again with a password, we will then have to double-click on the FolderLocker.bat file and repeat the previous steps, as indicated.

See as well:Windows 10 Tips 2019 Performance Tips

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

Sharing is loving!

AdminTech