How To Password Protect a Folder in Windows 10
Watch Video Tutorial here:
Folder lock script:
@ECHO OFFif EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCKif NOT EXIST Private goto MDPrivate:CONFIRMecho visit "nerdbeastx.blogspot.com" for more windows tips and tricksecho follow us on youtube.com/c/NerdBeastecho Are you sure to lock this folder? (Y/N)set/p "cho=>"if %cho%==Y goto LOCKif %cho%==y goto LOCKif %cho%==n goto ENDif %cho%==N goto ENDecho Invalid choice.goto CONFIRM:LOCKren Private "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"echo Folder lockedgoto End:UNLOCKecho Enter password to Unlock Your Secure Folderset/p "pass=>"if NOT %pass%== YOUR PASSWORD goto FAILattrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Privateecho Folder Unlocked successfullygoto End:FAILecho Invalid passwordgoto end:MDPrivatemd Privateecho Private created successfullygoto End:End