How To create Password Protect a Folder in Windows 10


How To create Password Protect a Folder in Windows 10


We all have computer files we'd like to keep secret from the world. Fortunately, in Windows 10, you can tuck those unmentionable plans or files in a secret folder that is password protected, and you can do it without buying any additional software.


1. Right-click inside the folder where the files you want to protect are located. The folder you want to hide can even be on your desktop.


2. Select "New" from the contextual menu.


3. Click on "Text Document."


4. Hit Enter. It doesn't matter what the file will be named. You can delete this text file once the lockable folder which will be made.


5. Open the new document and post below text in it


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 u 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 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 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


7. Find where it says "Your-Password" in the document.


8. Replace "Your-Password" with the password you want to lock the folder between this name.

9. Click File and select Save as

10. you can give it any name with .bat extantion. for example FldrLck.bat 

Make sure save as type should be *All*

11. Double-click FldrLck.bat or whatever you saved yours to Immediatey a CMD will open and close
This means "The folder locker has been created"


12. Enter the password you entered in Step 8, and click Enter when the CMD pop ups


13. To unlock the folder, double-click "
FldrLck.bat" you saved to open it.

1 comment:

How to Install files and the database in MAMP Server.mp4

  Download now   Enjoy! Follow us for more...