Simple Folder Locker

200,137

28

136

Posted in PlayOffbeat

Introduction: Simple Folder Locker

UPDATE:

Sorry I haven't replied back to any of your comments guys. This is the
first time I've logged into this site in a long time. This instructable was something I made when I was in 8th grade. Yes I know my grammar is terrible and my spelling is even worse. This was just something I done for fun. It was never meant to be "secure or encrypted." Also this was only meant to work in Windows XP. I see that some of you have found ways to make it work in other OS and I think that's great. Most of your problems are probably related to using windows vista or windows 7. If you forgot your password just make another locker.bat and delete the old one. Just because you delete the locker.bat or locker.exe for those who converted it, doesn't mean you delete the folder where your files are stored. I will try to come back more often and respond to your comments and questions.

I'm going to show you how to make a simple folder locker by just useing note pad.

This is my first instructable so tell me what my mistakes were and how i can improve my next instructable.

Step 1: Open Up Notepad.

First you need to open up notepad. Go to start, run and type in notepad or go to start, all programs, accesories, notepad.

Step 2: Now Enter the Code

Now enter the code below into notepad, and put in your password that you want to use for the Folder Locker were it says YOUR PASSWORD HERE.

cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u want to Lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
pause
goto CONFIRM
:LOCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==YOUR PASSWORD HERE goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
pause
goto end
:MDLOCKER
md Locker
echo Locker created successfully
pause
goto End
:End

DONT FORGET TO PUT IN YOUR PASSWORD WERE IT SAYS YOUR PASSWORD HERE

Step 3: Save the Document

Now you need to save the document as File Locker.bat You must make sure that you have .bat at the end. This will save it as a batch file. Save it to the location were you want the Folder Locker to be.

Step 4: Now Just Open It.

Now just go to were you saved the Folder Locker and open it. It should make a folder called locker. To lock the Folder you need to open the batch file. It should ask you if you want to lock the folder, all you have to do is type Y for yes and N for no. and the folder should disapere. To unlock the folder just open the batch file again and enter your password.

