How to Paswword Protect a Folder Without Any Software For Windows



Hi friends, my this new post is to guide you to LOCK your folder in Window OS without using any third party Software. You can do it within 30 seconds. The folder you have created will be hidden and password protected . A normal computer user will not able to open your folder. So be cool, hide your personal files here, it is secured .
Password-Protect-Computer-Folders-Free

STEPS


1) Create a new folder using any name.

2) Open the new folder. Then right click >> NEW>> Text Document.



Password-Protect-Computer-Folder

3) Open the Text File you just created and paste below code.

cls
@ECHO OFF
title Folder Private
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private 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 Private "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%== PASSWORD_GOES_HERE goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End

4) In the code you can see PASSWORD_GOES_HERE replace it with your Password. For example if you need to set abcdef as your password, set that particular line as 

   if NOT %pass%==abcdef goto FAIL


5) Now save your Text File in .bat format with file name as locker.bat. Keep the save as type as --->>All files

6) Come back to the locker.bat file you created in the new folder and double click it. Now a second new folder named Private will appear .

7) Paste your data, which is to be password protect in the Private Folder.

8) After exit double click the locker.bat. Now you get a Prompt window to ask whether use password or not. Now type "Y" and click Enter.

9)To open your password protected folder again, double click the locker.bat file and type your password in the prompt window . (Image showed below)

10) You have Done

Note: Be a subscriber of me to get the Daily Computer Techniques 


Subscribe to Latest Technological News