How to create a Password Protected Folder in Windows 7

This tutorial will guide you through the steps required to create a locked folder in Windows 7 – without installing any additional 3rd party software.

9/27/15 Update: although the screenshots will be different, the method outlined in this tutorial to create a password protected folder does work in Windows 8.

While the steps below will guide you in creating a hidden and password protected folder, this method is not 100% secure. It will deter the average computer user enough, but an advanced user will be able to access the contents of this folder. If you want to create a truly secure and encrypted place to store files and folders that absolutely nobody will ever be able to access, see the tutorial How to Securely Store Files in Windows (which includes installing software, but it’s completely free).

  1. Create a new folder and name it whatever you would like.
  2. Open the folder, right-click on a blank area in it, then select New -> Text Document from the pop-up menu.
  3. Open the text file you just created by double-clicking it and copy/paste in the following text:

    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 above code, replace the key PASSWORD_GOES_HERE with the password you want to use to unlock the folder. For example if you want the password to be 123456, the line should look like:

    if NOT %pass%== 123456 goto FAIL

  5. Save your new file in the .bat format with the complete file name being locker.bat. To do this, make sure to change the Save as type: to All Files (*.*).

  6. click to enlarge

  7. In the folder you created back in Step #1, double click the locker.bat file and there will now be a new folder named Private where you can put anything you want.
  8. Upon exiting, double click the locker.bat file again. It will prompt you to answer whether you want to lock your folder or not. Press Y and the private folder will disappear.

  9. click to enlarge

  10. In order to retrieve the Private folder, all you have to do is double click the locker.bat file and enter the password which you set in Step #4 and the folder will appear again for you to access.

  11. click to enlarge

  12. That’s it!

Again, this method is not truly secure. How to Securely Store Files in Windows will take you through the steps to create a really secure folder (using free software).