Share

    Recommendations

    • Spotless Contest

      Spotless Contest
    • Microcontroller Contest

      Microcontroller Contest
    • Space Challenge

      Space Challenge
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    136 Comments

    Sorry I haven't replied back to any of your comments guys. This is the first time I've logged into this site in a long time. This instructable was something I made when I was in 8th grade. Yes I know my grammar is terrible and my spelling is even worse. This was just something I done for fun. It was never meant to be "secure or encrypted." Also this was only meant to work in Windows XP. I see that some of you have found ways to make it work in other OS and I think that's great. Most of your problems are probably related to using windows vista or windows 7. If you forgot your password just make another locker.bat and delete the old one. Just because you delete the locker.bat or locker.exe for those who converted it, doesn't mean you delete the folder where your files are stored. I will try to come back more often and respond to your comments and questions.

    it does not hides your any file, you can see it without opening the locked folder. for example in search press *.jpg, it will show all pics that you put in your locker.

    how to create bat file ? and also locker.bat

    i just reinstalled new window,the folder is opening but files are not opening,it is showing that you require permission to open it please reply fast. it is very important.

    1 reply

    .bat files require administrator privileges to open. There's no way to work around that unless you're using an adminstrator account.

    I have already been using this method from a long time now. But lately i am not able to open the folder using and neither i can see the folder after i enter the password. I tried deleting the batch file and creating a new one, but even that didnt help.
    The File gives an error:
    'attrib' is not recognized as an internal or external command,

    operable program or batch file.

    The system cannot find the file specified.

    Folder unlocked successfully.

    But I can't see the folder.
    Please help.

    sorry, hate to crash the party, but you can easily get the password by clicking edit on the folder locker. but still, I think its awesome

    if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
    :UNLOCK
    attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
    ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private
    echo Folder HACKED successfully
    pause

    JUST COPY THE ABOVE CODE AND MAKE A BATCH FILE AND WHEN YOU WANT TO OPEN THE PRIVATE FOLDER JUST COPY THIS BATCH FILE AND OPEN THIS!!

    Hey guys I have made a crack for this!!Sorry for that!!But that is easy!!

    @echo off
    color a
    title Private Folder cracker
    echo 1098 2587 6589 8926 6854 6259 3215 5698 6325 9874
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1548 9548 5249 9874 9655 9654 8996 6589 3269 3256
    echo 2548 6254 6984 2385 5684 6846 7954 6875 4985 7894
    echo 1549 5489 5648 5894 8746 6991 2314 9232 2565 4648
    echo 1285 2548 5249 5695 HACK 2365 6961 8865 6235 9649
    echo 1548 9548 5249 9874 9655 9654 8996 6589 3269 3256
    echo 1098 2587 6589 8926 6854 6259 3215 5698 6325 9874
    echo 2548 6254 6984 2385 5684 6846 7954 6875 4985 7894
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 2548 5249 5695 6987 2365 6961 8865 6235 9649 HACK
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1548 9548 5249 9874 9655 9654 8996 6589 3269 3256
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1098 2587 6589 8926 6854 6259 3215 5698 6325 9874
    echo 2548 6254 6984 2385 5684 6846 7954 6875 4985 7894
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1098 2587 6589 8926 6854 6259 3215 5698 6325 9874
    echo 1285 2548 5249 5695 6987 23H5 6961 8865 6235 9649
    echo 1548 9548 5249 9874 9655 96A4 8996 6589 3269 3256
    echo 1548 9548 5249 9874 9655 96C4 8996 6589 3269 3256
    echo 9548 5249 9874 9655 9654 89K6 6589 3269 3256
    echo 1548 9548 5249 9874 9655 9654 8996 6589 3269 3256
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 2548 6254 6984 2385 5684 6846 7954 6875 4985 7894
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 2548 5249 5695 HACK 2365 6961 8865 6235 9649
    echo 2548 6254 6984 2385 5684 6846 7954 6875 4985 7894
    echo 1548 9548 5249 9874 9655 9654 8996 6589 3269 3256
    echo 1098 HACK 6589 8926 6854 6259 3215 5698 6325 9874
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1548 9548 5249 9874 9655 9654 8996 6589 3269 3256
    echo 2548 6254 6984 2385 5684 6846 7954 6875 4985 7894
    echo 1549 5489 5648 5894 8746 6991 2314 9232 2565 4648
    echo 1285 2548 5249 5695 6987 HACK 6961 8865 6235 9649
    echo 1548 9548 5249 9874 9655 9654 8996 6589 3269 3256
    echo 1098 2587 6589 8926 6854 6259 3215 5698 6325 9874
    echo 2548 6254 6984 2385 5684 6846 7954 6875 4985 7894
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1285 2548 HACK 5695 6987 2365 6961 8865 6235 9649
    echo 1548 9548 5249 9874 9655 9654 8996 6589 3269 3256
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1098 2587 6589 8926 6854 6259 3215 5698 6325 9874
    echo 2548 6254 6984 2385 5684 6846 7954 6875 4985 7894
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1098 2587 6589 8926 HACK 6259 3215 5698 6325 9874
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1548 9548 5249 9874 9655 9654 8996 6589 3269 3256
    echo 1548 9548 5249 9874 9655 9654 8996 6589 3269 3256
    echo 9548 5249 9874 9655 9654 8996 6589 3269 3256
    echo 1548 9548 5249 9874 9655 9654 8996 6589 3269 3256
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 2548 6254 6984 2385 5684 6846 7954 6875 4985 7894
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1098 2587 6589 8926 6854 6259 3215 5698 6325 9874
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1548 9548 5249 9874 9655 9654 8996 6589 3269 3256
    echo 2548 6254 6984 2385 5684 6846 7954 6875 4985 7894
    echo 1549 5489 5648 5894 8746 6991 2314 9232 2565 4648
    echo 1285 2548 5249 5695 HACK 2365 6961 8865 6235 9649
    echo 1548 9548 5249 9874 9655 9654 8996 6589 3269 3256
    echo 1098 2587 6589 8926 6854 6259 3215 5698 6325 9874
    echo 2548 6254 6984 2385 5684 6846 7954 6875 4985 7894
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 2548 5249 5695 6987 2365 6961 8865 6235 9649 HACK
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1548 9548 5249 9874 9655 9654 8996 6589 3269 3256
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1098 2587 6589 8926 6854 6259 3215 5698 6325 9874
    echo 2548 6254 6984 2385 5684 6846 7954 6875 4985 7894
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1098 2587 6589 8926 6854 6259 3215 5698 6325 9874
    echo 1285 2548 5249 5695 6987 23H5 6961 8865 6235 9649
    echo 1548 9548 5249 9874 9655 96A4 8996 6589 3269 3256
    echo 1548 9548 5249 9874 9655 96C4 8996 6589 3269 3256
    echo 1548 9548 5249 9874 9655 9654 8996 6589 3269 3256
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 2548 6254 6984 2385 5684 6846 7954 6875 4985 7894
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1098 2587 6589 8926 6854 6259 3215 5698 6325 9874
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1548 9548 5249 9874 9655 9654 8996 6589 3269 3256
    echo 2548 6254 6984 2385 5684 6846 7954 6875 4985 7894
    echo 1549 5489 5648 5894 8746 6991 2314 9232 2565 4648
    echo 1285 2548 5249 5695 HACK 2365 6961 8865 6235 9649
    echo 1548 9548 5249 9874 9655 9654 8996 6589 3269 3256
    echo 1098 2587 6589 8926 6854 6259 3215 5698 6325 9874
    echo 2548 6254 6984 2385 5684 6846 7954 6875 4985 7894
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 2548 5249 5695 6987 2365 6961 8865 6235 9649 HACK
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1548 9548 5249 9874 9655 9654 8996 6589 3269 3256
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1549 5489 5648 5894 8746 6991 2314 9232 2565 4648
    echo 1285 2548 5249 5695 HACK 2365 6961 8865 6235 9649
    echo 1548 9548 5249 9874 9655 9654 8996 6589 3269 3256
    echo 1098 2587 6589 8926 6854 6259 3215 5698 6325 9874
    echo 2548 6254 6984 2385 5684 6846 7954 6875 4985 7894
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 2548 5249 5695 6987 2365 6961 8865 6235 9649 HACK
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1548 9548 5249 9874 9655 9654 8996 6589 3269 3256
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1098 2587 6589 8926 6854 6259 3215 5698 6325 9874
    echo 2548 6254 6984 2385 5684 6846 7954 6875 4985 7894
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1098 2587 6589 8926 6854 6259 3215 5698 6325 9874
    echo 1285 2548 5249 5695 6987 23H5 6961 8865 6235 9649
    echo 1548 9548 5249 9874 9655 96A4 8996 6589 3269 3256
    echo 1548 9548 5249 9874 9655 96C4 8996 6589 3269 3256
    echo 9548 5249 9874 9655 9654 89K6 6589 3269 3256
    echo 1548 9548 5249 9874 9655 9654 8996 6589 3269 3256
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 2548 6254 6984 2385 5684 6846 7954 6875 4985 7894
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 2548 5249 5695 HACK 2365 6961 8865 6235 9649
    echo 2548 6254 6984 2385 5684 6846 7954 6875 4985 7894
    echo 1548 9548 5249 9874 9655 9654 8996 6589 3269 3256
    echo 1098 HACK 6589 8926 6854 6259 3215 5698 6325 9874
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1548 9548 5249 9874 9655 9654 8996 6589 3269 3256
    echo 2548 6254 6984 2385 5684 6846 7954 6875 4985 7894
    echo 1549 5489 5648 5894 8746 6991 2314 9232 2565 4648
    echo 1285 2548 5249 5695 6987 HACK 6961 8865 6235 9649
    echo 1548 9548 5249 9874 9655 9654 8996 6589 3269 3256
    echo 1098 2587 6589 8926 6854 6259 3215 5698 6325 9874
    echo 2548 6254 6984 2385 5684 6846 7954 6875 4985 7894
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1285 2548 HACK 5695 6987 2365 6961 8865 6235 9649
    echo 1548 9548 5249 9874 9655 9654 8996 6589 3269 3256
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1098 2587 6589 8926 6854 6259 3215 5698 6325 9874
    echo 2548 6254 6984 2385 5684 6846 7954 6875 4985 7894
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1098 2587 6589 8926 HACK 6259 3215 5698 6325 9874
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1548 9548 5249 9874 9655 9654 8996 6589 3269 3256
    echo 1548 9548 5249 9874 9655 9654 8996 6589 3269 3256
    echo 9548 5249 9874 9655 9654 8996 6589 3269 3256
    echo 1548 9548 5249 9874 9655 9654 8996 6589 3269 3256
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 2548 6254 6984 2385 5684 6846 7954 6875 4985 7894
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1098 2587 6589 8926 6854 6259 3215 5698 6325 9874
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 1548 9548 5249 9874 9655 9654 8996 6589 3269 3256
    echo 2548 6254 6984 2385 5684 6846 7954 6875 4985 7894
    echo 1549 5489 5648 5894 8746 6991 2314 9232 2565 4648
    echo 1285 2548 5249 5695 HACK 2365 6961 8865 6235 9649
    echo 1548 9548 5249 9874 9655 9654 8996 6589 3269 3256
    echo 1098 2587 6589 8926 6854 6259 3215 5698 6325 9874
    echo 2548 6254 6984 2385 5684 6846 7954 6875 4985 7894
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 2548 5249 5695 6987 2365 6961 8865 6235 9649 HACK
    echo 1285 2548 5249 5695 6987 2365 6961 8865 6235 9649
    echo 2548 5249 5695 6987 2365 6961 8865 6235 9649
    if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
    :UNLOCK
    attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
    ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Private
    echo Folder HACKED successfully
    pause


    Note that the numbers like echo 2548 5249 5695 6987 2365 6961 8865 6235 9649 are only for hacking effects if you dont want them you can copy only the codes.

    when you want to unlock the folder of someone you just copy these codes in notepad and name it as folder hacker.bat and open it.

    Thank you!!

    Will this work on Windows 10?

    II DONT WANT TO GO PRO!

    Nice, It works perfectly, thanks!

    Please help!

    I created the bat file

    I enter my password

    I ran the bat file, never prompted me for a password or any screen it just hide the folder

    Now, i can unhide the folder....Please I need your help..Thank you very much

    Hi all... So I made a locker.bat file a few months ago. So someone deleted the entire folder with the locker.bat folder in it.. Is there any way to recover those items? I've tried Recuva & other programmes but no lock. PLEASE HELP.

    Even when i enter any password where it says YOUR PASSWORD HERE the folder opens even if i type any other text .. no sense of password