Browse By

How To Lock Your Folders Without Using any Software

Welcome back to,

Yes!!!!! 😀 this wonderful windows hack can lock your personal files/folders without the use of any folder lock software. 🙂

All you need to have is a notepad and follow the below steps:

  1. Go to the location where the folder you want to lock is located.
  2. Right click and select New Text Document and type in the following code
    and save it as lock.bat (replace <YOURFOLDERNAME> with folder name your locking)



3. Open another new text document and type in the following code and
save it as key.bat (replace <YOURFOLDERNAME> with folder name ur locking)

ren YOURFOLDERNAME.{21EC2020-3AEA-1069-A2DD-08002B30309D}


4.That’s it!! Now whenever you want to lock the folder double click loc.bat which converts your folder to control pannel and protects it from being accessed and when you want to unlock it then double click key.bat

Hope this Helps….


14 thoughts on “How To Lock Your Folders Without Using any Software”

  1. Jordan says:

    I must be doing it wrong. I tried it out and got the MS-DOS Batch file for both the lock and key but it wouldn’t lock the folder though. The files inside the folder were still able to be viewed.

  2. admin says:

    type the folder name properly and also the code it is working !!!!!!!!!!!!!!

  3. admin says:

    neglect “< " and ">” and write the code it is working

  4. Kittu says:

    hello friends,
    help me too,
    am also facing the same problem.

  5. Jordan says:

    So to lock to a folder, lets say the name is jyt, you type in

    ren jyt
    jyt.{21EC2020-3AEA-1069-A2DD-08002B30309D} and save it as lock.bat

    and to unlock it you type in

    ren jyt.{21EC2020-3AEA-1069-A2DD-08002B30309D}
    jyt and save it as key.bat

    is that how you type it in



  6. Raju says:

    very interesting tip 🙂
    I had written a post similar to this, do check it

  7. File Lock says:

    I use Folder Lock to secure my data,its the best security application.

  8. Startup says:

    Thanks. That was great, now where is the bookmark button

    1. Sunil Jain says:

      just click on share this 🙂
      Thanks 🙂

  9. Vinod says:


  10. Chetan says:

    This is not working…

Leave a Reply