Lock A Folder Without using any Software

This trick has only been tested in Windows XP.

Suppose you want to lock the folder virus in D: which has the path D:\virus

In the same drive create a text file and type:

“ren virus virus.{21EC2020-3AEA-1069-A2DD-08002B30309D}” (Without the quotes)

Now save the text file as lock.bat 

Create another text file and type in it:

 “ren virus.{21EC2020-3AEA-1069-A2DD-08002B30309D} virus” (Without the quotes)

 Now save the text file as key.bat

Now you can see 2 .bat files. Lock.bat and key.bat Press lock and the folder “virus” will change to control panel and you won’t be able to view its contents. Press key and you will get back your original folder.

Enjoy… Thank You.

4 thoughts on “Lock A Folder Without using any Software

  1. Works perfectly. Of course if you really want to make it hard to unlock it the key and lock are not in the same folder as the locked item(should someone get curious)

    cd \
    cd [path]
    ren [filename] [filename].{21EC2020-3AEA-1069-A2DD-08002B30309D}

    with quotes around the [filename] should there be spaces in the name. I will have to test this on my vista rig once i get to it.

Leave a Reply

Your email address will not be published.