Académique Documents
Professionnel Documents
Culture Documents
HowToPasswordProtectaFolderinWindows10
Weallhavecomputerfileswe'dliketokeepsecretfromtheworld.Fortunately,inWindows10,youcantuckthoseunmentionableplansorfilesina
secretfolderthatispasswordprotected,andyoucandoitwithoutbuyinganyadditionalsoftware.
Here'showtocreateafolderthatyoucanfillwithfilesyouwanttokeepsecret,lockit,openitandrepeat.
HowToLockaFolderWithaPasswordinWindows10
1.Rightclickinsidethefolderwherethefilesyouwanttoprotectarelocated.Thefolderyouwanttohidecanevenbeonyourdesktop.
MORE:HowtoChangeYourPasswordinWindows10
2.Select"New"fromthecontextualmenu.
http://www.laptopmag.com/articles/passwordprotectfolderwindows10 1/17
02.12.2016. HowToPasswordProtectaFolderinWindows10
3.Clickon"TextDocument."
4.HitEnter.Itdoesn'tmatterwhatthefilewillbenamed.Youcandeletethistextfileoncethelockablefolderhasbeenmade.
5.Doubleclickthetextfiletoopenit.
http://www.laptopmag.com/articles/passwordprotectfolderwindows10 2/17
02.12.2016. HowToPasswordProtectaFolderinWindows10
6.Pastethebelowtextintothenewdocument:
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
http://www.laptopmag.com/articles/passwordprotectfolderwindows10
:UNLOCK 3/17
02.12.2016. HowToPasswordProtectaFolderinWindows10
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==Your-Password-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
7.Findwhereitsays"YourPasswordHere"inthedocument.
8.Replace"YourPasswordHere"withthepasswordyouwanttolockthefolderwith.
9.ClickFile.
http://www.laptopmag.com/articles/passwordprotectfolderwindows10 4/17
02.12.2016. HowToPasswordProtectaFolderinWindows10
10."SelectSaveAs..."
11.Clickonthe"TextDocuments(*.txt)"menubarthat'snextto"Saveastype:"
12.Select"AllFiles"
http://www.laptopmag.com/articles/passwordprotectfolderwindows10 5/17
02.12.2016. HowToPasswordProtectaFolderinWindows10
13.Changethefilenameto"FolderLocker.bat"
14.Click"Save."
15.DoubleclickFolderLocker.
TheLockerfolderhasbeengenerated!
http://www.laptopmag.com/articles/passwordprotectfolderwindows10 6/17
02.12.2016. HowToPasswordProtectaFolderinWindows10
16.FilltheLockerfolderwiththeitemsyouwanttoprotect.
17.OpentheFolderLockerfile,becauseit'stimetolockthatfolderup!
18.Type"Y"intothescreen.
19.ClickEnter,andtheFolderLockerwindowwilldisappear,alongwiththeLockerfolderitself!Yoursecretsaresafe!
http://www.laptopmag.com/articles/passwordprotectfolderwindows10 7/17
02.12.2016. HowToPasswordProtectaFolderinWindows10
Tounlockthefolder,doubleclick"FolderLocker"toopenit.
EnterthepasswordyouenteredinStep8,andclickEnter.
TheLockerfolderisback.Youcanopenittofindyourhiddenfiles.RepeatSteps17,18and19tolockthefolderagain.
http://www.laptopmag.com/articles/passwordprotectfolderwindows10 8/17
02.12.2016. HowToPasswordProtectaFolderinWindows10
Turn Your Windows PC into a Wi-Fi Password Protect a Folder Create a Guest Account in Windows
Hotspot 10
MoreTips
UsetheWindows10ParentalControls
FindYourMACAddress
TurnYourWindowsPCintoaWiFiHotspot
PasswordProtectaFolder
CreateaGuestAccountinWindows10
EnableWindowsHelloFingerprintLogin
SetUpWindowsHelloFacialRecognition
HowtoRestrictCortana'sEverPresentListeninginWindows10
AllWindows10Tips
AUTHOR BIO
Henry T. Casey,
AftergraduatingfromBardCollegeaB.A.inLiterature,HenryT.CaseyworkedinpublishingandproductdevelopmentatRizzoliandTheMetropolitanMuseumofArt,
respectively.HenryjoinedTom'sGuideandLAPTOPhavingwrittenforTheContentStrategist,TechRadarandPatekPhilippeInternationalMagazine.Hedivideshis
freetimebetweengoingtoliveconcerts,listeningtotoomanypodcasts,andmasteringhiscoldbrewcoffeeprocess.Contentruleseverythingaroundhim.
HenryT.Casey,on
http://www.laptopmag.com/articles/passwordprotectfolderwindows10 9/17
02.12.2016. HowToPasswordProtectaFolderinWindows10
ADD A COMMENT
Name
Comment
SUBMIT
118 COMMENTS
Quang Says:
November11th,2016at5:49am
YoucanjustdeletetheFolderLockerfile,orputitsomewhereelse.
Youonlyneedittobeinthefolderwhenyouwanttolockorunlock.
Aslongasyourememberthesamepassword,youcanalwaysmakethatfileanytimefollowingHenry'sinstruction.
unknown Says:
November10th,2016at1:18pm
Ikeepalockfolderwithpasswordandhasthepasswordtothefolderinit.
Hossein Says:
November2nd,2016at5:53am
Hey
Thereisabugwithit!
Ifsomeonechooses"Previewpane"inviewtitlebar,he/shecanoverviewthecontentinfolderlocker.bat
sohe/shecanfindthepassword!
sachin Says:
October23rd,2016at1:48pm
whatifiaccidentlydeletedthefolder"NewTextDocument",
permanently?
Awesome............itworks
useitproperlyandmakesureofyourpasswordanddon'tblameguys............
UnlessIhavedonesomethingwrong,Rightclickonthebatfile,selecteditandyouwillseewhatthepasswordis.Doesnotworkforme.
http://www.laptopmag.com/articles/passwordprotectfolderwindows10 10/17
02.12.2016. HowToPasswordProtectaFolderinWindows10
weedy Says:
October3rd,2016at4:09pm
ifulostworklikemejusttypethetitleoftheworkintothesearch
Surya Says:
October2nd,2016at2:30am
Don'tuseit.
It'stotallyfraud.EventhoughI'mtypingthecorrectpasswordmyfilesarenotdisplayed.
Ilostmyvaluablefilesduetothis.
don'tdaretodothis.
Ahsan Says:
September20th,2016at12:55am
Itjusthidesthefiles.
Moreoveranyonecangetthepasswordbyeditingthefolderlockfilewithnotepadoranythingandlookforpass==
Itisjustforhidingthefolder.Thefolderappearswhenyousearchonsearchbar.NotUseful.
ifweforgotpasswordthenhowcanwerecoverit.
iamtypingcorrectpassword,butthelockerpassworddoesn`ntopen.
pleasehelpimmedatley
Interestingidea,howevertheprotectionprovidedbythismethodisextremelylimited.Simplyenabling"showhidden/systemfiles"willmakethefiles
appearagain,completelybypassingthepasswordprotectioninliterallyafewclicks.Evenworse,ifyoudothisforfilesonaportabledevice,saya
USBstick,andconnectittoacomputerthathastheoption"showhiddenfiles"enabled,thefileswillshowuprightaway!Soit'snotreallyagreat
solutionifyouwanttogiveaUSBsticktoafriendandbesurehedoesn'tseeyourhiddenfiles.
ProperlypasswordprotectingfileswithoutadditionalsoftwareisafeaturethatWindowssimplydoesnthave,sotheonlywaytoactuallypassword
protectyourfilesistouseadditionalsoftware.Ifyouarelookingforaneasytousesolution,IwouldsuggestSafeplicity(https://www.safeplicity.com),
butIambiased,sodonttakemywordforitandbesuretocheckoutsomealternatives.Ifyourelookingforafreeopensourcesolution,VeraCrypt
(https://veracrypt.codeplex.com/)isprobablythebest.
Onelastwordofcaution:whenchoosingthesoftware,makesurethatitnotonlypasswordprotectsyourfiles,butalsoencryptsthem.Password
protectionwithoutencryption(liketheonesuggestedinthearticle)canbebypassedbyanycomputersavvypersonwitheasewehaveseenmany
livesruinedbecauseofthis.Passwordprotectionwithencryptioncannotbebrokenbyanyone(unlessyoubelieveinconspiracytheories).
Finally,foreveryonewhocannotaccesstheirdataanymore,herearedetailedinstructionshowtogetitback:SimplygoinWindowsExplorerto
Options>Changefolderandsearchoptions.Nowmakesureyoutick:Showhiddenfiles.AlsountickHideprotectedoperatingsystemfiles.
Thatsit.YourprotectedfolderwillshowupagainwiththenameControlPanel.{21EC20203AEA1069A2DD08002B30309D}.
http://www.laptopmag.com/articles/passwordprotectfolderwindows10 11/17
02.12.2016. HowToPasswordProtectaFolderinWindows10
UltraUnknown Says:
September8th,2016at5:16pm
Hi.Basicallynoticedaflawinthis.Iwaseditingmyownversionofthis,andnoticeditcanbeviewedvia7ZIP.Evenifyouhaveconvertedbatchto
exe,7zipcanstillseethe"ControlPanel.{21EC20203AEA1069A2DD08002B30309D}"folderandthatfolderisthelocker.Withinthefolderwith
7zip,youcanstillaccessit'sinternals.
jb2000 Says:
September7th,2016at2:35pm
WARNINGDONOTUSETHISOPTION.TRIEDITONMYLAPTOPANDTHECHOSENPASSWORDDOESNOTWORKIHAVELOSTAHELL
OFALOTOFWORKTHANKSTOTHISTERRIBLE"HACK".
DONOTUSE!!!!!!!!
yuvkiran Says:
September4th,2016at5:23am
yaitisworkingfinebutonesmallproblemwhenwesearchedforthatlockedfolderitisshowingeverythinginthefoldercanupleaseimplementit!
Didastold,YETAFTERCOMPLETINGIT,Icanseethefolder(Blurrbythewaythistime),andcanopenit.Help!!
Kudosdude,Kudos:)workedperfectly!!!!!!!!!!!!!!!!!
Jackel Says:
September1st,2016at3:05am
Helpedalot,thanks*thumbsupemoji*
Abhee Says:
August30th,2016at12:03pm
Whatif.batfilegotdeletedaccidentallyfromrecyclebin?
coleen Says:
August30th,2016at10:43am
triedthis,andwheniwannttoopenitagainsacommandpromptalwayssaysINVALIDPASSWORD:(((((((HELPMEpls
Thisisgreat!Onlyissueisthefilescanstillbeaccessedwhenthefileissearchedforfromthestartmenu.Gotaworkaroundforthis?
http://www.laptopmag.com/articles/passwordprotectfolderwindows10 12/17
02.12.2016. HowToPasswordProtectaFolderinWindows10
@prathapkarakaifyoudolooseitmakedosteps114andyouwillhavethesamefileback.Thecodingismadesothatisworkswithafolder
namedLocker.Youcanalsosaveanothercopyofthatfileontoaflashdriveorotherthing.
nowiamgoingtostoreallmyporncollectioninthisfolder....
thankyouverymuch
hellogoodmorningthanksforsuchcode,itsworkingfantastic.butihavedoubtthatifi'lllostthatbatchfilethenhowcaniopenthatfolderagain.
Pabaz Says:
August12th,2016at4:13am
Itworkedonwindows10OS.Thankyou.
ifweforgotpasswordthenhowcanwerecoverit.
iamtypingcorrectpassword,butthelockerpassworddoesn`ntopen.
pleasehelpimmedatley
Donald Says:
August10th,2016at4:31pm
Itworkedfine,onthepcside,andIexethefilesoitsfine,thequestionIhaveisthedriveIhaveonanetwork,doesnotcreatethefolderfromthe
code,isthereapathissuewiththecodethatI'mmissing?
Iusedthistutorial,butwhenthefolderwaslocked,atransparentfolderappearsandthe"Locked"filescanstillbeaccesseseasilywithoutthe
password.The"Locker"folderneverdisappearslikethetutorialexplains.Idon'tknowifit'sjustmeoraglitchsomewhere.
Thomas Says:
July28th,2016at11:16am
Niceidea,butno.
Allyouhavetodois"Edit"theFolderLocker.batfileandyoucanseethepasswordinaTextEditwindow.
SIVAKUMAR.G Says:
July28th,2016at7:55am
http://www.laptopmag.com/articles/passwordprotectfolderwindows10 13/17
02.12.2016. HowToPasswordProtectaFolderinWindows10
ihavedoneeverythingasyousaidbutthenameofthefolderonlychangestoControlPanel.{21EC20203AEA1069A2DD08002B30309D}
Duhduh Says:
July20th,2016at5:52am
Thisisutterlyuseless.
Somuchworktocreateasystemprotectedfolderthat'snotreallypasswordprotected.
AnyWindowsuserthatdisablesthe"Hideprotectedoperatingsystemfiles"willseethis.
Ihavebeenusingthisthepastfewmonths.YesterdayIaddedsomefilestotheLockerandlockedit.Ithenreopenedthehiddenfolderandallmy
filesareGONE.Iamatalostasaremyfiles.Thesewereveryimportantfiles.Anywaytorecoverthem?Thanks.
shyam Says:
July7th,2016at6:38am
WhatifIdeletethatbatchfileafterlockingupthefileswhichiwanttoprotect??
Willthefilesbevisiblethen..orwilltheybedeleted?
Varun Says:
July2nd,2016at11:35am
Thankyou,howeverthefilecanbefoundandopenedusingsearch
madmax Says:
July2nd,2016at11:33am
awesome,itssoeasy.....greatwork
IdoitstepbystepandallworksgoodbutwhenItrytoounlockitandputmypassworkcan'tfinditanymore.Plshelpme.
Devao Says:
June17th,2016at4:45am
Thisissoredundant.Allitdoesismakefileshidden.Icanstillreadthem.Useless.
Thisprocedurejusthidesthefolder.OnceyouchecktheshowhiddenfilesandfolderoptionyoucanseeafoldernamedControlPanel...andall
yourfilesareinit.
http://www.laptopmag.com/articles/passwordprotectfolderwindows10 14/17
02.12.2016. HowToPasswordProtectaFolderinWindows10
Excellentarticle,manythanksworksanabsolutetreatinWin10.noneedforanyofthosedodgy3rdpartySWprogrammes,thanksagain
Thisisamazing!Tombupbro,itworkedforme.Re:followtheinstructiononthescreenshortsclosely,it'slikeABC
Thenewfolderwon`tappear!Isthereawayformetocancelthis?It`slikeIdeletedit!Itwon`tcomeback.pleasehelpme.
annonamous Says:
May10th,2016at1:46am
Itrytogeneratefolder,butnothinghappens.Thescreenblinksandnonewfolderappears.Pleasehelp!
Amikkumar Says:
April29th,2016at12:18pm
Hey,Ilostallmyfile.Itwasmorethan5000filescollection.
AllstepsweregoodbutnowwhenIopenFolderLocker.batandentermypassword..itgivessomemessage"unexpectederror"orsomethingand
commandscreencloses.Thefilesdoesnotshowup
Whydidyoudothis?
Spiros Says:
March30th,2016at12:58pm
Thefilesarejusthiddenfromview.Theyarenotreallyprotected.AllyouhavetodoisclickontheViewtabonthemenu,Options,Vue,andenable
theviewhiddenfilesandfolders.TheLockedfolderwillbevisibleonceagainandyoucanaccessallthefileswithoutapassword.
raghav Says:
March15th,2016at10:49am
Iwassurfingonwebandfounguradviceiknewhowtodoitbutneveruseitbecauseitcanbechangedeasilybyrightclickingonthe.batfileand
clickeditthenanyonecanchangethepassword.
IhavesomeexperiencewithbatfilesbutIcouldnothavemadethis.THANKS!
Robert Says:
March13th,2016at1:18pm
ForsomereasonmyLockerwillnotlockanymore.ThecommandpromptwindowtoconfirmlockingcomesupbutwhenIputtheyinforyesandhit
enterthepromptwindowgoesawaybuttheLockerdoesn'tdisappear.Workedgreatuntilnow.Canyouhelp?
http://www.laptopmag.com/articles/passwordprotectfolderwindows10 15/17
02.12.2016. HowToPasswordProtectaFolderinWindows10
Johny Says:
March12th,2016at6:08am
afteripressYitdoesntdoanything
elnor Says:
March9th,2016at1:56pm
STEPNO.18ISNOTSHOWINGANDNOTWORKING
Thisroutinehasaserioussecurityproblem.IfIrightclickonthe.batfile,edit,Icanseethecodeincludingthepassword.Notterriblysecure!
Backtotop
ASK A QUESTION
HowdoI... PUBLISH
SUBSCRIBE
enteremailhere... SUBMIT
3 Lenovo ThinkPad
13
4 Asus VivoBook
E403SA
Best 2-in-1
5 HP Spectre x360
http://www.laptopmag.com/articles/passwordprotectfolderwindows10 16/17
02.12.2016. HowToPasswordProtectaFolderinWindows10
HOME ABOUT US
SUBSCRIBE TO LAPTOP
enteremailhere...
Copyright2016AllRightsReserved.
http://www.laptopmag.com/articles/passwordprotectfolderwindows10 17/17