How to Create Password Locked Folders on Windows 10
Friends "PERSONAL FOLDER" contains all my personal data and files, i want to make it password protected so that no one can access it without my permission.
First of all create a new text file and paste the code.
Code File :
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
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 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 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 Goes 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
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Now write your password in place of "Your Password Goes Here" which you want.
After that click on "File" and then hit "Save As".
Name file with ".bat" extension like : "filename.bat" and select type as "All Files".
Once you done that run that created .bat file, it will create folder named as "Locker".
Now put your all personal files and folders into that locker folder.
And again double-click on that ".bat" file, If want to lock then type "y" or "Y" key and hit enter key... This will lock that locker folder.
You can also hide that ".bat"file, So that no one can see or edit that file, Because that file contains your password.
To unlock password, just un-hide that ".bat" file, then double-click on .bat file, this time it will prompt for password...Type your password.
If you put wrong password, the locker folder will not open.
To re-lock it, again double-click on .bat file and type "y" or "Y" key and hit enter key.
So friends, that's it... through this you can lock your personal with password for free.
WATCH VIDEO TUTORIAL