lock folders without software

Did you know that a little txt file (saved to a .bat file) can lock any folder on your PC? Like if you wanted to hide some valuable data from somebody, you can easily do it! this text file doesn’t do the normal “hide file” but actually hides the file away even when you have the “show hidden files and folders” on the default control panel file options…

lock folders without software

Here is how to lock folders without any software:

Copy exactly this below (incl **)

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

Copy txt and paste it into notepad (start-> run-> Notepad.exe)

the line where it says “if NOT %pass%== type your password here goto FAIL”

type in your password there like this: if NOT %pass%==  Geniushackers.com goto FAIL

Save as blah.bat (file->save as) and exit notepad. Double click on blah.bat and you will see a new folder on your desktop called “Locker” Copy all the files you need to be hidden there. Double click on Blah.bat again, and it will ask you if you want to hide the folders, type in y and press Enter. to unhide, double-click blah.bat, type in your password and press enter

Finally you are done!

If you want to edit it like without saying

echo Enter password to Unlock folder
your boss may get suspicious,
Rather type in
echo What Is the answer?
Or something like that and say it is a game.

26 thoughts on “Lock Folders Without Any Software

  • June 13, 2012 at 4:05 pm
    Permalink

    Anyone can access the files just by enabling the “Show System files and folder” in folder options.

    Reply
  • June 23, 2011 at 12:08 pm
    Permalink

    its really gud bt if anybody delete the .bat file then??

    Reply
  • December 19, 2009 at 2:22 pm
    Permalink

    This is fucking crazy. What the code do is make the folder a system folder. Anyone can access the files just by enabling the “Show System files and folder” in folder options.

    Reply
  • November 29, 2009 at 12:12 pm
    Permalink

    satish you re the best

    Reply
  • August 3, 2009 at 5:17 am
    Permalink

    WOOOOOOOOOOOOOOO.>…………………….. Its godd & easy to use. Thans

    Reply
  • June 16, 2009 at 8:40 am
    Permalink

    I have tried it before . It is dangerous . There is no way to revive files without password .

    Reply
  • June 7, 2009 at 8:06 am
    Permalink

    hi bro,
    I was looking for a software which locks folder. I tried some softwares. But it is awesome.
    Thanks a lot

    Reply
  • April 5, 2009 at 7:31 am
    Permalink

    bro..
    i already made are folder lock and i already paste myfile to the locker folder..now,i change the password and i open the looker file..but the probb is All myfiles in the loker suddnly missing after i change my pass.HOW !

    Reply
  • March 4, 2009 at 2:32 am
    Permalink

    All my files in the locker are suddenly missing!
    OMG OMG.
    I’m panicking right now!
    HELP!?

    Reply
  • January 9, 2009 at 12:53 pm
    Permalink

    tried these coding alot but never worked out for me, now I am using Folder Lock to protect my files.

    Reply
  • December 25, 2008 at 7:06 pm
    Permalink

    Thanks a lot Geniushacker. What a great application it is!. I am a new fan of Geniushacker. Today I have come to informed about it from Google search.

    Jev Foester

    Reply
  • December 2, 2008 at 10:50 pm
    Permalink

    if anyone deleted that locker folder.I mean to say after lock the folder which named as locker..after doing this it shows control panel…no one knows the reason behind this if anyone deletes the folder all data will be lost..

    Reply
  • November 18, 2008 at 9:28 am
    Permalink

    can i change the folder name?

    Reply
  • August 16, 2008 at 12:48 pm
    Permalink

    Thanks dude this is awesome!! Thanks again

    Reply
  • July 27, 2008 at 12:22 pm
    Permalink

    Ok… let’s say another situation… what “if” the batch file was deleted and i forgot my password?

    Reply
  • July 27, 2008 at 12:49 am
    Permalink

    Clement,
    It’s very easy to recover your password:
    right click on the batch file -> edit

    the place where it shows

    set/p “pass=>”
    if NOT %pass%== type your password here goto FAIL
    attrib -h -s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”

    your password should be there, it doesn’t change at all

    Reply
  • July 26, 2008 at 3:50 pm
    Permalink

    What if you forgotten the password? anyway to recover back the folder?

    Reply
  • July 2, 2008 at 3:43 pm
    Permalink

    Its gr8 one more thing i want to ask that i have created my locker folder it worked many times but today onwards i found that whenever i want to hide that it doesnt works.always it ask the same question that you want to hide it. So i did it manually going through tool. but after that i dont know it doesnt unhide.and always my computer means antivirus ask for the permission for acces for net.
    Please guide in this regards

    Reply
  • July 2, 2008 at 3:27 pm
    Permalink

    Thanks bro.
    I was slightly confused on that you are really a genius.

    Reply
  • June 28, 2008 at 7:07 am
    Permalink

    Simple buddy
    Create a new batch file and you will be able to recover the folder if you remember the password.

    Reply
  • June 28, 2008 at 7:07 am
    Permalink

    Simple buddy
    Create a new bacth file and you will be able to recover the folder if you remember the password.

    Reply
  • June 24, 2008 at 5:46 pm
    Permalink

    Its great thought with great mind thanks for that.But what happens if someone delete blah file.Than how could it be recover.

    Reply
  • June 19, 2008 at 3:59 am
    Permalink

    I really likw the new geniushacker look.

    Reply
  • June 17, 2008 at 1:56 pm
    Permalink

    that is absolutely awesome…thanks bro

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.