Windows tips, Registry Hacks, Network security and Linux tips
RSS icon Email icon Home icon
  • Lock Folders Without Downloading any Software

    Posted on July 26th, 2008 admin 1 comment

    I have recently been talking about Hiding and Locking Folders

    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…

    Here’s how to lock folders on ur pc…

    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.

    If you liked this post, please buy me a coffee! Donations will be VERY much appreciated!

    Random Posts

     

    1 responses to “Lock Folders Without Downloading any Software” RSS icon


    Leave a reply