{ 1065 comments… add one }
  • Mike Sanders November 29, 2010, 1:36 pm

    The first time I ran it it created the folder, but after hiding it it would not bring it back. It gives the message “goto unexpected at this time”

    It also says Quote is not recognized as an internal or external command

  • Ken November 29, 2010, 1:37 pm

    I did this and when i try to open it says “goto was unexpected at this time”. how do i access the folder?

  • Bill November 29, 2010, 1:38 pm

    Couldn’t you simply click “edit” on the batch file and easily read the password to unlock the folder? Seems pretty ineffective.

  • Ross McKillop November 29, 2010, 2:12 pm

    @Bill – yes. It’s meant as just a quick way to hide/secure a folder. As I mentioned, it’s not meant to keep any kind of very advanced user from viewing the folder. Opening the batch file in a text editor would reveal the password very quickly :)

  • Ross McKillop November 29, 2010, 2:14 pm

    @Ken and Mike –

    I’ll check to see if some of the ascii did not render properly in the code displayed on this page (perhaps the copy/paste caused the problem).

  • Splist November 29, 2010, 2:32 pm

    I recived “goto unexpected at this time”
    when trying to unlock the folder

    looked at the Code and the line:
    set/p “pass=>”

    has no ASCII quotes in it from the copy and paste
    remove and re added them inside of notepad and everything works as it should.

  • Fabian November 29, 2010, 2:51 pm

    Hi Splist,

    Tried removing and re-adding the “quotes” to no avail.
    Any other suggestions?

  • none1 November 29, 2010, 3:03 pm

    Fabian, what Splist said worked for me:
    “pass=>” became “pass=>”

  • Ross McKillop November 29, 2010, 3:06 pm

    Splist – you’re right – there was a formatting issue in that line, which I’ve now fixed. Thanks!!!

    Fabian – I also fixed the rest of the possible ascii issues in that line, try the copy/paste method again. I just tested it in Windows 7 again with a copy/paste and it worked for me (using Notepad to create the .bat file).

  • none1 November 29, 2010, 3:07 pm

    So that didn’t work. Copy the quotation mark from here: http://www.hypergurl.com/asciisymbols.html
    Make sure it isn’t the beginning/ending quotation marks.

  • none1 November 29, 2010, 3:08 pm

    Sorry Ross, didn’t see your update. You’re onto it, you can delete my comments :)

  • Ken November 29, 2010, 4:08 pm

    Thanks everyone, got it working now

  • raku November 29, 2010, 4:11 pm

    hey does it work for vista 32 bit coz i tried but tried to un lock the folder thru locker.bat it creates O named filed with O bytes and nothing happens…

  • Dizzle November 29, 2010, 4:44 pm

    Hopefully users of Windows 7 also have the preview pane turned off…

  • brian November 29, 2010, 6:36 pm

    this is great ive been trying to figure a way liek this for very long now and i used the transparent icon tut on lifehacker to make the icon of the folder private is in and put it on my desktop so it looks like nothing is there aswell!

  • Fabian November 29, 2010, 7:23 pm

    Thanks guys!

    It worked like a charm now!

  • Dean Rabbetts November 29, 2010, 8:03 pm

    This is great, for the people who said this is not secure go to http://www.bdargo.com/id10.html and download the batch file compiler, then no one can edit the script without knowing the password you used to compile the batch script.

  • Christobal November 29, 2010, 10:19 pm

    I tried this on my vista 64 bit and it worked perfectly! Also if you don’t want someone to open the batch file and find out the password just move the batch file into the password secured file afterward.

  • Steve November 29, 2010, 11:51 pm

    Perhaps I overlooked this, but I presume you need to have Windows setup not to allow you to see system files.

  • fallsoff November 30, 2010, 4:08 am

    Office 2010 trial will not let me save the .bat as . Will try .doc or something; but is there a work around??

  • Joel November 30, 2010, 4:36 am

    FYI: It works also with XP ;-)

  • RameezK November 30, 2010, 6:18 am

    @fallsoff:
    Use Notepad or Notepad++ or any Text Editor.

  • sourav November 30, 2010, 10:20 am

    worked like magic…And most of all it worked on Windows XP too….everyone should try….thnks for sharing…. :)

  • Narendra November 30, 2010, 9:59 pm

    it is not work..some error is coming that the system cannot open the file MDLOCKER..
    so wat can i do….. is there any trick for that same……

  • Shrex December 1, 2010, 5:57 am

    Anyone may simply delete your locker.bat file, create a new one with a new password and access your data… This is not very safe to me :)

  • Daniel December 1, 2010, 3:04 pm

    I (foolishly) deleted the folder to start over. Now, it doesn’t work and I need to uninstall and start over. How do I uninstall??

  • fallsoff December 1, 2010, 4:53 pm

    Oops, sorry my post was missent earlier. I meant to say:
    ‘Office 2010 will not allow saving the .bat as ‘all files’. The option does not appear. I saved as .doc and of course failed to achieve anything. Any suggestions? I am in W7 Enterprise.’

  • David December 1, 2010, 7:51 pm

    Awesome tutorial. Thanks man. It helps a lot to protect some confidential documents.

  • Natalia December 5, 2010, 4:18 pm

    Is it possible to do this on Windows XP? If so could you please make a tutorial on it? Thank you.

  • Clyde December 5, 2010, 7:13 pm

    Excellent tut, Thank you.

  • Dara January 18, 2011, 8:00 am

    This is excellent! Thankyou so much!
    I’m used to having a protected folder cause my old laptop had a program called My Safe that was locked by finger scanning… but my new computer doesn’t so this will have to do lol.

  • KING February 6, 2011, 4:25 pm

    thx very mush man
    it works so good
    i love you

  • Daniel February 25, 2011, 5:00 pm

    Can I move this bat file to where ever I want now? Can’t someone just rightclick+edit the bat file using notepad to see the password if it’s sitting around?

  • Daniel February 25, 2011, 5:03 pm

    Also, if the .bat is deleted when the folder is “hidden” where does it actually go, and will I be able to access it should the .bat be deleted? How do you remove the password protection if one decides he has no need for it anymore? Just delete it?

  • CodeBreaker February 28, 2011, 12:42 pm

    CodeBreaker:
    Yeah.. here’s where your file hiding.
    C:\Users\DUDE\Desktop\Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}

  • Jim March 9, 2011, 2:10 am

    Thank you SO MUCH! This is extremely useful, everybody else just told me to encrypt it or something but this is exactly what I wanted! T’anks!

  • INSICO ICO April 18, 2011, 3:25 pm

    it’s so great info, it’s so useful. thanks you so much

  • VK June 2, 2011, 2:05 am

    Ross thanks

  • Crit June 3, 2011, 6:36 am

    Here’s a nice little tip I tested. Probably won’t make it too more secure but it will throw some people off. Change the found to wingdings and they can’t read it. So your password can’t be seen.

  • Z June 6, 2011, 1:10 pm

    Guise the answer on the most bottom:
    http://answers.yahoo.com/question/index?qid=20071216224714AA1vnDu

    2 thumbs up for that

  • Z June 6, 2011, 1:14 pm

    Okay nevermind, you could still access the folder by typing the folder name in the folder path

  • Z June 6, 2011, 1:28 pm

    What if the folder you want to make private is entitled something like “ZH Pics”? How do you deal with space?

  • SOUMYA June 20, 2011, 1:34 am

    Sir, Hat’s of………………………………..
    Unbelieveable

  • Vishal June 22, 2011, 5:45 am

    Thank you very much… This is exactly what I wanted, just to hide few folders from my pals.
    After hiding, I just compressed the locker batch file with a password and deleted the original batch file.

  • praveen June 27, 2011, 7:11 am

    thanx for helping me about batch file coding

  • MILIND July 1, 2011, 1:58 pm

    Waw….
    Its realy sooooooooooooo usefullllllllllllll….
    I like this too much..

  • KJ July 23, 2011, 5:11 pm

    I did all this and it worked. BUT…. when i search the names of the images, theyre easily accessed… wth?

  • annegresloon August 2, 2011, 11:58 pm

    Hey when you click once the locker icon the command including your password shows in the details (preview) window.. is there a way to hide it or else it’s not protected at all hehe!! :)

  • balaji August 7, 2011, 3:31 pm

    simplest locker ever… I love it

  • aman August 13, 2011, 2:17 am

    this is cool!
    first time i made a protected folder.

  • Mr. Awesome August 13, 2011, 2:47 am

    Is there a way to put the bat file in on spot, say music and have the folder in another spot say pictures for example? I would really like to hide the bat file, and have the folder appear somewhere else.

  • Madison August 18, 2011, 11:22 pm

    Thank you very much ! It worked very nicely :)

  • Shalmi September 3, 2011, 10:18 am

    BTW, when u look with WinRAR in to the folder where the “hidden” folder is located it will be shown and available.

  • Kushank September 4, 2011, 1:19 am

    Impressive….

  • martin September 6, 2011, 5:21 pm

    dude i love u. u rock man.

  • surya September 7, 2011, 12:47 am

    Thanks…. IT worked, really love to know such technologies in windows

  • Mona September 8, 2011, 1:11 pm

    Thank you .. you helped a lot =D

  • sNicky September 14, 2011, 10:12 pm

    Thanks a lot! you are great

  • Tomasm21 September 17, 2011, 4:16 am

    1. What will be if you delete the locker?
    2. What will be if you rename that “private” folder into another name?
    3. How advanced users can bypass this method and view the contents of the folder?
    4. I have 2 OS on my PC – Windows 7 and Windows XP. If someone would restart PC to Windows XP, will they eventually see the folder? Or will there still be the locker and the system will work?
    5. What if I have this folder in external HDD? And if this HDD will be carried to another computer and connected there. Will the locker will work? Or the contents will be simply accessible?

  • CrackerJack September 25, 2011, 1:46 pm

    Great work!

    I guess to enhance the “SECURITY” more, we just need to put the “locker.bat” in a .rar file and encrypt it with a password too. Damn Hassle, but i guess it somehow helps? LOL

  • Johny September 25, 2011, 4:20 pm

    ca’t someone just delete the locker file and gain access to the folder?
    im a n00b

  • Manjunatha September 26, 2011, 1:18 pm

    Hello,
    this method of folder protection has worked nicely. thank u, but how to change the password in case of requirement, because when i tried to open the content of the notepad file to change the password, the content itself was not appeared. plz help me any body..

  • Tomasm21 September 29, 2011, 8:33 am

    This method is surely for noobs. Any human that has a little bit of knowledge, is smart, can bypass this. So it is not safe. But I’m glad to know it. However the whole system must be upgraded in order not to bypass this so fast.
    Best way is to zip your folder and set a password.

  • JK September 30, 2011, 6:07 am

    Well, it is working as expected.

  • David October 14, 2011, 3:48 pm

    One problem I saw with this.

    If you have the sidebar preview active, when you single click on the locker file, it shows the contents (i.e. the code) that has the password written into it. If one were to read the code, they could easily find out your password.

    Any way to fix this?

  • Luca October 19, 2011, 10:45 am

    L’unica cosa che non mi piace realmente di questo bel programma è che quando si inserisce la password, la stessa è VISIBILEa chi ci stà intorno; non è possibile criptarla con ****** ?

    Potete dirmi come si può aggiungere questa variazione al programma ?

    GRAZIE ATTENDO RISPOSTE

  • Neil October 24, 2011, 10:59 am

    Working nicely right now! Thanks

  • kriza October 27, 2011, 6:18 pm

    is very good nice.

  • ztlop November 1, 2011, 5:23 pm

    its so greattttttttttttttttttttttttttttttttttttt,,,,,, cool…. u rockman

  • Kelli November 1, 2011, 6:16 pm

    This works! I thought it wouldn’t at first, but it does. Thanks so much!

  • guest November 4, 2011, 6:53 am

    Thanks i love u

  • Love this! November 7, 2011, 5:14 pm

    Best thing since sliced bread! XD

  • Sandrine November 8, 2011, 10:21 pm

    nice… ppl at my home aren’t computer geeks so this should work just fine. thanks for posting!

  • Ayush November 10, 2011, 4:47 am

    aWESOME

  • nguyen November 10, 2011, 11:07 am

    just right click the locker.bat and select edit anybody can see your password

  • Share November 10, 2011, 11:26 am

    thanks alot for this share :)

  • RAGHAV CHANDRA November 13, 2011, 6:00 pm

    REALLY AUSUM… THNXX A LOT

  • bala November 17, 2011, 3:23 pm

    thanks for your info. it works.

  • stab November 22, 2011, 1:33 pm

    Very nicely done. and thank you for the code. i will try to modify it to include options like changing password

  • irfanuddin November 23, 2011, 9:47 am

    thanksssssssssssssssssssss
    a lot………………………..
    for sharing..

  • JT November 23, 2011, 7:22 pm

    This is nice, but how will you be able to hide the actual locker.bat file from being seen then? Cause once you right-click then edit the bat file, you can just easily see what’s inside the file itself…

  • RAAT November 25, 2011, 9:42 am

    OMG ! It works………..!

    It’s reaLLy very awesome……….I’m haPPy nw..

    thanks a lot……………..

  • Mekbeb November 28, 2011, 3:53 am

    I am glad to know it . But simply right click on the locker file and click open , you will see the code there which has the password. Not safe method.

  • Bilal November 28, 2011, 12:02 pm

    i m not able to retrieve my private folder.. i m entering my password correctly.. but its not retrieving.. what should i do now… tell me plzzz…!!

  • subramanyam PSRK November 29, 2011, 12:03 am

    Its simply superb. however if anybody right click and edit the locker.bat file they can easily view the password. I think its not completely SAFE…

  • Rorie November 30, 2011, 6:06 am

    This is all great and very clever, but the files/folders are still accessible through windows search. So what now?

  • J.J.Shevy November 30, 2011, 5:18 pm

    Thanks a lot :-)

  • Orion November 30, 2011, 10:37 pm

    is it working ? It seems like working but it is simply hiding…………when search hidden folder your private files will be open or if you go to recent documents it will give direct access to your private folders…………

    If any body had any solution plz inform…………….

  • Ludo December 1, 2011, 7:58 am

    Thx for helping me

  • chetna bhalla December 2, 2011, 10:33 am

    thnx..it helped meee…!!

  • Fresco Cherie December 3, 2011, 9:14 am

    Thanks Alot…I Love The One Who discovered This……It helped me alot..Thankyou:):):)

  • Padmakumar December 4, 2011, 11:42 pm

    Thanks…….. great work …………

  • Sabrina December 7, 2011, 7:34 am

    excuse me, but once you have opened the file, you can’t lock it back again… can anyone tell me how to do that please.

  • shuvo December 7, 2011, 1:46 pm

    dude, u r grt

  • kunal singh December 8, 2011, 7:36 am

    Thanks a lot

  • IBGman December 8, 2011, 1:52 pm

    That’s cool and all, but it does not work when you have the option “show hidden files” on. But this is a rather clever trick, good sir.

  • brendo December 9, 2011, 5:40 pm

    woot! now i can hide all that CP i’ve been stashing

  • Raghu December 11, 2011, 8:54 pm

    hello, such a simple program, thanks a lot.
    it helped me to save me few bucks.
    thanks for sharing my friend.

  • Nadun December 12, 2011, 12:30 pm

    thanks lot thanks once again

  • Greg December 16, 2011, 12:07 pm

    Props to ya!! Thanks

  • rachna December 17, 2011, 3:52 am

    I am having a problem..can anyone help? i made the folder where the password is written ut as i double lcik t ”main folder” i dont get any folder named”private”

  • rachna December 17, 2011, 3:57 am

    oh great!! done..

  • ferry December 22, 2011, 6:18 pm

    very useful post Bro!!!!

  • Sapphy December 26, 2011, 10:09 am

    Awesome..!!

  • Begi December 27, 2011, 4:19 am

    It has nothing to do with a password protected folder, its just hidding your folder and makes it look like a system folder.
    On folder options; selecting “show hidden file” and removing the check mark from “hide protected operating system files” it will be visible to all,
    better if you create this “hidden folder” to a specific path where nobody would see them deep in the system (if it is very important not to be detected from anyone)

  • rahat December 27, 2011, 6:52 am

    nice dude simple n sily

  • Brittany December 28, 2011, 4:24 am

    it works!!!!thanks

  • JAGUARJO December 30, 2011, 11:46 pm

    wow thanx mate

  • ISHWAR January 1, 2012, 9:16 am

    THANKS LOT…ITS VERY USEFUL…

  • Lynn January 7, 2012, 9:13 pm

    This worked great for me!!. The only problem I had at first was when saving the text doc I had no option to save ALL FILES, which I found was because I did this wordpad NOT notepad.. But once I did this in notepad It worked exactly as described.. For some reason which Im not sure why (wanna be nerd) when I right clicked to create the new textdoc mine opened it in word pad. But while rereading I seen it was in notepad, I tried again just slightly different path (not by much) all was well.. Thanks for the info!

  • Altaf Hussain January 11, 2012, 11:07 am

    its great. but how would u change the password.

  • prakash January 11, 2012, 12:08 pm

    If anyone deletes the locker.bat file private folder will be accessable, isn’t it. How to protect in such cases

  • shana shepird January 14, 2012, 8:34 am

    thank u, thank u, thank u, it realy worked but i have a question does it work on other windows such as XP or others???

  • Kiki January 16, 2012, 3:22 am

    Hmm nice, but anyone can oped the locker.bat file in edit mode and see the password…

  • asad January 17, 2012, 3:16 pm

    it really works great.

  • PRANAVA January 18, 2012, 5:23 am

    Thank you man. It work.!!!

  • geokarlo January 20, 2012, 1:10 am

    It really works but its just going to hide. the folder… and no use for the password thing…
    hope you can make more security about the script…

    T_T

  • deya January 20, 2012, 8:49 am

    Thanks bro for this article, also it’s a useful method….
    BUT the problem is anybody can go the “locker.bat” and open it as editing, then the password would be clear to see; so this method is not 100% secured.

    If any other method could be used, please provide us with it.
    Thanx again :)

  • Seikoops January 20, 2012, 7:19 pm

    Works! Thank you my man :-)

  • Cool Peoson January 22, 2012, 8:52 am

    for the password problem, set the password to any number of these: *
    mine is this: ********* so anyone who edits it think its hidden, tho that is the actual password! ;)
    just an idea x

  • Satyam January 24, 2012, 10:28 am

    Thanks aloooot for telling. Was a useful trick for me.. Thanks..

  • hilmi January 24, 2012, 12:38 pm

    hye..totally worked….thanks dude!!…;DDD

  • Fuat January 25, 2012, 10:54 am

    I cant see my documents anymore inside of the folder how can i make a recovery?
    Pls help!

  • Jerome January 25, 2012, 10:31 pm

    thanks men.. perfect

  • Bshabazz January 26, 2012, 6:45 pm

    Very useful batch file script. Can you change name of the folder from Private to another name, by editting the script & replacing Private with another name

  • rich January 28, 2012, 1:37 am

    how do i reverse this?? the folders i have added to private have now disappeared?! thanks

  • Bounty Man007 January 29, 2012, 6:48 am

    nice work

  • Abhi January 30, 2012, 8:56 am

    ALWAYS! Always! always!
    It is awesome and It works :) :)
    But the problem is if u delete the file locker.bat
    It can be searched

  • SMART GUY! January 30, 2012, 11:14 am

    It isn’t really that secure. If you go to you start menu icon and use the search engine to find the folder you have set as private. You will be able to find the folder and let’s say if anybody know’s the files name, it can totally be viewed without having to enter any password’s. All that this does is hide’s the folder but not permanently locks it. So its a good thing if no one know’s the name of your file :P

  • hekri January 30, 2012, 5:51 pm

    Yup! Smart guy is right, this is not secure at all.

  • Hi January 30, 2012, 7:11 pm

    lovely :)

  • RANA January 31, 2012, 12:57 am

    Go to preview pan and click the locker.bat
    preview show your program including the password.

  • kuldeep January 31, 2012, 2:45 am

    superb !!!!!!!!!!!!!!!

  • meme February 1, 2012, 2:43 pm

    Very good idea BUT if someone searches the file make in the private folder they can access it anyway from searching in the start button… just letting everyone know this isn’t a fool proof lock at all!!

  • Hamid Reza February 1, 2012, 5:28 pm

    this is not good way because if we un check Hide pretected operating system file in folder option every body can see this file!

  • SAKTHI February 9, 2012, 1:13 am

    AMAZING DA THANK YOU VERY MUCH

  • ganta s.nivas February 10, 2012, 9:31 am

    thanks for make me know

  • bijendra meena February 12, 2012, 7:08 am

    how to change password if i want to change it

  • sandy February 14, 2012, 4:10 pm

    amazing…………..no words to describe………….Thank you somuch:-)

  • Suzan February 16, 2012, 5:09 pm

    OMG soooo good !!! :D Thanx Mate

  • good man February 17, 2012, 5:11 am

    sadly not work the item that you but it in the protected folder simply wil be showing up in the search bar : ( just try

  • Stephen February 17, 2012, 2:50 pm

    You’re a genius. Cheers mate!

  • Masud February 19, 2012, 3:06 am

    Thanks, thats very great and nice

  • Abhisek February 21, 2012, 1:13 am

    thaks a lot it realy work

  • gopi February 22, 2012, 9:25 am

    hey..
    thanx…for this program.. which ‘ve been waiting for..
    but i dn’t wheter it is 100% safe. rnot…

  • ELLIOT L-C February 22, 2012, 4:05 pm

    this is great now to try it at school

  • shuvo February 25, 2012, 4:29 pm

    awesome

  • anna February 29, 2012, 1:41 am

    amazing! thanks for the tips

  • anuj March 3, 2012, 12:03 pm

    will this code work for locking the drive also ?

  • WillemHarff March 4, 2012, 3:41 pm

    The thing is, If you right click the “Locker.bat” and you choose edit,
    The password will show up in this text: if NOT %pass%== PASS_GOES_HERE goto FAIL.
    So thats a problem, the problem, everybody can figure that out. There should be a lock on that aswell. And does anybody know how to get a censor “******” when you type in the password? So when friends are looking they won’t be able to see the password. Please comment on this reply.

  • gopal March 5, 2012, 7:06 am

    @deya, thanks deya, i didnt knew that the password can be accessed so really its not secure

  • Maulik C. Goswami March 6, 2012, 2:02 am

    can we hide password while typing it.

    like can we have ” **** ” instead of visible password

  • P.Satish March 11, 2012, 10:24 am

    can we hide password while typing it.

    like can we have ” **** ” instead of visible password

  • Sharon Satterwhite March 11, 2012, 3:45 pm

    This method is not secure at all. I did a search (in Windows 7) for the files I put in the “Private” folder, with the lock ON, and they came up in the search pane.. I double clicked on the “locked” files and they opened right up. To make sure they were locked, I went to the folder I created, double clicked on the locker.bat folder, and the box popped up, asking for my password. Apparently, the search feature completely bypasses the password process. There must be a better way to lock a file. I have a password on an individual file, but that can be cracked, too, by anyone with a little advance expertise..

  • s singh March 12, 2012, 7:20 am

    thanx bro

  • mmtg96 March 13, 2012, 8:31 am

    Just rename batch file to sth like “Windows Driver 146s987su” and no one will try to access it xD and put it in a folder called ” Windows Drivers for /&&#)%I/%” and SUCCESS !

  • Jake March 13, 2012, 10:01 pm

    @SHARRON Yes, like mmtg96 said, name it some random combination of letters and numbers. No one will search for it. If you don’t want to do that, you may have to go with third party software. I don’t know much about it.

    Anyway, thanks for this tutorial! It’s great.

  • Sasanka March 14, 2012, 4:14 pm

    bat files are editable,any body could easily crack it by opening it notepad and change the password,so think a better idea.

  • mukul March 21, 2012, 4:56 am

    great trick to hide the folders.. really wonderful thanx a lot

  • Name March 22, 2012, 9:30 pm

    Just put the locker.bat folder somewhere weird, and also name it strange, and it will be very hard to search and find.

  • Bloop March 29, 2012, 7:43 pm

    You put the files hidden so search can’t find them -.-

  • shayla April 1, 2012, 9:01 am

    wow!!! this has been really helpful…but we have to lock it every time we use it….makes it uncomfortable

  • Sarvesh April 2, 2012, 11:23 am

    Thanks man this was great!!!

  • UUUURGH!!! April 3, 2012, 8:44 pm

    THis worked perfectly—except for one thing. You can still open the file. if you search it, like someone else mentioned, you can open it easily. however this is no biggie because no one know what the file is called. the real issue is that when i right click on the wordpad icon on the bottom bar of my screen, it shows all the documents ive worked on lately, and anyone can see the file and click on it. HELP!!

  • Rave April 6, 2012, 12:58 am

    i recommend truecrypt software.. It’s more secured and free.

  • Sabir Alam April 9, 2012, 10:07 pm

    I am downloaded file loker from all the site and it dosen’t work.
    Finally i click on this site and i try its really work .
    Thank you………………………….

  • george April 10, 2012, 10:59 am

    thank uuuuuuuuuuuuuuuuuuuuuuuuu soooooooooooooooooooooooooooooo muchhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

  • edinson April 16, 2012, 11:59 pm

    no sale

  • Milind April 18, 2012, 2:18 am

    hey its amazing
    thanks
    ???? when i am search jpg or any type of file then this private folder shows any items????????
    so thanks……………………………..

  • sandeep kumar mahto April 21, 2012, 12:29 pm

    thanks bro,

  • rimzan khan April 24, 2012, 8:19 am

    thanks dear

  • navin April 25, 2012, 1:38 am

    if u want change the name of folder replace all private to urs folder name and save as bat file

  • Saran April 25, 2012, 6:31 am

    Coolllllll….. Its amazing……I was looking for this for a long time…….

  • Night Owl April 25, 2012, 10:51 am

    Works perfect for what I need — a way to deter the random morons who might go poking around if I leave my laptop unattended. In my case, they don’t know what they’re looking for and they’re not tech-savvy enough to realize what the locker.bat file might be. And if they were suspicious and opened it, they would get the password prompt and back away. The other commenters are right — this is not something you would want to use when you’re dealing with a person who 1) Knows what to look for, 2) Knows how to edit .bat files. Think of it as a deterrent, not a full-on security measure. Thanks for sharing!

  • Dariukas May 1, 2012, 1:59 pm

    If you right click on locker.bat and press edit, you can see everything you printed in text file including your password, so it is not safe to use your password on this program that you are using somewhere else.

  • Dhiraj May 3, 2012, 12:24 am

    it was ossam.

    thanks
    buddy

  • kashif May 6, 2012, 4:17 am

    thankx man it worked

  • Mahesh Kumar May 8, 2012, 8:57 pm

    Good , I like it .

  • Gourav... May 11, 2012, 9:50 am

    if,in folder option we tick show hidden files it shows file :( no locking s working

  • J. KAARTHIKEYAN May 12, 2012, 6:29 am

    I LIKE THE PASSWORD OPTION IN WINGDOS 7 IT IS WORKING GOOD I LIKE THIS.

  • Abhijeet May 13, 2012, 8:43 am

    tHNX BUDDY made U my life easy…..

  • cwilllows May 13, 2012, 3:24 pm

    and unless some one knows what they are looking for in the search engine they won’t find it , no one knows what files i have hidden or their names simply because i have never told them they exist, so unless someone knows what to look for the won’t find it .

  • anansi May 15, 2012, 6:42 am

    it works!!!

  • Anon May 17, 2012, 9:40 pm

    Thanks!!! This is genius for my fap folder xD

  • arief May 18, 2012, 3:06 am

    i did the above…locked the folder…but in windows search panel when i enter the folder name it shows the private folder and contents automatically without password…check it

  • Willem May 18, 2012, 5:24 am

    Hello Guys, If you’ve been doing this and had succes, there is more! I’ve extended my “private folder” a little bit, I’m gonna post it, edit the “TITLE”, “PASSWORD”, “NAME.”
    Please give feedback!

    cls
    @ECHO OFF
    title Willem’s Business
    FOR /F “tokens=*” %%A IN (‘DATE/T’) DO FOR %%B IN (%%A) DO SET Today=%%B
    ECHO DATE: %Today%.
    FOR /F %%A IN (‘TIME/T’) DO SET Now=%%A
    ECHO TIME: %Now%.
    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 your name. (Real name)
    set/p “name=>”
    if NOT ‘%name%’ == ‘Willem’ goto failz
    if NOT ‘%name%’ == ‘Willem’ goto failz
    if ‘%name%’ == ‘willem’ goto awesome
    if ‘%name%’ == ‘Willem’ goto awesome
    :FAILZ
    COLOR C
    echo Access Denied.
    exit
    :awesome
    COLOR A
    echo Access Granted.
    pause
    COLOR 7
    echo Now please enter password.
    set/p “pass=>”
    if NOT %pass%== superman 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
    COLOR C
    echo Invalid password, You have 1 try left.
    COLOR C
    echo Type in password correctly, or computer will proceed shutdown.
    set/p “pass=>”
    if NOT %pass%== superman goto FAIL
    :FAIL
    shutdown -s -t 10 -c “Access Denied. Windows is shutting down.”

  • Sweety May 23, 2012, 6:30 am

    amazing code.. Keep it up

  • Abu May 24, 2012, 7:11 am

    This method is good for computer noobs.

    To find the password, all you have to do is right click the .bat file and open with notepad, then you can see the password.

    Truecrypt is the best free solution

  • RAHUL May 28, 2012, 8:11 am

    ITS REALY GREAT

  • SIMIR May 29, 2012, 3:51 pm

    I TRIED TO RETRIVE THE PRIVATE FOLDER BUT I WASNT ABLE TO RETRIVE IT???

  • sanwi June 3, 2012, 2:02 am

    good, it works , not 100% secured though. thumps up!!!

  • Z June 4, 2012, 8:38 pm

    Thank you so much! So very helpful. <3

  • L. June 5, 2012, 9:17 pm

    Thank you very much!! I could’nt believe I can do that too. I appreciate!

  • prashant June 6, 2012, 1:40 am

    but u also hav to tell how to remove password when we wish to remove

  • H. K. Koech June 6, 2012, 2:50 pm

    This was absolutely fantastic……….. thanks so much for your assistance

  • Dan June 6, 2012, 9:05 pm

    I deleted the text file and it worked fine still

  • Sonali June 8, 2012, 5:19 am

    Hey Buddy…
    It is gr8…but one bug is their….any one can see batch file & will get password easily

  • AshHilton June 9, 2012, 3:06 am

    I did this and now when i left click on the locker (.bat file) it will flicker on the screen and not allow me time to input anything. Or, it will open a new Private folder that has NOTHING in it and that is what i have unlocked. Helpppp!! Lots of irreplaceable pictures in this folder! and im not computer literate enough to find them!!

  • Daniel June 9, 2012, 5:31 am

    Hey, one idea on where to put the file so that the search bar wont bypass the locked aspect is to put it inside of the Appdata folder.

  • afzal June 9, 2012, 1:02 pm

    Great what a way to secure a folder;… thanks

  • Susheel June 11, 2012, 9:17 pm

    This method is not secure at all, any one can see batch file & will get password easily

  • kwstas June 17, 2012, 6:43 am

    is there a way to put and another password which when is typed the files are deleted???????????????

  • chet June 23, 2012, 5:09 am

    badass dude

  • anony023 June 26, 2012, 8:45 pm

    If I put a notepad text document in the private folder and have it passworded, what is the point if someone can just go to start and see the latest notepad text document and pull it up without a password?

  • anony023 June 27, 2012, 1:34 am

    whats the point of making this private folder (I’ve done it) if the notepad text files can still be accessed without passwords as a document?

  • erfan June 27, 2012, 3:22 am

    interesting
    thankyou

  • Rakesh Bora June 28, 2012, 10:20 am

    very useful

  • Rhys June 29, 2012, 5:57 pm

    what would you have to change if you wanted to change the “private” folder in to another name.

  • Jaipal June 30, 2012, 3:33 am

    if some one deletes the locker file, then how to get back the files from the Privat folder of the locker file.

  • Daniel June 30, 2012, 1:01 pm

    the only thing that is wierd to me, it dont matter if i type the right password or a false password the folder “private” comes up no matter what.

    Exampel:
    lets say my password is: 123456
    & i type in 123 in the password it still opens the folder, or if i type hagasdg or anything i type opens the folder…

  • Kwstas July 1, 2012, 3:39 am

    i had the same problem Daniel… edit the file and after == type your password without leaving a space….==123456 and not == 123456…

  • Salim July 1, 2012, 5:03 am

    Thanks and great work

  • gladson July 2, 2012, 12:41 pm

    its good. but if we search file name of the file in private folder it will be found.and right clicking “open file location” opens that folder.. any solution for this?

  • SomeGuy00765 July 5, 2012, 9:24 am

    Then…does this mean anyone could just open up the file if they really searched for the pass?
    Since you can edit the text document’s/locker’s information, if someone went to edit it they could find the pass out by looking through the text…right? If the pass can easily be changed like that then I’m screwed if my parents open these files. (Yes, they are skilled with computers and such)

    But I’ll just hope they don’t go snooping around on my computer. Thanks for the information though. At least my little sisters and bother wouldn’t be able to figure that out I don’t think.

  • Maho13 July 7, 2012, 1:53 pm

    Kwstas, actually it’s there has to be a space between both the “==” and the “goto”. I’ve tested it both with spaces and without. W/o spaces, I could type in anything and the folder would pop up. With spaces, if I typed in anything, nothing happened.

    But it’s still is easy for anyone to edit the file if they know at least the basics…good thing there are VERY few people I know that are actually computer smart or could at least think to click “edit” or even bother to try to search up how to open it.

  • kwstas July 7, 2012, 2:08 pm

    Maho13 at first i put a space but whatever i typed the folder appeared and when i left a space after “==” worked fine…
    but at least in my family there is no person who will think to right click the locker..my whole family apart from my brother are not computer smart but even my brother when he will see the locker he won’t think that is an editable file…
    It would be great if you could set and another password with the ability to delete, encrypt or hide all of the files inside the private folder…so if somebody don’t believe that you have nothing inside the folder and force you to open it you can prove them that there isn’t anything inside..but i am not so computer smart and i don’t know if this is achievable…

  • Iel July 9, 2012, 4:37 am

    Thanks!… its Great.. work for me… XD

  • Marwan July 9, 2012, 4:38 am

    It’s a very good batch. Make sure that you get it running first, and then password protect it using winzip or any other zip utility, if you don’t want anyone else to use or edit it, here’s for: Right-click on the batch file and click on “Winzip”, scroll down and click on “Add to Zip file”. Check “Encrypt added files”, click on Add, enter a password in the pop-up window, repeat the password, Click on OK.
    This way, you’ll be the only one who will able to run or edit the batch file.

  • sakura July 9, 2012, 11:05 am

    when i lock the file the “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” file appers and i clicked it and all the things that i want to protect is… well… unprotected.. tell me what i did wrong.

  • Will July 10, 2012, 1:18 pm

    Can anyone tell me what language was written in the text file?

  • Rita July 12, 2012, 6:47 pm

    What happens if the locker file is deleted? Do I lose all my documents in the folder?

  • Marwan July 12, 2012, 11:22 pm

    Best practice is to always keep a backup copy of the file. Always backup your data, folders and files…. Backup, Backup, Backup… Keep a copy of that files in different places..

  • Vinodh July 14, 2012, 3:11 am

    Worked great

  • nilesh July 16, 2012, 5:17 am

    what a superb idea man !!!!!!!
    it really works !!
    friends please follow this method

  • Ajit D July 17, 2012, 2:05 am

    Can we place this batch file somewhere else in other folder, to add little more security?

  • Marwan July 17, 2012, 11:50 am

    yes, you can. It was done this way for ease of use..
    Please read my previous comments for extra security.

  • Mahalakshmi July 17, 2012, 4:09 pm

    Awesome idea. Superb for my secured official data!!!

  • MakanBoboi July 17, 2012, 10:23 pm

    Bad… if right click at the lock.bat then click “EDIT” .. we cant know that password.. GG

  • MakanBoboi July 17, 2012, 10:25 pm

    ok2… my bad… sorry .. that problem solved when zip n put a password..

  • akash July 18, 2012, 11:03 pm

    oh that grt !!! thanx a lot ..

  • MittMitt July 19, 2012, 1:26 am

    Same here!

  • rasika July 19, 2012, 8:49 am

    it’s works for error password also

  • Samrat Thapa July 19, 2012, 10:24 am

    thak u so much it really. works!!!

  • Akshay Sahu July 20, 2012, 4:15 am

    Awesome man, great code, CHEERS :)

  • mamta July 21, 2012, 7:01 am

    its really good stuff.thank u

  • Jo July 21, 2012, 10:01 pm

    Nice

  • PJ July 24, 2012, 11:46 am

    i tried this and it’s great! anyway, i converted the bat file to exe so it cannot be edited! lol :D

  • Nasimnaji1 July 26, 2012, 3:31 pm

    i did it but the folder did not disappear completely just changing it’s name ,and i have access to it!
      

  • Den July 27, 2012, 2:52 am

    it works…thank you… :)

  • Rretiro July 27, 2012, 10:57 am

    BUULLSHHHIT, its just makes folder renamed and hidden, nothing usefull – at all,
    Hey people search for smth else!

  • Gabbardc3 July 28, 2012, 12:08 pm

    how did you do that

  • Julian July 29, 2012, 11:19 am

    How can you enter the password , which will appear like this ******. Thanks alot

  • Syed Faeq July 29, 2012, 5:47 pm

    WWWOOOOOW IT RELLY WORLS ! ITZ JUST TOOO COOL !!!

  • Syed Faeq July 29, 2012, 5:54 pm

    No Rita .. it wont .. the folder and the Locker.bat  will be in the recycle bin.. BUT if u delete the locker.bat from the recycle bin .. every thing in the folder will be lost !!.

    Syed .

  • Bob July 30, 2012, 3:39 am

    Thank you!

  • Grand Master July 30, 2012, 10:58 am

    Sorry it was great…but if a noob puts Doc view on and then clicks on the file he can see the password…so great if i wana keep a noob out, but hate to say it a 5 year old now days can figure out more shit about pc’s just cuz of how tech has advanced.. 

  • Snjha18 July 31, 2012, 4:46 am

    thanks this 100% working

  • Maneesha mandahas July 31, 2012, 4:55 am

    thanx….it works…

  • Amangarg August 1, 2012, 11:23 pm

    thankzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz………………………..
    its realy cooooooooooooooooool
    awsome

  • Abdullah YAQUBI August 2, 2012, 2:46 am

    This is the best thing that i ever liked. Thanks Friends

  • D Jar August 2, 2012, 2:42 pm

    where does the folder go after activating the .bat file?

  • Bexr83 August 4, 2012, 3:42 am

    how do i change the password

  • Zubair August 4, 2012, 5:38 am

    Hello,
    That’s cool but I got a little problem. I followed the steps, stored the data in this Private folder and now when I click locker.bat file, it just flashes i.e. I can’t see my data in this Private folder. Please help.

  • Guest August 4, 2012, 10:07 am

    sad. by enabling the option in the “folder options” that shows the file extensions, you can see the .bat extension in the locker.bat file. then you can change that extension to .txt and you can already see the password. =(

  • Ross McKillop August 4, 2012, 10:21 am

    Dear Guest –

    This is absolutely true. With that said, it is mentioned up front at the beginning of this tutorial that this method for creating a password protected folder is not 100% sure, and is intended to hide files from the casual observer. You can use software like TrueCrypt to create a truly secure password protected folder, but that involves downloading, installing and setting up TrueCrypt. See: https://www.simplehelp.net/2007/10/10/how-to-securely-store-files-in-windows/ for more details (although that’s a fairly old tutorial and is probably out of date, it will give you an overview and very good idea of what’s involved in using TrueCrypt).
    Cheers!

    Ross

  • boy germs August 5, 2012, 2:22 am

    hello .. its not working in 64 bit os :(

  • Zaki August 5, 2012, 2:25 am

    By enabling ‘show hidden files’  i can open the private folder without any password, only the folder name changes from private to something else when hidden.

  • boy germs August 5, 2012, 2:28 am

    fix .. thank you very much

  • ran August 5, 2012, 4:13 am

    it works……

  • Sam83 Heidari August 5, 2012, 5:58 am

    the password already written in the locker.bat file. Everybody can open it and read the password, and then run the file. Is there any other way to protect our folders?

  • Simplyhem August 6, 2012, 5:24 am

    It just renames the folder to some operating system folder e.g. Control Panel… & it becomes invisible… if u will uncheck the option from the Tools -> Options -> View-> ‘Hide protected operating system files’ and also check the radio button – ‘Show Hidden Files’ then u will see the folder renamed like – ‘Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}’… numbers can be different… this is yr folder…

  • Glaxy2000 August 6, 2012, 4:36 pm

    its like nothing, script dose only hide the folder by password.
    1) Run folder options- 2) view tab 3)show hidden files, folders, and drivers, then ok
    folder will be visible, you can deleted without the password. please trying to do something else, thanks anyway  

  • Lynnnguyen1316 August 10, 2012, 1:46 am

    I love who ever found this out….. AWESOME JOB!!

  • Monrichiii August 10, 2012, 6:01 pm

    i did this but.. all those files i added to private folder are deleted now.. and even the password is not working :(

  • Adityathombare August 11, 2012, 2:08 am

    Thank you..!!

  • Monrichiii August 11, 2012, 8:08 am

    my password is not working and my filse are lost :(.. even Your trick is not working. :|

  • guestin August 12, 2012, 12:33 am

    showing hidden files folders and drivers doesnt make the Private folder visible what are you talkin about

  • Agbohills August 12, 2012, 10:37 am

    the files will just open  without prompting my password.
    what could be wrong? 

  • Tokaai August 12, 2012, 11:36 am

    thankzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz buddy

  • Worlddeveloper.in August 13, 2012, 2:02 pm

    i am so happy to have trick like this

  • jun the pogi August 14, 2012, 9:08 am

    ooooooowwww. it takes me weeks to browse my computer just to find a locker. now i got it. thanks much buddy.

  • jj August 14, 2012, 5:39 pm

    How can you can this so you can use it on multiple folders without having everything under one roof?

  • Savzac August 14, 2012, 6:58 pm

    Excellent! Thank you.

  • Stuartkala2011 August 15, 2012, 4:03 am

    This might be all well and good, i was going to use this to safely hide personal customer files as i am a Data Protector but there is a flaw in the program.. If you right click the bat. file and click edit, it takes you to the script you created and reveals your password!! Not great

  • shiuma August 15, 2012, 7:40 am

     YES! IT WORKS THNX LOADX!!

  • saeed August 16, 2012, 4:01 pm

    it’s a good idea to rename the locker file to other names like bin , rec ,res that the other advanced user may get cofused

  • lol August 19, 2012, 3:07 pm

    hmm

  • CANDY August 21, 2012, 10:34 am

    how can i change the password?

  • Ben L August 23, 2012, 7:56 am

    I did this eventually deleted the locked folder… then later a subfolder that i had previously moved from the locked folder will not let me modify or delete its contents because it is still somehow locked. I “need permission from computer1:Username” how can i fix this?

  • Gary Rodillas Fanogaa August 23, 2012, 12:23 pm

    yeah your right

  • ruan August 23, 2012, 12:32 pm

    this are all piece of shit I try to search how to completely hide folder,, but this is shit,, if you try to go to search bar and type sex, porn, virgin things like that it still comes out even you put it in the private and you lock it,,,

  • tony August 24, 2012, 8:34 am

    sexo……. nice one.. its working

  • Bishwadeep August 25, 2012, 4:31 pm

    fuck off this fucking thing dosent work, it only works if hidden files and folder is in show mode and every one knows how to show hidden files and folders asshole…….

  • Chris Snyder August 29, 2012, 10:50 pm

    Ok, so what if you did this and then encrypted the batch file. Seems like that should work.

  • milan kharal August 30, 2012, 10:35 pm

    thank you so much

  • guest August 31, 2012, 12:37 am

    awesome, thank you!

  • prashsamania September 1, 2012, 2:55 pm

    for this you could do one thing
    1st follow all d above instructions
    then hide your folder and remember the location of your folder
    lastly just move this “locker.bat” file in any folder you like

    if any one finds out “locker.bat” n click on it only a new “private” folder will appear
    but your original folder is safe in its location
    and to get your folder back all you have to do is move “locker.bat” in the actual folder where your original “private” folder is

  • prashsamania September 1, 2012, 3:06 pm

    there is still one more problem though
    the files in the folder show up in search
    and if anyone knows the name or the type of any file then they can get access to the folder easily
    so can something be done about it??

  • prashsamania September 1, 2012, 3:41 pm

    apart from others findind your password there is one more problem
    and that is that your files can be searched using the search option

    for that just encrypt your folder
    and deny all the permissions to users and system

  • Ross McKillop September 2, 2012, 12:01 am

    @a1965698a72e7431a0feebe97728afbf:disqus (and all) – yes, this is the reason I stressed at the beginning of the tutorial that the method outlined is not secure from an advanced user. If you want to create a place to store your files that’s completely secure, see the guide How to Securely Store Files in Windows. Cheers!

  • Martand September 2, 2012, 9:50 am

    thank u very much its really working well…

  • sri September 3, 2012, 10:45 am

    Thank you… it’s very useful to protect personal files..

  • a person September 5, 2012, 12:12 pm

    create a new ‘locker’

  • someone September 5, 2012, 12:15 pm

    right-click, select edit, find your password, change it.
    or delete ‘locker’ after u put in the password

  • SATISH DAS September 6, 2012, 2:15 am

    ANY BODY CAN TELL ME HOW TO CREATE APASSWORD OF A FOLDER

  • Motasem Zindaqy September 7, 2012, 11:10 am

    you right …
    after showing the hidding files and folders ,, file name will be
    Control Panel.[xxxxxxxxxxxxxxxxxxxxxxx]

    xxxxxxxxxxxxxxxxx = numbers and char .

  • Sandy September 8, 2012, 7:15 am

    Very Very Thank u Boss You Are Great

  • SEPH September 11, 2012, 8:19 am

    sooooooooooooooooooooooooooo cooooool!

  • estaa September 12, 2012, 2:09 am

    The best!!! ilove it frm today, no one is gonna access ma files.

  • saddam hussain September 12, 2012, 10:19 am

    Thanks thanks thanks a lot dear………….

  • avesh September 13, 2012, 8:04 pm

    thanks buddy

  • bala September 15, 2012, 5:53 am

    when i made it to show hidden folders i can open the private folder

  • Srikar Settur September 16, 2012, 9:45 am

    or you can name it as something only you know and delete the file after locking. when you need to open the folder create a new lock file with the name you had given and any password of your choice. It still works .

  • Srikar Settur September 16, 2012, 9:47 am

    as long as you remember the folder name, password does not matter..

  • Steven September 16, 2012, 6:11 pm

    there’s another flaw with this: if you search (via start menu) the name of a file that’s in your private folder, it shows up and you can click on it there and see it… it won’t ask for the password

  • Listenmate September 19, 2012, 6:53 am

    Yes it works…. BUT, Anyone can just Right Click Then click edit. Change The password
    or look at it. Then they can access it!

  • callmemaybe :) September 19, 2012, 9:03 am

    YES it really workss… surely it helps…..
    :)

  • Helper September 19, 2012, 6:35 pm

    I went into the .bat and renamed the “Please enter password” to “Please Exit Now” so only you know to type in a password ;)

  • ASHUTOSH September 20, 2012, 3:30 am

    no……..just create a new locker.bat having the same password as prev one,and it works as it was

  • ASHUTOSH September 20, 2012, 3:32 am

    nahi,bhai………..pahle istremal kare phir wiswas kare….

  • ssj September 22, 2012, 2:42 am

    private folder goes of but instead a folder named control panel s coming thro which i can open those folders it doesnt asks me for password

  • Mack Smith September 22, 2012, 3:44 pm

    Thanks

  • Shah Sahab September 24, 2012, 2:22 pm

    Thanks :)

  • kallol September 26, 2012, 1:03 am

    apparently it is good and workable but what would be happened when any one delete the ‘bat’ file?

  • anmol October 3, 2012, 7:40 am

    excellent, works great. thanks for the help

  • charbel October 4, 2012, 4:46 pm

    it is not a password protected folder cuz anyone can right click the “locker.bat” click edit and change the password

  • Maleeha October 5, 2012, 11:06 am

    Thanks It really works

  • iloveporn October 8, 2012, 3:19 am

    THANK YOU!!

  • Totoro October 10, 2012, 9:45 am

    very helpful! thank you. :)

  • Saved Forever October 10, 2012, 12:58 pm

    This doesn’t lock anything. All it does is change the name of the folder and +h hides it.

  • Jennifer M Nobles October 11, 2012, 5:02 am

    Awesome! Thank you!

  • SRI October 14, 2012, 12:08 pm

    THANK YOU…. ITS SO SIMPLE…

  • omar October 15, 2012, 8:39 pm

    is it working if i share the folder??so that only person who know the password can open the folder from their pc…

  • Rajesh Mishra October 17, 2012, 2:56 pm

    thnq so much………
    really its very simple n strong funda…… n
    easy to use also

  • Mr. Awesome October 19, 2012, 1:32 pm

    AWESOME!

  • kalia badapanda October 22, 2012, 3:38 am

    yaaaaaaaa …….this is really good. i m impress. thank u very much.

  • priyanka d b October 28, 2012, 11:09 am

    nothing happened ..the folder id not locked.help me plz.

  • Amrit October 30, 2012, 7:11 am

    cracked

  • somnath November 1, 2012, 4:23 am

    Not safe….. I just done folder hidden
    If show hidden files option is on ….. it shows as hidden folder…. double clicking it opens the folder
    is there any other way

  • John Krater November 5, 2012, 9:10 am

    this is good…but i dont like it that much.

    1.cant change the name of the folder

    2. i dont want to hide it just add a password

    i just want to encrypt some movies and tv shows which are violent and has nudity in it so that none of my family members or small kids come in contact with it ..well for me this doesnt help ..sorry!!

  • mythil November 5, 2012, 9:46 am

    i just want to add password to some violent and offensice movies and tv shows so that my family and smalls kids dont get in contact with it..this is not so good though as i cant change the name of the folder i am locking..it shows “PRIVATE” i dont want it to show PRIVATE name i want it to show the name of the offensive material !

  • Bot_I{ November 7, 2012, 3:30 am

    For those worried about how easy it is to view the password. Download a free .Bat to EXE converter. A good converter like “Advanced BAT to EXE Converter” will encrypt the data so even if the .exe is renamed to .txt the source info cannot be read.

  • Bot_I{ November 7, 2012, 3:36 am

    To rename the folder open the .bat file in notepad (right click -> Edit). in notepad press Ctrl+H to bring up the replace feature. in Find What type “Private” without “” and in Replace with type your desired folder name. Hit replace all and save the .bat. it should now create the folder with the name you chose

  • Bot_I{ November 7, 2012, 3:42 am

    the script sets the folder as a protected OS folder. The folder will remain hidden with “Show hidden files, folders” turned on. But it will be visible and accessible if “Hide protected operating system files” is unchecked.
    Unless your hiding something from a fairly advanced user and know they are looking for a hidden OS protected file just keep Hide protected Checked and it will do its job.

  • mukesh November 7, 2012, 6:17 am

    this is the good one but one problem is that write password can i saw , this is the not good

  • Confused November 8, 2012, 2:01 pm

    I gone every step and just simply doesn’t work I belive there should be two places to enter password, but these coading has only one password place to type.

  • kwstas November 9, 2012, 5:00 pm

    hi there…for those who say that you can right click it and edit they can put it in archive with a password….moreover they can hide all the files inside the private folder….

    but i want to know if there is a way to do it to an external hard disk…is there a system file that i can move to the disk an make it work? because it works only in the computer that i made it…anyone who can help..??

  • dhananjay November 13, 2012, 4:48 am

    cool

  • Cheema November 16, 2012, 11:47 pm

    dis w really cool….

  • POWERMACHINE November 17, 2012, 2:47 am

    THIS IS REALLY GOOD, BUT WHEN WE TYPE THE FOLDER NAME IN THE SEARCH BAR IN THE WINDOWS START, IT SHOWS THE FOLDER AND GET OPENED EVEN IF
    IT IS IN LOCK MODE

  • pankaj November 22, 2012, 12:21 am

    How can asterix (*) can be wriiten in prograaming so that while typping password in the DOS , it is not shown to the users but shown as ****** .

  • 123456 November 23, 2012, 5:40 am

    bhai baad mein kisi bhi pasword se khul jata hai

  • doraydtravel.com November 26, 2012, 5:47 am

    Thanks for this. :)

  • miko November 26, 2012, 2:17 pm

    thx alot i appreciate your help been week looking for such thing

  • dude455 November 29, 2012, 10:02 am

    if wrong password put yet it opens up helppppppp

  • Jon December 1, 2012, 11:38 pm

    Or you can make the .bat file a “un-editable” object. Look at the properties of the file , under the security tab and check “Modify” as deny. This will make it un editable even for you unless you make yet another “higher” level admin or what not.

  • sad December 2, 2012, 8:31 am

    I did this and I put in a password then tried to use anything to sign on to the file. If the password was 1234. All I would have to do, to see the file that has been locked, is put 1 or 2 or 3 or 4. I wouldn’t have to put all the password in. Just a number that was in the password.

  • chi December 2, 2012, 12:03 pm

    if you wants to go for the extra mile after you have hide and lock the folder you can just move the bat file away so only you know the actual location and also this will protect you from the issue mentioned below and that wasnt the only issue with this. if you know the exact location of the folder all you have to do is go there and create a new bat file with a desired password and you can unlock the folder thats the only reason i said you should lock it and then hide the locker file some where else so its a little bit more protected

  • chi December 2, 2012, 12:09 pm

    if you move the bat file and some one click it wont do anything but create a new folder called private in that location your original stuff will stay hidden till you take another bat file where you wants to and open it. i had to hide my past papers in my laptop due to the campus policy of having pass papers is punishable by expulsion. even the it department couldn’t find the stuff hidden cuz i put the bat file some where else. they did broke the bat file encryption but there is nothing to be found unless you know where exactly to look

  • Raymond Pacaldo December 6, 2012, 3:36 pm

    thank you very much for helping me… GOD BLESS

  • nasir December 9, 2012, 3:34 pm

    hey i have gone through the above method but when i retrieve private folder, it shows empty folder i could not find data now please help me

  • saritha December 11, 2012, 5:37 am

    great post……..its very interesting……..

  • Sanjay December 14, 2012, 12:59 pm

    Thanks due it is very helpful

  • CH Naveen Kumar December 14, 2012, 10:52 pm

    Kindly suggest , what need to be done as , when we select locker the password is visible at preview

  • sagar December 20, 2012, 8:30 am

    if we search the file, search box it will show the files it not a protecting file it’s hidding the file…:P

  • inot December 23, 2012, 10:57 pm

    does this work on external drives??? reply asap thanks!

  • pitbull December 30, 2012, 7:31 am

    how do i get my pictures back that were in the folder all are gone

  • eli December 30, 2012, 5:00 pm

    cooooool!

  • ashwin January 10, 2013, 10:26 am

    amazing it works thanks for the code

  • Axel Martin January 14, 2013, 3:09 pm

    great post.. and all the comments were useful

  • amyy January 17, 2013, 6:24 am

    dude i lost that bat file and i am not getting it back please help me out please

  • Atharva Deshpande January 17, 2013, 6:37 am

    Thank you really………………it worked very well………………………..

  • valeemkhan January 18, 2013, 9:18 am

    this side is very bakar and not working atall

  • Mark January 18, 2013, 2:49 pm

    IT DELETED ALL MY DOCUMENTS!

  • Chris January 20, 2013, 7:58 pm

    it is working

  • Maaz January 22, 2013, 8:51 am

    Thanks it work GOD Bless you

  • ganesh January 24, 2013, 12:04 am

    its very useful for me

  • wish2seeuagain January 24, 2013, 8:10 pm

    i accidentally deleted the folder and locker can u help me to restore it coz i cant see the files on recycle bin, please help me

  • khattak January 26, 2013, 9:49 pm

    wao this method is so helpful

  • ajil pappachan January 27, 2013, 3:31 am

    thanks!!!!it really worked

  • Isabelle January 27, 2013, 3:24 pm

    PLEASE HELP!!!! Do you know what do to if you forgot the password and can’t find the “locker.bat” file? PLEASE HELP!!!!

  • Eion January 29, 2013, 11:30 pm

    Is there a way to make the password hidden and show up as * for example if the password were Password it would show up as ********

  • roww January 30, 2013, 11:52 pm

    i lost my locker.bat file

  • FB-team Hilaros John February 4, 2013, 8:36 am

    Its nice for protect for folder as without installing any additional 3rd party software………..

  • ravikumar February 7, 2013, 11:37 pm

    it is good but i have some problem in this case .i.e bat file is deleted so how to get the my folders please give me suggestion

  • KALPESH February 9, 2013, 7:21 am

    YOUR TRICK IS BEST. BUT MY DATA IS UNSECURED CODE FILE EDIT IS UNAUTHORIZED PASSWORD.

  • kaushik February 12, 2013, 2:26 am

    how to change the pass word

  • yonatan February 12, 2013, 11:05 pm

    if i place file like video in private folder it can play in other computer? thank’s before :)

  • Aikolian February 13, 2013, 2:06 am

    or u guys can easily use antivirus that provide such tools, im using Trustport.. n its great! :)

  • HackerZone February 16, 2013, 1:46 am

    I liked Ur idea the most dude……….
    hope u progress and bring other ideas also……….

  • swabra February 20, 2013, 5:28 am

    i am putting my password and it doesnot bring the private folder

  • Cube Root Of Unity February 20, 2013, 3:36 pm

    Thanks! It really helped.

  • Sha February 25, 2013, 6:30 am

    oh! really its good,thak you so much.

  • Saskia Salsabila February 27, 2013, 5:29 am

    how to lock the folder after unlocked it?

  • S.Santhiya March 1, 2013, 4:06 am

    can we type change the folder name as we want

  • icomputer March 1, 2013, 5:52 am

    i can’t re-open the folder even though i type the right password

  • karthick rajan March 4, 2013, 10:56 am

    it is very use full to me.

  • Jason March 7, 2013, 4:16 pm

    This code,because the original said that the Control Panel file didn’t exist for me,will allow you to Lock with Y, End with N,and Unlock with T. Just like the original,replace PASSWORD_HERE with you password.

    cls
    @ECHO OFF
    title Folder Private
    :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
    if %cho%==T goto UNLOCK
    if %cho%==t goto UNLOCK
    echo Invalid choice.
    goto CONFIRM
    :LOCK
    ren Private “Private”
    attrib +h +s “Private”
    echo Folder locked
    goto End
    :UNLOCK
    echo Enter password to unlock folder
    set/p “pass=>”
    if NOT %pass%== PASSWORD_HERE goto FAIL
    attrib -h -s “Private”
    ren “Private” Private
    echo Folder Unlocked successfully
    goto End
    :FAIL
    echo Invalid password
    goto end
    :MDLOCKER
    md Private
    echo Private created successfully
    goto End
    :End

  • K March 8, 2013, 12:23 am

    OMG AMAZING!!! (Not a techie, so I really appreciate this – thank you!!)

  • person.ano March 8, 2013, 6:54 am

    awesome. nice help I really am going to use it!!!

  • Charlotte March 8, 2013, 5:52 pm

    I want to delete the locker bat and private file but my computer won’t send all the files to the recycle bin. The few files it does send cannot be emptied from the recycle bin afterwards. How do I get rid of all files, the locker. bat and the private folder from my computer?!

  • name March 9, 2013, 7:28 am

    haha it was good , but if you leave the password like 123456, and if you try to unlock with any number you can unlock 654321 5256325 52425 what you want to write that will be unlock, doesnt good work .

  • startalk March 13, 2013, 4:19 am

    i follow the instruction but i can’t do that.
    do you have more ideas on how to protect my files in a folder?…help..

  • samwel March 15, 2013, 8:07 am

    yes it works but what happens if the locker file is deleted? Do I lose all my documents in the folder?

  • Bala March 15, 2013, 12:01 pm

    smart work if some one open the bat file in notepad then password will be exposed………

  • Mike Turner March 21, 2013, 11:48 am

    This method does not work for me. I created the locker.bat file as instructed. When I double-click it, a cmd screen flashes very fast, but I can see that it says “Private Created Successfully”. However, the Private folder is never created. If I right-click on locker.bat and run as administrator over and over, the script seems to be functioning in that it allows me to lock and unlock the “folder”, which does not exist.
    Can someone please let me know what is missing? I’m running Windows 7 – 64.

  • Kurt Manalo March 24, 2013, 10:26 pm

    ty for this :)

  • rajol March 29, 2013, 3:39 pm

    thank u very much.I got it here for what am looking for.

  • Prashant March 30, 2013, 8:20 am

    Thank you so much…its great

  • muffruff April 3, 2013, 1:23 pm

    Lol thanks for the heads up

  • Isaac April 3, 2013, 1:27 pm

    Right click and then go to “EDIT” then scroll down to where the password is supposed to be lol.

  • SilverHatake April 5, 2013, 7:13 pm

    You could hide the bat file in the locker. That’s what I did.

  • Shahnawaz April 8, 2013, 5:36 am

    It is good, but user can see the folder and nested files if he types in search bar.
    Then what could the solution for this.

  • Ritesh April 9, 2013, 2:31 am

    mind blowing yaar it great nice working thank’s bro

  • mrpart10 April 12, 2013, 1:25 pm

    how to unlock does files when you delete the bat file (i deleted it and i cand enter my files now)

  • Awesome dude` April 14, 2013, 11:42 am

    this method did not do anything.
    i opened my folder and the private folder but none of them asked for a password

  • Jarod Haapapuro April 14, 2013, 5:00 pm

    First, thank you, it may not be fool-proof, but it is simple and effective, just in case someone opens my “hidden in plain sight” folder, but can you chain this to have different passwords in different folders that are in the original pw protected folder?

  • Ayxan April 20, 2013, 3:21 pm

    wow
    lotsa thanks for you
    it s working
    <3 :)

  • ele April 22, 2013, 3:19 pm

    lame you can just right click the bat file to edit, see, or change the password

  • alfin April 22, 2013, 11:01 pm

    It works, but when the Control panel{blabla} folder clicked its still can access the file inside

  • Raj Kiran April 25, 2013, 11:14 pm

    hey Startkala2011…need not go that far……………just say dir /ah and you will get that folder listed and say “attrib -r -a -s -h” and your folder is unlocked……………..

    this is not folder security. this is cmdline security..that’s it.

  • parisa May 1, 2013, 11:24 am

    it was awsome :))))))))))))))) i solved one of my biggessstttttttttt problems tnx

  • Mrunal May 2, 2013, 11:00 am

    but anyone can edit the bat file and see the password

  • Li May 3, 2013, 5:34 pm

    Private folder is empty can’t see my file, when I used “locke.bat”

  • kashif May 5, 2013, 8:58 am

    Hi. Very long procedure and you must remember all step as well as the bat file detail. but its work so not bad.

  • mr.x May 6, 2013, 1:04 pm

    bro hw to the pasword???

  • mr.x May 6, 2013, 1:05 pm

    bro…..hw to change the password?

  • Tim May 7, 2013, 7:18 am

    Thanks man helped me heaps great guide ! XD

  • Josh May 9, 2013, 12:23 pm

    This works perfectly for Network security. All you have to do is severely limit access to the .bat file with the security settings and it’s a very effective tool for keeping department document’s secure on the fly… of course the group security policy is more thorough… but if you just want to lock out one document temporarily this is very handy. Thank you!

  • dyalan_05 May 11, 2013, 1:29 pm

    BEST THING EVER!!! GREAT WAY TO KEEP SNOOPY MOMS AWAY!

  • skull May 21, 2013, 11:42 am

    I need a help, when i open my bat file with the right password, command prompt it just don’t get’s open the locker and ask again and again for password even though i am giving a right password. how to get my data back ? tq

  • surffoxx May 23, 2013, 11:09 am

    Thank you so much for the simple instructions very very helpful!!!

  • Saif May 26, 2013, 7:52 am

    Thanks mate, this works as a charm.

  • Jared Hoiting May 27, 2013, 5:22 am

    Looks like a hoax. I tried this method. When “protected”, the folder only gets the status of hidden file. Everyone can set the computer to show hidden files. Click on the hidden file, no password is asked, and the content is shown. This is not as advertised.

  • NAVNEET May 27, 2013, 7:53 am

    VERY GOOD AND THANKS, IT’S WORKING 100%

  • Toria May 28, 2013, 12:19 am

    This didn’t work for me. I followed all of the instructions above but then when I opened the folder, no password was requested! Fail.

  • man May 30, 2013, 6:05 am

    dint get it

  • Jennifer L Carter June 2, 2013, 4:32 am

    This doesn’t work … it worked at first but after I locked it again the folder will not open again … now my files are stuck in there :(

  • Bro June 5, 2013, 9:13 pm

    Great. I deleted the stuff because i tested and now i can’t delete it. you HAD to not mention that.

  • Cheesecake_lolz June 9, 2013, 12:39 pm

    you have to open it and then lock it again to lock the file

  • Cheesecake_lolz June 9, 2013, 12:41 pm

    lol

  • Jamie June 10, 2013, 11:19 am

    what is the best way to make it so you cant view or edit the locker.bat file. If someone has reasonable coding knowledge they can view and find the line in the code with your password which is unencrypted

  • Jamie June 10, 2013, 11:28 am

    What is the best way to limit access to bat file?

  • Jamie June 10, 2013, 11:39 am

    Can hide the file from yourself in security change permissions when you want to use This is only basic for people with limited compknowledge to be able to not just simply double click to find something you dont want them to

  • SN June 11, 2013, 7:23 am

    This is not a safe method to lock the folder as when i opened the history of my computer there was a content of all opened files from locked folder and when i clicked one of the file from history of my computer it opened without requiring any password.

  • viji June 12, 2013, 8:11 am

    mayb u can jas edit the text file again at “PASSWORD GOES HERE”

  • dapidmini June 14, 2013, 4:29 am

    thanks a lot. this worked well enough for me. I don’t think that people will try to open the locker.bat file for no reason so the hidden file would be safe enough.

  • JohnnyG June 15, 2013, 10:55 am

    Worked when I set it up and I’ve tried it half a dozen times and always works as described. So a great idea for which much thanks. (And to those who say it can be cracked – yes of course but it’s not intended to defend information against determined & tech-savvy attackers; just to keep stuff from prying eyes; which it seems to do verty well.)

  • pacco June 16, 2013, 1:41 am

    the folder is not locked.. its just hidden with the System and Hidden attributes ;( i thought u had a real password for the folder but it looks like i was wrong lol

    maybe u could create an vbs script with some move and a real LOCKING engine by entering some values on the windows’s registry but let these people be happy with the illusion of a secure folder =D

    i think more than 90% dunno that for just typing on cmd: ” dir /ah ” on the folder will show up this folder and then.. someone will be able to access the folder =o

  • pacco June 16, 2013, 1:45 am

    let me say a tip for a good update of this batch file: change the file name to ” ” (alt+0160 its a blank space, not “space” but its a space lol) and change the location of this folder and then change the icon for a blank icon (may require a vbs script for detecting the OS. if it is a different OS then the icon index may be different) bla bla bla i think u got it

  • HM June 18, 2013, 8:00 am

    have anybody tried to type a wrong password? cause even if i typed the wrong password still the private folder shows up and all the subfolders too and have the full access.

  • laura June 18, 2013, 8:07 pm

    I write the right password and it wont open

  • DD June 19, 2013, 1:09 pm

    Thanks works great I used this on a USB drive.

  • Kerby Lalime June 20, 2013, 3:10 pm

    I put the password in and i gained access the first time but every other time i access the folder it just opens without the need to enter the password again.

  • Bryyo357 June 22, 2013, 7:57 am

    If I just right click on the .bat document and click “edit” I can see the actual code, including the password I put in. Is there any way to make this more secure?

  • BatchBeginner June 23, 2013, 1:52 am

    It worked for a few weeks, but i went there this morning, unlocked the file successfully, and tried to lock it back after im finished with my work. But it says:
    The process cannot access the file because it is being used by another process.
    File not found – Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}

    pls help.

  • BatchBeginner June 23, 2013, 1:53 am

    Have you locked it after you unlocked it with the password?

  • BatchBeginner June 23, 2013, 1:56 am

    Haha yeah, it isn’t very secure in my opinion. Anyone that knows batch can see the password. What I did was I made it create the “private” folder in another location, so it’s harder to be seen.
    But I dont know what you can do to make it 100% secure, maybe ask batch experts.

  • BatchBeginner June 23, 2013, 1:58 am

    Maybe when you put in the password, you left or deleted a space

  • Empy June 23, 2013, 3:12 pm

    I like it. All I wanted to do was have a folder not bee seen. Thanks!

  • Anonymous June 26, 2013, 5:10 pm

    you need to reopen locker.bat to lock it again

  • Sharon June 29, 2013, 4:19 am

    Best instructer…thanks alot..

  • brighting pearl July 2, 2013, 5:10 am

    great job.but how can i delete this folder?tell me about this

  • Tony July 2, 2013, 4:59 pm

    Awesome!

  • Sowmiya July 3, 2013, 10:30 am

    Thanks a lot… :)

  • nat July 3, 2013, 10:53 am

    nice…it worked like magic

  • varun July 4, 2013, 4:54 am

    this is just awesome. thank u so much hammad

  • karan July 5, 2013, 12:32 am

    How to retrieve the folder if someone delete the “locker” symble??

  • epicness July 6, 2013, 1:29 am

    you can go under edit to see if you did a mistake

  • Ikram Ali July 6, 2013, 4:22 am

    Who made it, I just want to know that great man Identity. Really Awesome. THANK YOU SO MUCH. …:)

  • bhautik patel July 6, 2013, 12:21 pm

    it’s awsom…thnx alot. now i sexure my all data. thnx

  • Draude July 7, 2013, 3:19 am

    Thank you very much, it feels great now that all my files are secured…

  • SUD July 7, 2013, 7:07 am

    When I created a locker.bat file and double clicked it. It simply pompt the cmd widow for password. No private folder is created.
    Please help

  • navamani July 8, 2013, 4:05 am

    awesome

  • Adarsh PA July 9, 2013, 1:57 am

    Great….!!!

  • Evan July 10, 2013, 3:23 pm

    Thanks! Now I can hide all my hentai files! :D

  • Luna July 10, 2013, 6:11 pm

    This is awesome!! Thank You.

  • Atlas July 11, 2013, 2:41 am

    You need to make sure it is directed to “all files” when saving, and before you save the code at all make sure you delete “PASSWORD_GOES_HERE” and put your ideal password in its place.

  • Sen July 11, 2013, 8:20 am

    Wow too easy and solved

  • Raja July 11, 2013, 1:14 pm

    Great thankzzzzzzz

  • !! July 13, 2013, 7:42 pm

    Schweet!

  • sonu July 14, 2013, 4:03 am

    thanks its good works

  • imran July 15, 2013, 9:03 am

    but any one can break the password who read your tutorial .

  • -.- July 16, 2013, 8:03 am

    This is too easy to crack -.-

  • anand July 16, 2013, 8:40 am

    hello, I forgot the password that i have created. want to retreive that folder its very important, so can any one please help

  • :-) July 16, 2013, 1:53 pm

    Open notepad, drag the batch file (the one created in the tutorial) into the notepad windows. Then, where you typed your password to set it, you should be able to read it

  • anand July 16, 2013, 5:19 pm

    Thanks a lot for your help. Will try it.

  • Sbu July 18, 2013, 7:01 am

    This display the PASSWORD of which I don’t want a password to be shown,

    The message says enter the password…………..which is my password.

    I want to hid the password?

    please assist

  • Sbu July 18, 2013, 7:26 am

    It is a great tool,but how can I HIDE the “password” NOT TO BE VISIBLE?

  • Mervin July 18, 2013, 10:49 am

    Thank you so much dude.

  • benson July 18, 2013, 12:25 pm

    When I lock mine creates a new folder that is called Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D} and you can go to that to open all the files.

  • Jim July 19, 2013, 11:40 am

    This works exacly as described…ONLY ONE MAJOR PROBLEM. After i created the file and was pleased it worked–for the heck of it I did a “search” for the files that were in my newly created “private” folder…to my surprise the supposedly locked files could be viewed (and opened) from there. Any advice on how to slove that?

  • Nick July 21, 2013, 8:41 pm

    I have lost all of my files now? Please HELP! I have done everything as described but now when i click the Private file nothing appears!

  • Ben July 22, 2013, 11:58 am

    A nice little solution for the batch file is to set it as hidden but save the location into an unnamed text file then just copy into Run which then access’ it without anybody being able to see the actual batch file and it’s programing!

  • SK July 22, 2013, 3:48 pm

    Is there a way to name this something else besides Private?

    If I try to rename it it just creates another Private folder and not the renamed folder.

  • Ben July 23, 2013, 7:30 am

    In the coding change all the parts that say Private to the name of your choice. Just try not to delete anything other then the words Private

  • j July 24, 2013, 4:12 am

    but what is the use of this batch file as and when you click on the file it shows the code, you have to click on hide the preview pane. you will get the complete code with the password!!!!!!!!!!!!!!

  • Jo July 25, 2013, 1:56 pm

    That’s awesome but with the one drawback , “password known” in the code .
    I would like to give a solution to it by suggesting you’ll to save the text document containing the code in someother folder so that password cannot be hacked
    I did not try it… This is just a suggestion
    :-)

  • Percy July 25, 2013, 2:03 pm

    Hello everyone I think I have a good idea of getting rid of this password security problem in protected document storage. The literal idea is to cut and paste the document containing code within the private folder itself with the password hidden in your smart phone memo…. :-O:-)

  • Charles July 25, 2013, 3:59 pm

    This is only really good to use if you’re just trying to keep curious people out of your stuff. It’ll keep most people out of your stuff, but occasionally people might take the time to open up the batch file and get the password, so it isn’t suitable for private company documents and the such. In that case you would be better off using a third-party program or an encryption service.

  • Developer July 29, 2013, 8:17 pm

    Yes I do get bat to exe converter

  • ruqaiya July 31, 2013, 3:11 am

    i too,am having that problem..can anybody please help?

  • Swisten Harsh July 31, 2013, 8:02 am

    if any person delete this *.bat file so how can it possible archive our data inside the private folder

  • Valerian Mitchell Cotts July 31, 2013, 3:04 pm

    thx alot

  • trellian August 1, 2013, 6:20 pm

    Eaxctly what I was looking for! Thanks so much,

  • david August 2, 2013, 12:17 pm

    thx man

  • Phil August 2, 2013, 2:13 pm

    Thanks very much that helped alot.

  • El Diablo Matamoros August 3, 2013, 5:06 pm

    Awesome dude, thanks.

  • Joey August 4, 2013, 4:32 pm

    this is so awsome!

  • dilly August 6, 2013, 3:19 am

    thx bro

  • SAM August 6, 2013, 5:56 am

    Hi Hammad,
    Thank you very much for providing this code.
    This is the very secure self utility.

  • harry August 6, 2013, 6:37 am

    thx for that.
    it realy helped me so yeah, my dad cant enter now.
    thx a lot and good bye.

  • Kuang August 6, 2013, 8:20 am

    thx a lot, wonderful

  • Muhammad Awais August 6, 2013, 3:05 pm

    it has faults if you search for the things in the start menu that you have kept in the locker they will show up despite being locked up

  • darknessblade August 11, 2013, 7:34 am

    it also works in win8

  • Anonimo August 11, 2013, 7:37 am

    me a sido muy util, gracias

  • I don't understand August 11, 2013, 9:55 am

    It locks up only once. When I access it and then try to lock it again, it just creates another Private folder. How do I solve this problem?

  • Help? August 11, 2013, 5:38 pm

    When I try this it creates a folder named “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” when I lock the “private” folder and when opened it contains the files that were placed in the “private” folder. Can anyone help?

  • Bagadskis August 12, 2013, 8:43 am

    It will not work against IT guys, but for average person it will do the trick :) EPIC thing

  • Jai August 13, 2013, 3:40 am

    how can i change the password without repeating this process ?

  • Ad. August 14, 2013, 7:02 am

    wonderful little piece of code – thank you for supplying it!!!

  • Mistral August 14, 2013, 5:38 pm

    Doesn’t work.

  • BulliedChild August 14, 2013, 6:50 pm

    Works, very useful.

  • Thisara August 15, 2013, 2:19 am

    done working

  • hamse guiapal August 15, 2013, 12:34 pm

    haha tnx :D

  • Shaf August 16, 2013, 4:42 am

    I keyed in my password but it still says password invalid and it doesn’t open up my folder! How can i correct this and retrieve my folder and files again? :(

  • Jean August 16, 2013, 7:24 am

    you have to double-click the locker.bat again, there’s a prompt says “are you blablabla” type Y then ENTER. That’s it.

  • Jean August 16, 2013, 7:25 am

    did you type it correctly?

  • Jean August 16, 2013, 7:25 am

    Thanks a million!

  • Mudit August 16, 2013, 11:20 am

    tysm dude :D

  • ugh it didn't help August 16, 2013, 11:43 am

    didn’t help

  • adi August 17, 2013, 3:21 am

    dude its best but the password is not getting stared

  • haider awan August 17, 2013, 5:00 am

    thnX

  • neo jiawei August 18, 2013, 1:13 am

    thanks. it worked. to users who does not work, i think you forgot to change the file format save, look at the pic5 bottom. And you may success.

  • neo jiawei August 18, 2013, 1:16 am

    but i have found out a way to hack it in about a minute ago.

  • Harshal Gajjar August 18, 2013, 4:46 am

    And anyone can open the file ‘locker.bat’ using notepad to get the passcode. :P

  • Maya August 19, 2013, 4:32 am

    Thank you so much..now i can hide my ‘private stuff’

  • Hentaiism August 19, 2013, 12:59 pm

    It works but, If you go to start and search for that folder or a specific file in that folder it still opens it. e- e

  • Harish Acharya August 20, 2013, 9:36 am

    i forgot the password please tell what can i do…

  • Vasim Khan August 20, 2013, 12:53 pm

    really it’s very easy.

  • Rich Armstrong August 21, 2013, 11:03 am

    Its actually very easy to hack because of how easy it is. Right click the .bat file and then click Edit. Find the line with your password on it and there you go.

  • John August 24, 2013, 7:25 am

    Right-click the locker.bat folder and click Edit. You’ll see your password. All you got to do is change the password and click Save

  • akash August 24, 2013, 8:44 am

    ya u r right bro

  • jojo jacob August 25, 2013, 4:22 am

    but after sometimes the hidden file displayed there automatically.. how do i manage this problem?

  • ROHITH August 28, 2013, 12:15 pm

    thanks for helping

  • prazwal August 30, 2013, 11:59 pm

    this is not useful..!! if somebody deletes the folder or the locker then, how could i view my files inside the folder or the locker?

  • Stair Bob September 1, 2013, 7:45 am

    Thanks. Helpful for my needs.

  • kither September 1, 2013, 12:06 pm

    you can just edit the bat file an change the password

  • Anna September 5, 2013, 1:11 am

    This is not wrking….when i opend the control panel folder after locking the folder showing the content of the files inside the private folder….

  • Sunny Side Up September 6, 2013, 4:26 am

    Thank you – very helpful. Just what I need.

  • iamsandesh September 6, 2013, 6:34 am

    its awesome but can you stop editting the .bat file so that no one can edit it and see or change the password other wise any one can edit and change or unlock it.

  • ishaan September 6, 2013, 10:43 am

    Great…. after searching 2 hours in web I got the answer now. Thanx….

  • AW_HELL_NAW September 6, 2013, 1:22 pm

    Hey all. Doesn’t totally make it hack proof, but put your document with your password in the private folder itself.

  • Muhammad Farrukh September 7, 2013, 6:11 am

    thank you so much its really helpfull for me

  • siul zepol September 9, 2013, 1:05 am

    thnak you ver much muah!!!!

  • nikki September 9, 2013, 8:08 am

    help it says ‘UNLOCK’ is not recognized as an internal or external command, operable program or batch file pls asap

  • Sumit Kumar September 9, 2013, 5:31 pm

    Its really work & help me a lot
    But is their any way that can protect my folder being deleted

    Like require a p[assword when any 1 trying 2 delete it

  • rani September 10, 2013, 1:15 am

    Thanks very much

  • Yasir September 10, 2013, 12:33 pm

    if someone delete this batch file then ?

  • Navi September 12, 2013, 3:33 am

    Thanks a Lot

  • rsr September 12, 2013, 4:04 am

    You Great Code is Working Super……..!

  • divyansh chaudhary September 13, 2013, 4:34 am

    When we lock the folder there comes another folder that contains all contents of the Private folder…. what can i do

  • Nikhil September 13, 2013, 8:31 am

    dude you should have mentioned, if anyone open and reads the batch file, he will know the password :-)
    or even if show system files is set, then the folder will show :-)

  • Kiam September 13, 2013, 5:33 pm

    Thanks alot.. it really works..

  • rajesh meena September 14, 2013, 1:21 pm

    relly work it

    thanks

  • HiItsAshley Inc. September 14, 2013, 8:42 pm

    This works on my Minecraft Folders, so my 8 year old brother can’t open Minecraft any play on my profile. :D But it doesnt work on my also technologically advanced 12 year old brother. :/

  • Amir September 15, 2013, 11:17 am

    you can open it and see password by editing the batch file.!!!!!! really bad

  • Edward September 17, 2013, 6:58 pm

    Actually you can put the .bat file on a thumbdrive or move it to another folder. When you want to unlock the folder move the .bet file back. This is cool for free.

  • AMIT SHARMA September 18, 2013, 12:30 am

    thanx MAn………… it works……………

  • sathish September 19, 2013, 3:15 am

    i am also having tha same problem i.e (after locking the folder the private folder has changed the name to control panel.{21Ec……….}.wat to do?

  • justin September 19, 2013, 4:21 pm

    if i change my window then will this pasword work or not plz tell me?

  • Jorge September 21, 2013, 10:45 pm

    Unfortunately I got my files lost with the batch files above. Now I am using a more secure way to lock my files with “Protect My Folders 1.3” program.

  • ashraff September 22, 2013, 7:32 pm

    thank u so much

  • Dan September 22, 2013, 8:31 pm

    lol now my i dont have to worry about my parents looking at my files

  • sathya September 23, 2013, 2:21 am

    it works thanks

  • jhulian September 23, 2013, 7:08 am

    i cant see my file when i open it

  • computerhacker September 23, 2013, 11:34 pm

    thnx

  • Leanne September 24, 2013, 1:56 am

    Thanks! it works.. :-D

  • ------= September 24, 2013, 12:02 pm

    thnks it works properly

  • corinny September 24, 2013, 11:06 pm

    amazing, thank you you freakin genius!

  • Rina September 25, 2013, 9:28 pm

    THANK YOU! Greetings from Indonesia

  • oi oi September 26, 2013, 3:28 am

    I have problem sir..my password (alt 0160) cannot be read or something. The .bat file can be open but when i type my password with (alt 0160), the folder is not showing. is there a solution?thamks

  • nate September 26, 2013, 11:23 pm

    one question tho i did try something i made a new folder and i tried to open it and cmd asked for a password so i deleted the .bat file and it deleted is there a way to make it so some1 who doesnt know your password cant delete the file without a password

  • cm punk September 27, 2013, 11:19 pm

    man..u just made my day..thanks a ton :)

  • the guy September 27, 2013, 11:51 pm

    that was awesome! whoever made this is a genius! although its easy to hack ;)

  • the guy September 27, 2013, 11:53 pm

    but its still cool right?

  • yujin September 28, 2013, 5:12 pm

    its cool but its still not safe, because when you change your folder setting in show hidden file, and you open the .bat file a hidden folder that have a file name of Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D} will show and you can see your file there even you did not enter the password.

  • divy September 29, 2013, 2:03 pm

    still the hidden files r der in other folder name called contact panel{……………}

  • Gugu September 30, 2013, 6:21 am

    Damn it genius., It works.
    Thanks. It’ll hide many “private” files

  • Dhan September 30, 2013, 11:13 am

    Superb Bro! thanks a million

  • MD September 30, 2013, 6:02 pm

    works fine

  • sree October 3, 2013, 1:26 am

    Hey Tell me What If The .bat folder is deleted?? Files Gone??????

  • Tamzid October 3, 2013, 2:47 am

    But, It just makes the folder hidden….weak solution…showing hidden folders option in windows..it is very easy to open, moreover opening the batch file anyone can find the password…

  • Sjonnie October 7, 2013, 4:31 am

    Thank you for the simple explanation, it works fine for me.

  • Pudica October 8, 2013, 6:51 am

    wonderful, it works perfectly fine! thank you so much!!

  • Varun Mittal October 9, 2013, 10:08 am

    awesome.. many thanks for this::)

  • Manish Singh October 9, 2013, 11:09 am

    Thank you very much. Its Awesome…

  • Sharon October 9, 2013, 1:17 pm

    thanks!

  • Andy Robinson October 9, 2013, 6:26 pm

    Thanks for the tutorial, better than others i’d tried, it worked doing it your way

  • danish ansari October 10, 2013, 7:00 am

    thank you…its amazing.

  • The German 31 October 11, 2013, 3:44 am

    what if you can’t type the password because it had a special letter

  • AkiMikael October 11, 2013, 4:51 am

    fantastic!! thanks a lot

  • julius October 11, 2013, 12:19 pm

    thanks i need it to hide my secret identity

    #blue lightning

  • KIran KUmar October 11, 2013, 1:32 pm

    Thanku very much
    it is very simple method.
    thankiu

  • Nitin Ulé October 11, 2013, 2:15 pm

    thanks a ton

  • Makhi October 12, 2013, 7:44 am

    A hundred million thnkx to show how to set password.
    Hats of to the entire team who made it

  • Siva Charan October 13, 2013, 1:02 pm

    Copy paste Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D} in windows explorer.

  • HAZEL October 13, 2013, 10:31 pm

    geeee…. thanks! this is amazing! :)

  • m3 October 14, 2013, 3:03 am

    thanks man thats amazing!!!

  • Ram October 14, 2013, 7:32 am

    Mindblowing dude…..

    after seeing this code.. i also got interest for developing such codes…..

    Thank u sooooooo much

  • Jay October 14, 2013, 4:55 pm

    Worked like a charm! Exactly what i needed! Thanks!!!!!!! ;)

  • Nero October 15, 2013, 9:00 am

    I’ve done every step tell #5, but when I double click on the text document there’s no file named “private” appears it normally open the text document :/ !!!

  • maulik October 15, 2013, 12:40 pm

    awsome it is… loved it !! worked with one go.. :) :D

  • len October 15, 2013, 5:58 pm

    wow man, you code guys are TOOO Cool!

  • Aaron October 15, 2013, 11:14 pm

    Hey. I get as far as step 6, and when I got to 7 command prompt open and closes too fast. It asks for the password, then the next line tells me
    The syntax of the command was incorrect.
    goto was unexpected at this time.

    Any ideas.

  • b October 16, 2013, 6:18 am

    Pretty neat but anyone who knew to do it would open the .bat file in notepad to get the password. Also any folder you have locked can be accessed through the ‘frequently visited folder’ list without entering the password.

  • Pra October 16, 2013, 12:31 pm

    Thanks…great work…

  • CaptainWolvez October 17, 2013, 7:33 pm

    THANK YOU!

  • Nico October 19, 2013, 2:32 pm

    If you create a password protect folder and you put stuff in it and you move it all your stuff is gone?? Why??????? then it is not helpful at all?

  • kristine October 20, 2013, 2:50 am

    it can be cheated..through editing the locker.bat!!that’s why im finding another way..

  • chaitkrrish October 20, 2013, 3:01 pm

    superb……

  • b4nd1t October 20, 2013, 4:49 pm

    You can put the .bat file inside the private folder so when its locked people can not read the password from there

  • dadd October 20, 2013, 10:28 pm

    right click locker.bat….edit…..change password

  • Rom October 21, 2013, 8:27 am

    guys please HELP, i have reinstalled windows and I copied my hidden folder that I have created using this method and I take ownership of the folder but when I try to open the .bat file or the exe that lets you put the password, it says I dont have permission? But, I have already take ownership of the whole folder.. please help asap!!

  • Rom October 21, 2013, 8:32 am

    …In addition, when I try to run the locker.bat or edit it, it says Access Denied, btw, I have copied the hidden folder from Windows.old, but I already have the ownership of the folder and the locker.bat file but I am still dont have permission, helppp!!

  • Kamran October 21, 2013, 9:04 am

    thats bullshit man, you can find private folder by enabling show hidden files

  • Rom October 22, 2013, 6:37 am

    Like I said, ive done that.. its just I am unable to open the locker.bat to unlock the folder. The windows command processor just flashes and thats it.

  • Music Helps October 22, 2013, 7:39 pm

    ive done this easily but anyone can get in as it says the password in the locker thing -_-

  • Music Helps October 22, 2013, 7:47 pm

    ive done this easily but anyone can get in as it says the password in the locker thing… anyone have a safer or way to hide it?

  • TheGedemondan October 23, 2013, 6:00 am

    As you say, not 100% secure, but a perfect solution for my needs. Thanks very much.

  • Themusiciangedemondan October 23, 2013, 7:53 am

    Not to secure, but good. In the option to edit the batch file you can change the password easily. My 12 year old brother could find it out easily(but he does know a lot of coding)

  • Radhakrishnan October 24, 2013, 7:28 am

    it’s super but not secure so lock.bat use and go to control pannel , folder option hide the batch file it’s secure 99%

  • Dipankar Sahoo October 26, 2013, 7:36 pm

    I have one problem. I have put the password correctly but during opening it is saying that the password is not correct. Please tell me how to open the folder. I have checked the password is correct.
    One more quarry–Suppose i have locked a folder in my hard disc in one computer with one password. Can it be opened in another computer with the same password from that harddisc?

  • Sujeet Agrahari October 27, 2013, 8:21 am

    Dear there is a problem anyone can delete locker.bat and with your file will be also deleted .SO please suggest a solution.

  • comradealain October 30, 2013, 9:41 am

    quite good, it served my purpose but any person who is better than a noob will find the password. Please find a solution for the problem.

  • Mr Iby October 30, 2013, 7:35 pm

    my locked file’s won’t open? even with the right password. i’v used them with no problem 4 a few week’s,, now they won’t OPEN ?????

  • just stopping in October 31, 2013, 12:01 pm

    use a linux boot disc, like ubuntu, linux will let you look at anything without permissions…and you dont have to install it..just hit the try ubuntu option

  • just stopping in October 31, 2013, 12:03 pm

    your stuff isnt gone dude…put the locker back in the file you created the private folder, unlock and voila your stuff is there

  • me November 1, 2013, 2:24 pm

    I hope everyone realize if you press right on the .bat and choose edit, you can see/change the password yourself…

  • me November 1, 2013, 2:25 pm

    just press right on the .bat and you’ll can edit the bat file
    simply change the code till you’ve got your map back

  • Dave November 2, 2013, 9:32 am

    thanks a lot

  • Rob November 3, 2013, 2:28 pm

    Just a question. I went through the whole thing and it seems to work, but how does the folder open? It asks for my password, I put it in and nothing happens. When I click on the folder all it does is asks if I want to lock it or it asks for the password. What am I missing?

  • Utsho November 5, 2013, 3:22 am

    What if someone delete the batch file……????

  • victor November 5, 2013, 3:23 am

    Thanking u, well done, thanks a lot

  • EVaN.1998 November 5, 2013, 4:23 am

    Thank you it works but when I click right click mouse it show edit but if you didin’t do with someone who is with you he will not gonna know what is your password so don’t worry about it guys….

  • S y n November 6, 2013, 3:48 pm

    Move the locker.bat document inside the private folder..

  • Vasu Sri November 7, 2013, 3:10 am

    Hi done correctly, it has working also correctly, but nothing is hided in there, once you click on that locker folder everything is open, what should i do, please anyone can help me out of this.

  • Helper November 7, 2013, 12:34 pm

    again click it and type “y”

  • Shahrzad November 7, 2013, 1:45 pm

    WARNING: It can be simply unlocked, in the folder options if you remove the tick for hide protected operating system files,then everybody can see your folder,it seems useless

  • K.Anbazhagan November 9, 2013, 10:48 am

    Wha it realy works superrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

  • Shruthi L R November 9, 2013, 9:15 pm

    yes you are right

  • Venkat November 10, 2013, 7:04 pm

    Great help…:)

  • Schazil Najam November 12, 2013, 1:42 am

    if u just open the bat file in edit u can always see/edit the password….that’s no help

  • Asram November 12, 2013, 1:45 am

    Its very Nice

  • junaid November 12, 2013, 1:55 am

    tell me in easyy way i dnt know what u say ?? please my email is junaid.007@hotmail.com

  • prithiviraj November 13, 2013, 1:07 am

    great help.ppppppppppppppppppppppp

  • deep November 14, 2013, 3:11 am

    If we delete the locker.bat file what is the situation.

  • Piset November 14, 2013, 1:42 pm

    I do all step but folder privacy still show and can open even I enter Y or may password

  • Peeta Mellark November 15, 2013, 12:12 pm

    i would be glad to give any of you a free copy, 24 copies left. if you want one email to pythonincsales@hotmail.com

  • Anonomys November 15, 2013, 7:32 pm

    Anyone can pass this password if they know what it is and how to make it. For example if you locked the folder with locker.bat with a certain password Ex. 123. Someone can make another locker.bat file with a password of their own choice Ex.12345 But they have to first rename it to lockerr.bat so they move it into the folder that has the locker.bat file in it. When they move lockerr.bat to the folder that has locker.bat in it they can use lockerr.bat to open the file locker.bat has secured. Using any password they want.

  • Hitesh November 18, 2013, 6:05 am

    Simple mate just create another same file like that name it locker.bat and save it in trhe password protected file since there was already one there i will ask you to replace it say yes and you changed the passowrd!!!

  • Ravi P. November 19, 2013, 6:56 am

    Total useless..
    here example is only doing folder to rename & hide. and on unlocking means it will rename to original folder name and unhidden it. thats it. not secure or not need any password for to do it in easy way.
    you need to some googling, and you can make hide/unhide batch file easily. LOL
    BTW Good joke here.

  • Ravi P. November 19, 2013, 6:58 am

    Better you use “7zip”. its free and secure in all ways.

  • your_face-->my_ass November 19, 2013, 11:10 am

    nice proper use of the English language bro.

  • your_face-->my_ass November 19, 2013, 11:15 am

    So this is not TOTALLY useless, just mostly useless. it is only good if you are trying to hide something from people who are not computer savoy or if you just want to prevent someone from accidentally opening a folder you don’t want them to see. My advice, go ahead and pony up the dough for one of the programs that makes it easy, that is what im going to do.

  • lavnika November 19, 2013, 12:04 pm

    this is useless,seriously…..

  • miggy592 November 20, 2013, 3:59 pm

    You know someone can just click edit on the locker file right? Password and everything is visible

  • guest November 21, 2013, 1:01 pm

    no.its not true in my case…
    showing hidden files does not reveal the private folder

  • ravindra November 21, 2013, 1:11 pm

    keep the locker thing in any other folder..example in your game folders ..
    where only you can recognize it..you can also rename it there..
    nobody except for you will know where this batch file will unlock your secret folder..if you double click it in another folder it just creates an empty folder named private…have fun..

  • ravindra November 21, 2013, 1:16 pm

    keep the locker thing in any other folder..example in your game folders ..

    where only you can recognize it..you can also rename it there..

    nobody except for you will know where this batch file will unlock your secret folder..if you double click it in another folder it just creates an empty folder named private…have fun..

  • ravindra November 21, 2013, 1:21 pm

    delete the existing batch file .. and create a new batch file with a new password and try again…..
    For your second querry,,the answer is yes

  • ravindra November 21, 2013, 1:30 pm

    if they delete locker.bat only, then my friend, your files will not be deleted..
    you can create a new locker.bat and that will do the trick…
    but if any body deletes the file which contains your secret file then your data will be lost

  • ravindra November 21, 2013, 1:35 pm

    so just move the bat file to another folder you know…
    well then nobody could find out the original location so your secret file is secure..
    when you want to open just bring the bat file in and open it..

  • twitch November 21, 2013, 6:17 pm

    download TAKE OWNERSHIP, install it then right click on file and its now yours

  • prithiviraj.s November 21, 2013, 11:10 pm

    very usful thanksssssssssssssss…………………………………….
    for………………….
    wonderful……………………….

  • Anish M. November 22, 2013, 5:23 am

    Thanks Man !!!!

  • C. K. November 22, 2013, 3:52 pm

    You can make the .bat file a hidden file and turn off the show hidden files and it will be an empty folder till you need something in the folder then

    turn show hidden files back on again.

  • Umar Saeed November 25, 2013, 3:02 am

    It’s awesome, but my question is this if you secure the personal data with password and of course the data will be hide expect locker.bat file, but in my absence if some one delete the locker.bat file then? is it possible to make the restriction or unable to delete the locker.bat file by other user???

  • hafsa November 26, 2013, 3:54 pm

    when first time i locked that folder it was locked and it was opened when i wrote the password but when the second time i tried to lock the folder it was not lock and the error accured that the action is denied, can you please help me to solve this problem??

  • Raj November 30, 2013, 1:26 am

    its just a vogus trick, if someone deletes your file or cut the
    locker.bat folder to somewhere else, then the whole data in it will
    delete. So, be aware of it. its better to download third party software
    like folder lock, etc.

  • Rohit Garg November 30, 2013, 2:02 am

    This is Not Godd!!!!!!!!! When You save The File. Click on .bat File and Open with Notepad and then You Easily Change the Password. So It’s Not Work Properly.

  • Seanypop December 5, 2013, 5:20 pm

    Make the.bat into a .exe then it wont be able to be edited

  • Milan Amarasinghe December 9, 2013, 11:45 am

    thank dear

  • kavita December 11, 2013, 9:13 am

    can i retrieve the data if i have forgotten the password? m actually in big trouble… please help me out.

  • Shujinko December 12, 2013, 3:35 am

    Pfft super gay just go to the lock file and right click Edit right back to the Text… pw is there

  • Eddie Salvatus December 13, 2013, 1:59 am

    Advanced users can still access your files… It is just hidden! LOLz

  • Austin Harlan December 14, 2013, 10:36 pm

    you should try deleting the locker.bat and restarting with a new password hope this helps :)

  • Austin Harlan December 14, 2013, 10:51 pm

    can anyone tell me please on how to ban or keep the edit buttion away!!!!!! because im very strict with my stuffs. please email me at harlaap@gmail.com to awawawawsa lols

  • Austin Harlan December 14, 2013, 11:03 pm

    EVERYONE I JUST SOLVED THE PROBLEM!!!!!AFTER YOU FINISH ALL THE STEPS AND HAVE YOUR LOCKER FILE RIGHT CLICK IT AND GO TO EDIT, DELETE YOUR PASSWORD AND SAVE THE FILE!!!!!!!!!!! THEN IF THEY TRY TO LOOK AT YOUR PASSWORD BY GOING TO EDIT THAY CANT SEE IT!!!!!!!!!!!!!!!tell me how it worked for you be emailing me at harlaap@gmail.com or like me on face book or youtube

  • chris kava December 16, 2013, 2:07 pm

    it’s good but it isn’t very safe because you can find the password easy

  • dhanunjay December 17, 2013, 7:11 am

    it was not safe because if we enter a wrong

    password ,to it was accepting and opening the lock

  • harsha December 23, 2013, 8:25 am

    Its useless.. The folder’s just hidden!

  • bob December 25, 2013, 12:03 am

    My folder doesn’t even disappear it just changes the name of the folder.

  • Pravin Rakhewar December 27, 2013, 6:21 am

    Very usefull thanx………….

  • Pravin Rakhewar December 27, 2013, 6:22 am

    If i forget my password then, how to reset password….?? plz help

  • maneendra December 27, 2013, 10:23 am

    harsha did you tried even ones.. or you have addicted to say anythings

  • Devin Heart December 28, 2013, 4:06 pm

    You can edit your bat file. Just right click and press edit,

  • Devin Heart December 28, 2013, 4:07 pm

    Exactly, then that one guy who always uses your computer cant find it. Unless he is experienced…

  • Ahasn December 29, 2013, 3:11 am

    by using this method every one can see our password…

  • salah December 29, 2013, 6:00 pm

    you can hide the bat file and show it , i’m tried that and it is worked

  • salah December 29, 2013, 6:01 pm

    thanks , so much

  • akash December 31, 2013, 8:59 am

    some problem in this method. anyone can delete .bat file

  • smeds1 December 31, 2013, 9:07 pm

    Do you look for things you don’t know exist? If someone doesn’t know the disappearing folder exists, why would they look for it?

  • Matt January 1, 2014, 2:24 am

    and you only need to show hidden folders to see the private folder

  • Krishna moorthy January 2, 2014, 2:58 am

    Its working fine… Is there any way to change the password?

  • biren January 3, 2014, 4:43 am

    good nice ra ra

  • Hamza January 4, 2014, 9:21 am

    Nyc…

  • Unknow January 5, 2014, 2:08 pm

    else u can use ttruecrypt and on top of it it’s free :3

  • maneesha January 7, 2014, 11:55 am

    the bat file asking password but the private folder which my files are there is showing out all my files when clicking on that file how is it possible?

  • Dik January 7, 2014, 12:24 pm

    You can delete text doc

  • Vaibhav Falke January 8, 2014, 9:15 pm

    yeah u can easily … just right click on locker.bat file and then on edit . There u can see your password written . It helps , try it out …

  • zafar January 8, 2014, 9:24 pm

    Very nice dear but if some one delete that lock file then ???????????? where is our lock folder and can we open that

  • Krishna Varshney January 9, 2014, 5:08 am

    miss. it is too easy when u save data in private folder then u click locker or type y then your private folder will automatically locked….

  • Aja January 10, 2014, 1:38 am

    I knew there had to be a way to do this! thank you, very helpful :)

  • Ali Raza Ghori January 11, 2014, 5:53 pm

    If we remove our password from locker.bat file then any one who can access that file and can edit locker.bat file with new password and can access data.

  • James January 11, 2014, 8:25 pm

    THANK YOU SOO MUCH!!

  • yongis January 12, 2014, 12:19 am

    actually, your folder was just hidden (as it became a system folder). you can still view it by going to:
    control panel>folder options>view tab>click “Show hidden files..>uncheck “Hide extensions..>uncheck “Hide protected operating system file.”.
    you can now view your folder but it’s folder name is Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}.
    viola! anyone can now access your folder.

  • yongis January 12, 2014, 12:22 am

    if you are using windows 7, go to:
    control panel (View by: Large icons or Small icons to easily find “Folder Options”)>folder options>view tab>click “Show hidden files..>uncheck “Hide extensions..>uncheck “Hide protected operating system file.”.

  • Chris January 12, 2014, 11:44 am

    What happens if I forget the passsword? Is there anyway I can access the folder again?

  • Dan January 13, 2014, 7:54 am

    Just back everything up on an external drive and whatever data you have left on the computer archive it with WinRAR and set a password.. boom, problem solved!

  • Alan January 14, 2014, 7:46 pm

    it just changes the name of the file for me

  • andros January 15, 2014, 9:24 am

    how to download this thing?or you can make it by yourself?

  • unknown January 15, 2014, 10:00 pm

    how to access the file if you forget the password

  • Aftab January 16, 2014, 3:27 pm

    hey friends…
    Its not useless, because you can use security on locker.bat to avoid your password from being changed by anyone else, And no one can access the private folder from folder option…..(aftabahmad1694@gmail.com)

  • vivek rathore January 17, 2014, 11:04 am

    everyone unlock this folder Easley

  • vivek rathore January 17, 2014, 11:16 am

    hi dennis,
    u r right like me.

  • Nathan Flynn January 21, 2014, 6:39 am

    locked file works great, easy to create and use. thanks

  • Thomas January 28, 2014, 2:36 am

    open the locker.bat and read the password that you set. just like anyone else can. This process is not very secure at all.

  • Thomas January 28, 2014, 2:38 am

    That is the other issue. Then it would just be a matter of creating another bat file. since the password is set in the bat file it doesn’t matter that you have to recreate the file.

  • rockie January 30, 2014, 1:54 pm

    dude agr tere koi locker file delete krta hain toh woh file hi dte hoti hain data nahi …wohi file bana kr tu file show kra sakta hain

  • Alben February 1, 2014, 3:38 pm

    thx a lot. very smart workaround.

  • SID February 10, 2014, 10:49 am

    Lovely boss.. Thanks

  • AJ February 10, 2014, 12:24 pm

    thanx aton…work grt..!!

  • Anand February 11, 2014, 5:58 am

    Really Great, thanks a lot……

  • merv February 11, 2014, 9:39 am

    I agree this will never be that secure as you can read your password from the preview pane. However reducing the font to size 1 and changing it to wingdings or something like that makes it perfectly acceptable as a medium nosey parker only type security, might not keep my bank codes in it but for anything else……..

  • youn February 11, 2014, 4:16 pm

    heloo bro delet that folder exept locker now you can not change password and now one can see it

  • youn February 11, 2014, 4:17 pm

    delet the folder new text document

  • sanele Mbambo February 12, 2014, 6:58 am

    thank you very much, although you cant hide it when you search what you hide you can find it and if someone wants to they can do whatever they please with it

  • Shoyab Akand February 12, 2014, 9:06 pm

    Thanks a lot. That is great

  • Chris N. February 12, 2014, 9:15 pm

    This works so well!

  • Ashutosh February 13, 2014, 3:08 am

    Thank you so much.. this works really well.. appreciated.. :)

  • satyendra pal singh February 14, 2014, 2:20 am

    this process is true thank so uch

  • Ashamed February 16, 2014, 7:44 pm

    Now no one will ever see or judge me because of my neopets screenshots

  • Helping Hand February 17, 2014, 3:21 pm

    Not secure. Open the document in a text editor without need of password which then shows your password in the text. So the question becomes how do you lock the lock so people can’t access the password.

  • Lokesh February 18, 2014, 7:08 am

    Awesome dude..

  • Uzair Ahmed February 19, 2014, 12:22 am

    it work great.but now its not opening.after getting right password.plz help me.

  • Tayyaba Jan February 19, 2014, 12:50 am

    great way ………… work out 4 me thanx

  • vampy February 21, 2014, 7:06 am

    and what if some one delete the locker file..?

  • vampy February 21, 2014, 7:08 am

    howcome you unlock it?

  • vampy February 21, 2014, 7:20 am

    ohhh got it now.

  • karthik February 23, 2014, 2:28 am

    it does not work..u just go to control panel, and select “show hidden files”.

  • fofiwwlldjfhed February 23, 2014, 1:03 pm

    works very well, but I would suggest not putting any very important documents inside, as anybody can in fact delete the ‘Locker.bat’ file and then of course all files within it will be destroyed! :D

  • Chetan Tembhare February 25, 2014, 6:38 am

    hey bro..great work…but there is some problems…it will open the file with any password..even i press wrong password. another one is any one can delete the bat. file…bt i have solution for this..u can make a bat. file to exe file..and that works..

  • Avi February 28, 2014, 1:52 am

    You can create another bat file with same password. It will work the same way.

  • Sifat Zahan March 2, 2014, 11:17 pm

    in this method, unwanted user can easily retrieve the password from the text document. so any solution for this?

  • Kingvikdal March 3, 2014, 12:25 pm

    Works great! Thank you :)

  • Happy Be March 6, 2014, 1:11 am

    Its Working Fine..!

    Thanks,
    Rakesh

  • Simple Does IT March 6, 2014, 9:05 am

    Fabulous!

  • Abdulhaq March 7, 2014, 1:59 am

    Not secure. you can easily find the private file by checking out the “Show hidden files” and “Hide protected operating system files” in Folder option. even if you have the “locker.bat” file or you delete it. If there are any solutions for this, please help me…

  • toeknee March 7, 2014, 8:48 am

    How do you remove this if you no longer want to protect your folder???

  • sree March 8, 2014, 9:36 am

    if i forgot the password what i have to do

  • Joshua Lee March 12, 2014, 8:43 am

    delete the text document

  • Red thunder March 12, 2014, 11:49 pm

    i forgot my password . now i do ?

  • punit March 15, 2014, 6:41 am

    you can change the file name alsp with bat file you need to do2 change at first line and last line where mdlocker insted of locker you can write your personal name at both place and save file at that name.. it will help you.. in some way

  • Rosen Ivanov March 15, 2014, 6:30 pm

    if u forgot your password’s do this :

    Go to the “locker.bat”
    Right click / Edit, and you can see your password. :)

  • Dhruv Sharma March 16, 2014, 12:07 pm

    not wrking in my case.. no new private folder is created

  • ebin March 17, 2014, 7:00 am

    but i can open folder Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D} while it is locked. what should i do?

  • Antreas March 18, 2014, 5:13 am

    Hi, use this method but sometimes the folder does not lock and is still visible.
    one i restart the pc then i am able to lock. any ideas why?
    thanks a lot

  • sivasamy March 18, 2014, 10:52 am

    This is Super… I like this. Thank you

  • Sargeraas March 19, 2014, 5:37 am

    thanks a lot excellent

  • Michael March 21, 2014, 2:18 am

    Thank you, this is awesome. Now I can hold my homework in a file without getting them deleted lol :P

  • Sze March 22, 2014, 9:48 pm

    thanks!

  • Sifat Zahan March 24, 2014, 10:42 am

    i meant after i save the file like in step 5, i can reverse back the step and convert to text file again. that what can i do?

  • Mughal Jee March 26, 2014, 1:41 am

    I have done these all step every thing was good BUT it after these all process it was just compiling private folder..did i any thing wrong.??

  • Julian Depaepe March 26, 2014, 10:30 am

    make .rar passwords works 100% no 1 has ever broke it

  • ziyanda March 27, 2014, 3:12 am

    I have done everything, this is not working for me. when i Lock the private folder it does lock and rename private folder BUT when i double click the one that renamed Private folder it opens everything that is in private forlder. By that the folder is not secured at all

  • Ananay March 27, 2014, 4:13 am

    Thanks it was very helpful + I was succesful!

  • SINGH March 28, 2014, 6:59 am

    THANKS IT WAS SUUUUUUUUUUUUUUUUUUPR

  • Raja March 28, 2014, 3:02 pm

    After i lock it it still says “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”

  • umer March 29, 2014, 12:30 pm

    it doesn’t work in windows 7

  • king March 29, 2014, 5:12 pm

    i agree with umer

  • YJ March 30, 2014, 1:00 am

    How can I make my password invisible?

  • Gaurav March 30, 2014, 7:40 am

    There are certain possibilities

    1) You must have did it on the desktop
    2) You must have not changed the name to “locker.bat”
    3) You must have not changed to “All files”

  • Gaurav March 30, 2014, 7:41 am

    You can’t rename it!!!

  • Lazy boyi March 31, 2014, 1:33 pm

    *.* it shows everything :O :O What’s the use then ???? :(

  • jitendra ku pati March 31, 2014, 2:13 pm

    what about the text we saved as(.bat) in new text document

  • Mukesh Senta April 1, 2014, 11:54 am

    Good ….thanks

  • rc April 3, 2014, 7:59 am

    TY much!

  • LAinWLA April 4, 2014, 5:28 pm

    SO helpful. Thank you!!!

  • Bisma Joyosumarto April 4, 2014, 11:44 pm

    It worked, but I found out something: On step 3, you can change every single “Private” into the name of the folder you want, but you need to replace spaces of both the folder name and the password into signs like _ But I also know how to take over that locker.bat file and change the password. If you know how to change file types by renaming them, then you should already know how to take over that locker.bat file. That’s why this page said: “While the steps below will guide you in creating a hidden and password protected folder, this method is not 100% secure. It will deter the average computer user enough, but an advanced user will be able to access the contents of this folder.” This quote meant that some people (like me) know how to take over that locker.bat file. Sorry for a long comment.

  • Md Sirajuddin April 5, 2014, 2:35 am

    Hi buddy, these seems to be good but not exactly good and secure way for making folders as private… If someone searches with some key word such as confidential, private than that is visible in search results So finally user can open it and can access of files… which supposed to be private and locked.

  • saad April 6, 2014, 7:04 am

    well its quite useless because it make a folder no more than a system folder which can be seen under hidden files and option of protected system files :(

  • gianne2402 April 7, 2014, 3:44 am

    its useless because if you unlock it, it make a folder named control panel. And if you clicked that without any password, your files will appear. So please help me, how can I delete the control panel if every time you’ll unlock it, it will appear?

  • Wesley April 10, 2014, 8:49 am

    It’s nice but if you right click it and click edit you can simply change the password. It would be good if you first have to type in your old password to get the possibility to type in a new one

  • bob54 April 10, 2014, 4:17 pm

    Am I missing something if you open the preview panel it shows the text document with the password?

  • deepthi April 12, 2014, 11:16 am

    It is not secure.1)simple searches with .jpg shows the hided imgs

  • Aisha April 13, 2014, 5:40 pm

    awesome.. it really worked ….!!!

  • Sajid April 13, 2014, 11:43 pm

    Whatever you said that is working. But data saved in Private folder also visible in ”Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” Folder, which is automatically creating after applying Lock on folder PRIVATE. then what is use of folder lock????

  • Christina April 14, 2014, 3:33 am

    Yes it does. What you mean is that you got it wrong.

  • insarha April 14, 2014, 11:18 pm

    its work but!! the only changes is the name of the folder…
    No changes.. the contain of the private folder is same in “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” No Good!!

  • Christian April 15, 2014, 11:04 am

    to make sure that your folder is protect cut and past the File,bat in the private folder when you close with the locker your text document showing your password is not visible or accessible as it is in the private folder lock and to open it you need to know the password

  • Christian April 15, 2014, 11:09 am

    to make sure that your folder is protect cut and past the File,bat in the private folder when you close with the locker your text document showing your password is not visible or accessible as it is in the private folder lock and to open it you need to know the password

  • Sahitya Banerjee April 16, 2014, 5:43 pm

    thanks a ton! :D

  • Anjali Sajeev April 18, 2014, 12:24 pm

    Thanks a lot
    :)

  • hillyjr April 18, 2014, 4:36 pm

    so am I.. what should we do..?

  • sara April 22, 2014, 7:33 am

    thanks very useful masha allah

  • Jan April 23, 2014, 8:23 am

    Thank you very much…. looking for this for a long time….

  • Hassan April 23, 2014, 2:45 pm

    it works.. but its not secure … cz it can be edited easily

  • Steve April 23, 2014, 8:03 pm

    If you right click and edit the locker you can see the password clear as day??

  • t_rex April 27, 2014, 7:58 am

    tysm it helped

  • sara April 28, 2014, 4:16 am

    i did it but know i want to delete it how O_o

  • Christian May 2, 2014, 4:16 pm

    It rather would be easier, if you make your own user in you computer rather thatn locking a folder, cuz its fully visble as finding the sun in the clear sky

  • WillyAngel May 2, 2014, 4:54 pm

    This is very helpful! You see, no one in my house knows how to use the pc without installing Babylon, so you shoudn’t use this unless you’re like me! #HentaiTime

  • WillyAngel May 2, 2014, 4:58 pm

    Hey guys, why don’t you just put the password as a giant number? If someone clicks edit, the person won’t know where to look, and if you forget the random number, YOU can go to edit!

  • kepala naga May 6, 2014, 2:53 am

    thanks..is helpfull :)

  • Brown Jason May 6, 2014, 3:49 am

    This solution is widely used to protect files on computer, but in fact it only helps hide the folder from others. For more important files, you need strong encryption solution.

    Kakasoft Advanced Folder Encryption is one of excellent file/folder encryption programs, you can download the trial version to have a try.

  • thebigcheese May 7, 2014, 8:40 pm

    Weird question: How can I have the folder locked but still visible?

  • PS May 8, 2014, 9:18 am

    Sorry if this has been answered before, but: this worked for me a few times, but then when I double click and enter “Y” nothing happens. The private file does not disappear! What am I doing wrong?

  • pasta May 8, 2014, 2:10 pm

    i locked but forgot password, how to unlock?

  • nunya May 10, 2014, 7:37 am

    right click and select edit and you will see your password

  • NUNYA May 10, 2014, 7:37 am

    This only protects against novice users.. you simply right click and select edit and you can see the password.

  • Dilan Prashanth May 10, 2014, 8:30 am

    i couldn’t unlock the folder
    access denied
    what to do?

  • Lord Anubis May 11, 2014, 9:49 am

    I updated to win8.1 and now i can t get to the private fowder and i need the files that are inside it

  • Gozreh May 11, 2014, 8:07 pm

    Just hide the script

  • Akash Malik May 12, 2014, 5:42 am

    good work

  • joy May 13, 2014, 10:45 pm

    thanks!

  • G May 16, 2014, 5:01 am

    Hi all, I tested the system and it worked fine, then added a number of files and directories. Ran it and it did not work, now if I do it is comes up with access denied, but I can still see the directory

  • Praveen Kumar P May 17, 2014, 8:24 am

    Disadvantage
    Simply type ” * ” in the search bar (Windows 8.1 OS),all the protected files will be shown in search screen :(

  • dsv May 17, 2014, 12:00 pm

    not only that but it can be edit and anybody can view the password also

  • projectio May 19, 2014, 5:38 am

    thanx for this idea…….

  • Ahmed May 24, 2014, 1:39 am

    Great Work…! Thanks a lot Friend..!

  • Ahmed May 24, 2014, 1:47 am

    This is great but i would recommend to to take a copy of bat file and save it somewhere safe in other folder… Incase if anything goes wrong…. Individuals with basic scripting knowledge can easily work with this… for other people i ‘ll suggest to dowload Folder lock free softwares from website.. !!!

  • Ahmed May 24, 2014, 1:48 am

    Great …!

  • Ahmed May 24, 2014, 1:52 am

    The only best way is to Move the batch file to some other location when not needed…. Whatever,.. Getting a Folder lock for windows 8 at free of cost really sounds good for me….!!! Great day

  • Arthur May 27, 2014, 10:26 am

    This is fantastic!!! So simple, yet effective. Thank you!!

  • Miroslav May 28, 2014, 7:20 pm

    And when u click right button on Locker.bat and Edit u see the password -,-.. Stupid

  • mohan May 30, 2014, 3:45 am

    It’s Really Awesome…

  • Barack Obama May 30, 2014, 5:11 am

    Just use a ‘Bat To Exe’ program and you cant see the password :)

  • FutureBrain May 30, 2014, 2:08 pm

    what if the file gets deleted??

  • DamienSnijder1994 June 2, 2014, 6:09 am

    only one thing they can change the password really simple and then they still can enter your locked folder by typing the password they have choosen so what to do about that??

  • zehra June 4, 2014, 10:12 am

    THANKYOUUU. works great

  • majortom June 8, 2014, 2:54 am

    you move the new text document into the private folder

  • hdc June 13, 2014, 3:12 am

    it is not secure. if any one type the file name in search, they can easily access that file.

  • hitesh June 15, 2014, 11:57 am

    not secure at all…

  • Raja June 19, 2014, 4:37 am

    It works & awesome…

  • joe shmoe June 19, 2014, 12:56 pm

    the files still acessable its just a “hidden file” which is useless

  • Debal Dhar June 21, 2014, 4:39 pm

    Just type ‘ * ‘ on the search bar contents will appear.

  • Debal Dhar June 21, 2014, 4:39 pm

    Just type ‘ * ‘ on the search bar contents will appear. Hope this will help.

  • Ahsan Yousaf June 21, 2014, 7:47 pm

    aint working …. its not creating a private folder

  • fd June 22, 2014, 3:05 am

    that surely works

  • fd June 22, 2014, 3:05 am

    thank you

  • Bluecarrot June 22, 2014, 10:58 am

    Doesn’t seem to work – I created the file and the Private folder came up, but even if i lock it i can still access it. Any suggestions?

  • mujahid June 25, 2014, 3:04 am

    type the password which you typed in place of PASSWORD_GOES_HERE.

  • thecrzysam June 26, 2014, 1:58 am

    works great

  • thecrzysam June 26, 2014, 1:58 am

    thanks a ton!!

  • raju June 26, 2014, 7:00 am

    I just set password and private folder also. but folder appear even wrong password. I mean system require/demand password, but function if wrong password. Please let me know,
    raju.ghimire@aepc.gov.np

  • raju June 27, 2014, 3:06 am

    but my bat file open(private folder appear) wheather I supply wrong password. I mean bat file demand for password to open private folder and it function wheather password is either wrong or correct. Please let me know, raju.ghimire@aepc.gov.np

  • Rockey handsome June 28, 2014, 7:28 am

    Truly good it really works.now i don’t need to worry about my secret data.

  • azka June 29, 2014, 9:57 am

    i don’t what’s wrong, but when I tried it on my computer, the folder is still accessible, only the folder name’s that change

  • ravi June 30, 2014, 4:42 am

    that’s really good….it’s working….thanks

  • tony June 30, 2014, 4:52 am

    it works but I don’t put much faith in all some has to do is read the .bat file to find the password

  • Adnan Wakil July 1, 2014, 2:19 am

    Thanks be to you. I tried, it works.
    Adnan Wakil from Islamabad Pakistan

  • jkl July 1, 2014, 4:59 am

    Windows 8.1 If u right click on locked folder shows edit option & u click on edit ….it shows details of password…….

  • JustJanet July 1, 2014, 10:05 am

    This works great in Windows 7 Professional. Thank you!

  • Lee Paradis July 1, 2014, 6:51 pm

    Its a good way to keep the novice user out. But anyone that knows how to open a bat file in notepad can find the password. Honestly a Windows native folder password system built as part of the OS is 20 years overdue. A more secure but still not 100% way of doing this is to create a compressed folder which can be password-ed.

  • fijianwarrior July 2, 2014, 3:05 am

    actually u kinda do coz its really easy to find out the password for the folder…

  • Brown Jason July 2, 2014, 3:22 am

    If you just protect the general files/folders from other people, this must be a very good free way. But if you need to protect more important and sensitive files on computer, using third party software such as Kakasoft Folder Protector will be more secure.

  • anonymous July 3, 2014, 2:24 am

    it works great. but, the password can be seen in preview pane

  • Mohammad Sameer July 7, 2014, 12:20 pm

    it did’nt work !

  • shahidulhoque25 July 9, 2014, 12:38 am

    It’s good but not better………….

  • shahidulhoque25 July 9, 2014, 12:43 am

    This .bat file is not secure…….. we want better then it’s…..

  • shahidulhoque25 July 9, 2014, 12:47 am

    absolutely right…………

  • meow July 9, 2014, 9:36 am

    it doesn’t lock the folder..it just hides it.. haha

  • SHAILU July 12, 2014, 12:45 pm

    I SATISFY WITH THIS PROCESS BUT I WANT OTHER PEOPLE NOT PERMIT FOR DELETE THIS FOLDER.

  • William July 13, 2014, 8:27 am

    Worked great for me, many thanks! It is for the “average computer user”, which I am and most people around me are, so I feel secure.

  • IT_sara July 15, 2014, 10:25 pm

    its dosen’t work u see why?

    the private file can be accedes when show the hidden fie is active and it can be opend without password

  • Chan July 21, 2014, 2:58 am

    THIS IS GREAT BUT THERE IS A PROBLEM IT ONLY HIDES THE FOLDER …….
    YOU CAN ACCESS THE FILE BY SHOW HIDE FOLDERS …..

  • Stylish July 21, 2014, 2:30 pm

    This worked i love it. Now my sister can’t see anythings

  • mc wiz clavian July 23, 2014, 9:53 am

    hi your the best ever

  • Maryam July 24, 2014, 2:38 pm

    Doesn’t open tried a thousand times

  • Tlhapiso Ramaselesele July 29, 2014, 4:23 am

    Wow…this is wonderful..I have just tried it now, it worked perfectly.

  • Cosmic July 29, 2014, 7:30 pm

    this was great, thanks a lot man! ^ ^

  • Geeti Mehra July 30, 2014, 2:12 am

    its too good… thanks a lot

  • Geeti Mehra July 30, 2014, 2:17 am

    if we want to change the password then what should we do ???

  • Ritul July 30, 2014, 4:28 am

    thanks for the information, Its very useful.

  • Easy July 30, 2014, 5:22 am

    I don’t want to kill the popularity of this post but the FLAW of this method is so obvious. Open the .bat file with the notepad, change the password and VIOLAAA!! You can open that private folder again.. :3

  • Preview Pane July 30, 2014, 7:55 am

    If you open the preview pane, you can easily find the password. Is there a way to hide the preview pane?

  • Domen July 31, 2014, 4:16 am

    there is a software convert .bat files into .exe. u can search for it online

  • Vikram Saboo August 12, 2014, 8:42 am

    Just a further suggestion. Make ur password using the “Alt” key. It will typically convert ur password in some ascii format.. Like
    A typical sign will appear. This will be difficult to break.

  • Emerlyn Soo August 13, 2014, 7:14 am

    all files in the locker but type password unable to retrieve, how to get it back?

  • Emerlyn Soo August 13, 2014, 7:20 am

    when key-in password, an error message appears:
    Invalid password
    ‘Read’ is not recognized as an internal or external command,
    operable program or batch file

  • Emerlyn Soo August 13, 2014, 10:30 pm

    Cool! But thanks anyway, I just managed to get back all the files which I was unable to retrieve by entering the password set.

  • raman August 14, 2014, 4:57 am

    locker isn’t opening my files……my files are lost……what should i do now…..????

  • yogesh August 18, 2014, 1:21 am

    in which folder i had made private folder that new folder cant seen. and all my locker.bat file and private folder with secure files are in that folder. so, how can i access it

  • Guest August 19, 2014, 12:46 pm

    This does not secure the file at all. It just hides and unhides the folder.

  • light August 20, 2014, 4:01 pm

    yes and can be opened through search

  • light August 20, 2014, 4:03 pm

    open it through search

  • denniskyalo August 23, 2014, 2:49 pm

    You can simply access the contents of the folder by searching one its contents ,then you open file location. It doesn’t work. Simple windows 7has got no folder lock app. You need to use a third party software

  • noo August 23, 2014, 9:10 pm

    what if locker dosent hide my “private” folder it does nothing

  • phil August 30, 2014, 12:54 pm

    when I password protect the private file does not disappear but turns to Control Panel file that can be opened?

  • srikanth September 7, 2014, 8:56 am

    it’s good
    but anyone can edit the locker.bat file in notepad and can change the password as they want
    and hence there is no security in this method

  • dotun55 September 16, 2014, 8:46 am

    Doesn’t work perfectly on Win8

  • kosova October 1, 2014, 9:20 pm

    i forgget my paswword :S:SS: , how can i take it back plz plz ttell meeee

  • Slobbadurf October 3, 2014, 3:29 pm

    Right-click the locker.bat file, click edit and find your password or change it.

    Good job btw.

  • Ueki October 14, 2014, 2:47 am

    I did it… thanks a lot :)

  • Hidden October 23, 2014, 10:59 am

    It worked great for me!

  • brdparker November 1, 2014, 11:37 am

    I just did this on the work computer for some shotty folder that I don’t care about. A lot of the comments are pretty pessmistic because you can change the .txt file.

    Guys… just delete the .txt file, or move it into the private folder. Done and done. :D

  • anil November 16, 2014, 4:14 am

    simply exit from the window. it will also work, even if the password forget .

  • Dhiaa November 19, 2014, 5:57 am

    it’s not good because any one can open it
    he press the left button and select modifier he can change the password

  • ganesh November 19, 2014, 10:02 am

    Its not working on windows 7 , we can still see the files , and also the contents of the files.

  • Legoman Brick November 19, 2014, 8:56 pm

    I can still see whats inside the folder in the home menu search bar if i search it up how do i fix?

  • Dan November 30, 2014, 8:48 am

    It works well to keep the novice out. For added security, rename the ‘Locker.bat’ file to runtime.bak, then move it out of the folder to the root. this way any spies would see just an empty folder, nothing suspicious

  • Joe December 11, 2014, 10:52 am

    to bypass just right click the folder and click edit, change the password and log onto it

  • Manoj December 13, 2014, 6:08 am

    i want to create a passwortd in rar filr or folder .
    pls give me answer…

  • emma December 13, 2014, 1:35 pm

    it only hides but doesn’t protect

  • Mahmood December 18, 2014, 5:36 am

    right click on folder or anything you want to protect,
    then choose “add to archieve”,
    the from the new window appeared click on “set password”,
    enjoy.

  • danny December 24, 2014, 4:51 pm

    its easy create one file for your private stuff then place that and the other things needed into another private file

  • bacha December 27, 2014, 5:48 am

    Mahmood sir.this folder can delete easily what is the way to secure it from deleting in other words
    Mahmood bahi ye folder delete ho gata ha kia ho sakta ha ka isa bachaiya gai bara bhai delete kar dete hain

  • bacha December 27, 2014, 5:51 am

    put files into private folder and just lock enjoyyyyyyyyy……….

  • bacha December 27, 2014, 5:53 am

    press y

  • VirusWar December 29, 2014, 7:18 pm

    Same here, worked w/out a problem!

  • Ronin_84 January 6, 2015, 4:16 pm

    I see this same bullsh^t everywhere, copy and pasted from other sites —- you are so f^^cking unoriginal. This bullsh^t is also insecure because it doesn’t hide your password as you are creating it and only HIDES the files – I CAN STILL ACCESS THEM! What a f^^king pathetic lie of a “Password Protected Folder.”

  • Ronin_84 January 6, 2015, 4:20 pm

    Bullsh_t. Anyone can simply unhide hidden files and everything is visible. This is such a BS method.

  • Ronin_84 January 6, 2015, 4:21 pm

    I guess you’re too stupid to see what he wrote about “Its not working.”

  • medidi January 9, 2015, 7:34 am

    when I click the bat locker.bat it hide the private folder but come up an other folder call control panel containing the files that in the private folder please help

  • Pulasar January 11, 2015, 1:14 pm

    Why are you using such vulgar hateful immature sick language just because you don’t like this folder. Is there something wrong with you. Please see a doctor asap.

  • Ronin_84 January 11, 2015, 6:25 pm

    “Sick language?” “See a doctor?” Are you a ret@rd O_O?! – rhetorical question. You need to see a doctor if you can’t handle it — GET BENT!

  • anthony January 12, 2015, 9:10 pm

    dude just chill geez…if you dont like thenwhy bother?

  • Ronin_84 January 13, 2015, 3:22 pm

    You’re not contributing anything. If you don’t have anything to useful to say, they why comment? — Useless brown-noser.

    I, however, have every right and reason to point out a sham. I also have every right to respond to comments made to me, YOU are just sticking your nose where it doesn’t belong.

  • Ronin_84 January 13, 2015, 3:32 pm

    “Do you look for things you don’t know exist?”

    If I’m looking for hidden files on someone else’s computer, then “Yes.” It’s very easy to turn off hidden files and folders, it’st the first thing I do when I set up any pc. To feel a sense of security just because you set a file or folder to “hidden” is absolute stupidity.

  • saad_chrifi January 30, 2015, 9:33 am

    thanks it worked :)

  • George Honki January 31, 2015, 6:31 am

    how to del the this folder

  • Roy Franks February 3, 2015, 2:06 pm

    grow up kid…It is to protect from people that have no idea what they are doing like you,,,,if you knew what you where doing you would need this! this is just to protect your files better than leaving them opened and only a skilled user would try to edit the code and look for the password. calm down…this does its job well

  • Dudy Bug February 4, 2015, 11:10 pm

    i dont work good on win8

  • Ahmad Nagi February 7, 2015, 10:46 pm

    You can delete the folder by deleting the text.Bat icon.

  • Ahmad Nagi February 7, 2015, 10:53 pm

    I think there was a problem while making this steps, Try again doing steps again for the first time to you and feedback me.
    Specifically the typing/coping way of the code.

  • Ahmad Nagi February 7, 2015, 10:54 pm

    You can just hide it.

  • Shan Ahmed Shaikh February 13, 2015, 2:43 am

    this is not secure…. i did all thing, and it goes right, what ever u say. but when i use search the files, from startup menu, it shows me all files,

  • gsgsg February 19, 2015, 12:32 pm

    nnnnnnnnnnnnnnoooooooooo

  • Kirilas Lukjančenko February 21, 2015, 4:01 pm

    man if u so critical and tuff create something better gush genius make site and be papular o.O why need being so rude….

  • Bub Bu February 23, 2015, 8:38 am

    “I also, I have, I do, I am, I… I.. I…”
    Just give this world a favor, kiddo – STFU u ‘lil piece of sh*t.
    I am sick tired of such a genetic garbage like u.

  • pradeeban pradee February 24, 2015, 8:57 am

    THANK YOU SIR……………………………………………Shan Ahamed Shaikh when you double click the locker.bat and click Y in command prompt after you close the private folder,it make it unvisible to computer search Try it and leave your comment

  • amit February 24, 2015, 1:28 pm

    me too the same

  • Akib February 25, 2015, 12:46 pm

    thank a lot for real discription.

  • Aji Galicinao February 25, 2015, 1:20 pm

    how to change the password ?

  • samar February 25, 2015, 3:42 pm

    i made this step and now i can’t access any file from the ones which are at the same folder and i can’t discard any of the changes done even when i changed the windows
    how can i restore my files back

  • Ronin_84 February 26, 2015, 11:24 pm

    I guess instead we should talk about you… that’s a good idea! I have no reason for me not so use those words, they are parts of BASIC HUMAN SPEECH. I haven’t attacked anyone here like you, and yet here you are with your tiny-dick-roid-rage, throwing out profanity like a little kid throwing a tantrum. It’s evident that YOU are the real gutter trash here, yeah, YOU should be one to talk! You have some serious problems, little child. Go bang your head against a wall, I’m sure you’re good at that — and not much else.

  • Yoga Perkasa Hadi February 27, 2015, 11:05 am

    GOOD

  • Umme Chand February 28, 2015, 1:36 pm

    Unfortunately I did not change PASSWORD_GOES_HERE these words but typed Y and click enter.now i can not access to my protected file.So what should be done now?

  • Dragoslav March 1, 2015, 8:04 am

    just type PASSWORD_GOES_HERE insted off pasword :)

  • Umme Chand March 1, 2015, 1:28 pm

    I did this but no positive impact

  • Shehan March 3, 2015, 3:38 am

    Just edit the BAT file by right-clicking it and selecting “Edit”. It’ll do the trick :) and go to where you need to change the password.

  • tony March 8, 2015, 3:19 pm

    A M A Z I N G

  • Ho March 10, 2015, 5:44 am

    How to hide the .bat file then?
    When i right click the locker.bat,
    it just appear my password inside the notepad.

  • Zara March 12, 2015, 1:34 pm

    amazing it totally works!

  • Zara March 12, 2015, 1:41 pm

    How about you fix up, because frankly we have the right of freedom of speech but you are one of this disobedient people who misuse it and you don’t personally know these people so they are are ones to talk.

  • Titanicjohn peter March 13, 2015, 12:36 am

    Perfectly Working but edit option is enabled.
    Suppose if Editable option is enabled Other user Can change the password.
    That is hacking so how can disabled edit able option in locker.bat only Suppose if you can’t try it other code

  • Sabs March 13, 2015, 1:01 am

    Thanks a Lot!! Superb

  • jth March 14, 2015, 11:46 am

    nice! but if I right click the file and then edit file, I can still get in because you then get the normal text file with the password showing…

  • bhima j March 16, 2015, 1:16 am

    its geunie work good

  • Pokemaster1313 March 19, 2015, 5:14 pm

    This is a really good way to protect stuff

  • Meep March 21, 2015, 10:41 am

    Well someone fed the troll.

  • Nurarihyon No Mago March 22, 2015, 8:39 am

    it does protect from curious people :D

  • kristine March 23, 2015, 6:00 am

    I tried it and it worked my folder was now private but as i open it again the private folder was there but my files was gone. please help how o retrieve.

  • Ronin_84 March 29, 2015, 9:33 pm

    I’m disobedient?! Not very smart, are you? Freedom of speech is not about being obedient, it’s about saying things EVEN IF YOU DON’T LIKE THEM.

    “they are are ones to talk.” Again, you stupidly talk about what you don’t know. You don’t know what the idiom “you should be one to talk!” even means.

  • Oli March 30, 2015, 9:27 am

    You can just right click on the locker.bat file and select edit with notepad++ to see what the password is.

  • Peter Ajewole April 5, 2015, 5:58 pm

    You are just too good. I tried your procedure and it worked perfectly. Thanks.

  • Monica April 5, 2015, 7:29 pm

    Thanks for sharing! I am using a software called Lock My Folders. Work as similar as your trick, but it will also encrypt the files on the fly.

  • Sneha April 7, 2015, 10:15 am

    Cool !!!!
    It made easy not only to secure data but even to hide it…

  • nitanshu kumar singh April 7, 2015, 11:05 am

    really….. its very hlpfull for lock the personal folder

  • vijay negi April 8, 2015, 2:20 am

    what if i delete the lock folder

  • Bernard Fearless Pestaño April 8, 2015, 9:16 am

    How to hide the password while typing in command prompt?

  • MOHIT April 8, 2015, 11:48 am

    HOW TO RESET PASSWORD IF I FORGOT MY PASSWORD??

  • Husnain Kazmi April 9, 2015, 5:42 pm

    Someone could comprise the folder is to open the batch file and read your password to Right-click on the locker.bat file and choose Edit. It’s definitely not a really secure way to hide your files.

  • Ahmad April 11, 2015, 4:28 pm

    u can simply rename the batch file to .txt and rewrite the password xD
    it’s not that secure if u know smth about batch files

  • Kundana April 19, 2015, 5:56 am

    superb! It’s working a lot but how could I change the password

  • eddy April 20, 2015, 1:55 am

    ha ha ha true

  • Funkist April 20, 2015, 2:47 pm

    It only puts the folder as Hidden. no protection there..none!!! go Folder Options and check Show Hidden Files and you’ll see your Folder under a somewhat different name but when opened you have access to everything. Fancy Way to put folder as Hidden.

  • ABHISHEK KUMAR April 21, 2015, 5:52 am

    How Can I change the password of Locker

  • Demonic soul April 21, 2015, 12:23 pm

    Mine don’t have the Folder Options so it’ good

  • AS Rao April 29, 2015, 12:56 am

    Hii have tried this its really good, but while doing so I had a doubt and dleted the Locker file, and got simply deleted.
    What if, some one else delete the Locker.bat file, do we loose complete folder or any way we can still retrieve them

  • Saad Mirza May 14, 2015, 1:21 am

    I By mistake deleted the .bat file when my private folder was disappeared. how can I get my disappeared file back? it had some important data in it!! :-|

  • I need a folder password lock May 15, 2015, 11:26 pm

    so basically you just system hide the folder instead of really prevent people double click it and prompt for password?

  • Jassem Ajili May 23, 2015, 7:13 pm

    I tried a false password yet the folder was unlocked.

  • cyka May 27, 2015, 5:22 am

    Just right-click and hit “Change”. You’ll see the text file and then you just need to change old passwodbsartsrd to new passwodbsartsrd!

  • glass May 31, 2015, 11:56 pm

    this keeps failing once I fill the file with documents. how do I fix it. Will not let me lock. On windows 7. Odd but this used to work but now it doesnt and I’ve tried remaking the file.

  • Shahid Sabri June 1, 2015, 2:14 am

    i have experiment now , after delete the locker file, i made new locker file with same password in the same folder where i have lost my files folder , and open the locker file with previous password, and my hidden folder come back,, u try ,, if there is any difficulty so u can call me 0313-6352858 , m from pakistan

  • Nikunj Gami June 2, 2015, 11:49 pm

    I have completed it successfully. But one thinh that needs to be improved is password should not be shown while entering. It soulld be in * form. If that can happen then it is perfectly fine.

  • SAEM June 7, 2015, 6:58 pm

    HI,
    i made a lock folder and its worked but now i connect my external hard again but now its show private folder empty so what to do now.
    please tell me any how can i view my folder.
    Thanks

  • saem June 7, 2015, 7:07 pm

    HI,

    i made a lock folder and its worked but now i connect my external hard again but now its show private folder empty so what to do now.

    please tell me any how can i view my folder.

    Thanks

  • Michelle June 7, 2015, 7:49 pm

    this is cool:D
    Thanks!

  • Kyle June 9, 2015, 3:52 pm

    …. Someone can easily right click the .bat file and find the password… lol

  • saem June 9, 2015, 4:35 pm

    HI,
    i made a lock folder and its worked but now i connect my external hard again but now its show private folder empty so what to do now.
    please tell me any how can i view my folder.
    Thanks

  • vilpiri June 15, 2015, 7:07 am

    You should compress the file into an .exe file after making the password to make sure no-one can find it out

  • Slayer Golem June 24, 2015, 9:31 pm

    i just made the .bat file but when i put in Y when they asked, it said that access is denied, any idea why?

  • Ramnath Shodharthi June 29, 2015, 11:19 am

    I am putting the password correctly but not able to retrieve the private folder..what to do?..please someone help me….Thanks

  • Sirius July 1, 2015, 11:15 am

    file get hidden. But when we change to show the hidden files , folder gets up by name “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”. when i open it it shows all the data. Foolish idea.

  • LavKush Pandey July 10, 2015, 11:01 am

    how to recover password if u forgot ?

  • Rohan C July 12, 2015, 11:52 pm

    Hey there! What language is the text document written in?

  • Garry Pitpitan July 16, 2015, 8:46 pm

    what a dumb head you all have.just do what the procedure given to you by uploader and thats it it works fine dude.its simple procedure!!!!1

  • jollku July 25, 2015, 6:03 am

    thank you

  • ignore July 31, 2015, 9:07 pm

    the folder is renamed ” controlpanel bla bla” and hiden in the same directory (folder). you don’t need a pasword to open the files.

  • my July 31, 2015, 9:09 pm

    read what you put in the text file. you have the answers… this is a joke…

  • Supun Bandara August 15, 2015, 1:55 am

    how to hide or loCK LOCKER.BAT EDITE OPSHEN IT IS PROB

  • WatchZ August 18, 2015, 1:38 pm

    Right click on bat file then press “Edit”

  • WatchZ August 18, 2015, 1:40 pm

    @ECHO OFF
    title {NEW NAME TO PRIVATE FOLDER}
    if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” goto UNLOCK
    if NOT EXIST {NEW NAME } 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

  • WatchZ August 18, 2015, 1:41 pm

    This works just on windows 7 & 8 so if you have WinXP it dosn’t gonna work

  • WatchZ August 18, 2015, 1:41 pm

    If you delete that folder when you start bat file it would create new one

  • Sundram August 24, 2015, 10:46 am

    Its a Batch File language and it is written in notepad with .bat extension. Understand…….

  • Sundram August 24, 2015, 10:48 am

    So tell me how to open that folder genius.

  • Sundram August 24, 2015, 10:52 am

    Just open the bat file in which you have entered the code and search for:
    if NOT %pass%==
    and then after == see the password and that will be your password.
    E.g. , if NOT %pass%==1323 then your password will be 1323 &also watch out for spaces.

  • Sundram August 24, 2015, 10:55 am

    It will not work in external hard drives or chips or pen drives. As control panel’s folder vary from computer to computer. Also if you had formatted your computerame thing will appear that is folder is empty.

  • Sundram(sundram.k.s3@gmail.com August 24, 2015, 10:57 am

    Its easy restore that bat file form recycle bin.

  • Sundram(sundram.k.s3@gmail.com August 24, 2015, 10:59 am

    Its a way to retrieve them, i.e. , just make the same bat file with the SAME CODE and PASSWORD, then open it & use it………EASY……….

  • Sundram(sundram.k.s3@gmail.com August 24, 2015, 11:00 am

    It is explained above.

  • Sundram(sundram.k.s3@gmail.com August 24, 2015, 11:02 am

    In the above code, replace the key PASSWORD_GOES_HERE with the password you want to use to unlock the folder. For example if you want the password to be 123456, the line should look like:

    if NOT %pass%== 123456 goto FAIL

  • Sundram(sundram.k.s3@gmail.com August 24, 2015, 11:03 am

    Right-click on the locker.bat file and choose edit and see for password after the line if NOT %PASS%==……………..

  • Rachel Loo October 2, 2015, 2:12 am

    how to change password?

  • supun loo October 4, 2015, 3:48 am

    why is it showing duplicate……?

  • Zenta Amani October 20, 2015, 8:11 am

    this is useless method..because why, when bat file is created you try right click on it and click edit after that your password and another text will appear

  • Nematullah Chandio October 23, 2015, 8:58 am

    I have done it and it worked, but as I installed new WINDOWS it does not play my videos and gives this message:

    Windows Media Player cannot access the file. The file might be in use, you might not have access to the computer where the file is stored, or your proxy settings might not be correct.

    Please help me come out of it..

  • Wajid Hussain Khoso I November 4, 2015, 11:19 am

    Listen Guy how to hide the Characters of password in bat file ??

  • Gaurav November 13, 2015, 2:01 am

    rubbish method anyone can access ur folder by changing ur password by editting the .bat file

  • Smile December 6, 2015, 12:13 pm

    thank you very much ..you learn me something good .

  • d00kes January 29, 2016, 7:47 am

    Absolutely no protection, easy to get past the locker and all files show up in start menu search. Pointless…..

  • gurvinder singh February 20, 2016, 10:01 am

    open bat file

  • fede February 22, 2016, 9:50 am

    thanks a lot man

  • yash bhargava March 2, 2016, 12:37 am

    this works for me! thanks alot :)

  • Ivan March 6, 2016, 3:12 pm

    you’re supposed to delete the text file afterwards, so there only should be the locker thing

  • Sabrina Cristi March 20, 2016, 11:50 pm

    I can not seem to get this to work. I followed the steps up until where you get the folde named as private. Then i’m stuck (because the private folder isn’t showing up.) I think it might be becuase the text document isn’t saved as a .bat file, but i’m not entirely sure. IF that is the case how can i save it as a .bat file?

  • Logan Connor April 1, 2016, 11:49 pm

    mine just changes the name
    can someone help me

  • Alex G April 7, 2016, 8:50 am

    Hello, it workes great, BUT if I go to toolsfolder optionsviewhidden files and foldersShow hidden files, folders, and drives -> then returns me the folder like an invisible and i’ll have the same acces whitout password :)
    Kind regards,
    Alex G. from Romania

  • VK May 5, 2016, 2:58 am

    Deleting the locker.bat makes it more secure. Just preserve the batch program code somewhere and remember the password
    When you have to see the private folder, just create the locker.bat once again (following the same steps and entering the same password)
    More secure way!

  • Ishmal Jutt May 28, 2016, 12:57 pm

    There’s no doubt, As Windows 7 is the most recommended OS, Which through user can do almost all work without any problem, Where I recommend you to activate your OS being purchased its license code from ODosta Store
    Which is distributing license for almost all types of Microsoft Products. I personally use it and have a good experience.

  • Hari Krishna July 1, 2016, 9:42 am

    any one can change the password by editing file

  • Bob August 4, 2016, 10:36 am

    but you can still right click–>edit the batch file and see the password

  • JITENDRA September 14, 2016, 7:46 am

    rename folder control panel bla bla bla

  • hrishikesh October 10, 2016, 1:51 am

    everything would be visible if you search with *.* . it shown in folder named ‘control panel’

  • sushant October 26, 2016, 9:13 pm

    if you just do this ” show hidden files and folders” the private folders is seen

  • sanjay kumar November 20, 2016, 3:25 am

    password padne ke baad bhi folder run se search karane ke baad bhi khool ja raha hai

  • Dipika Nagtilak December 7, 2016, 11:26 pm

    thank u so much..i done this by following above steps..

  • JOESAM JOHN ZACHARIAH December 9, 2016, 1:45 am

    When copied the suggested macros, by mistake I didnt copy “goto FAIL” after the place to change the password. I created the Private folder, copied my files. Now I am not able to retrieve back my files. Suggest me what to do?

  • Kishan Vyas December 28, 2016, 5:04 am

    Thank you so very much. It works flawlessly…

  • Dhamodhar Reddy January 9, 2017, 6:42 am

    I have followed all the steps given and successfully created the password.. I kept all the date in the private folder long back ago.. Now I am trying to open that batch file it is showing “Windows cannot access the specified device, path, or file” error when you try to install, update or start a program or file”.. Could you please help me how can able to access this private folder again.
    Thanks in advance

  • apfoaw3829 May 16, 2017, 9:23 am

    That’s right. We can’t make a Password Protected Folder.

  • dudel August 14, 2017, 12:19 am

    works but when you click on locker once, text comes up on right hand side preview window showing code how to unlock it. am i doing something wrong??

  • Vincent William Rodriguez August 17, 2017, 4:56 am

    woow,this actually works!!

  • Myrna Taylor September 12, 2017, 4:39 pm

    convert it to an .exe file

  • kamjotpetjaay January 4, 2018, 9:40 am

    folder options-> file Explorer Options-> View-> show hide files, show system files

  • Andy Domsky January 29, 2018, 12:40 pm

    brilliant, thank you

  • amf May 11, 2018, 1:06 am

    hi may i know, why when i share the folder, but want open it at other pc i share, i cannot access for unlock folder, Can you guys help me to settle this?

  • Sanjay Kumar July 9, 2018, 4:54 am

    Anyone can open and see the password whatever it is there in that script.

    So this is not the correct way of coding :)

  • Tanmay Bala July 14, 2018, 7:28 pm

    you are great . very helpful code. thank you so much….

Leave a Comment