Tutorial:Locking Windows Folders without any Software Tool

Lazz and Marcel from Germany have dropped in a mail to Technofriends, asking for a trick/tutorial on locking any Windows folder without using a software like FolderLock.

I am putting below the entire steps to achieve this task.

In this entire tutorial post, I am assuming that the name of the folder is HideMePlease and its located in D Drive, thereby making the path to the folder as
D:\HideMePlease

The trick is pretty simple,Rename the folder ( in our case HideMePlease) to HideMePlease.{21EC2020-3AEA-1069-A2DD-08002B30309D}.The renaming of the folder this way makes windows point the folder to Control Panel. This happens because of the internal pointer address in windows for Control Panel.

When this renaming of the folder is done, windows by default makes it point to the control panel. Upon clicking on the folder after renaming, Control Panel is displayed.

To get your folder back to the original one, rename it back to HideMePlease.

In order to make the entire process simple and clean, i would suggest that you make two batch files (files ending with .bat extension). One file for hiding/locking the folder; the other for getting it back/unlocking it.

1.) The batch file for hiding the folder can be named as:
Hide.bat
2.) Open notepad/your favorite text editor and type in this
//THIS FILE SHOULD BE PLACED IN d:\
REN HideMePlease HideMePlease.{21EC2020-3AEA-1069-A2DD-08002B30309D}

3.) The batch file for unlocking the folder can be named as
Recover.bat
4.) Open notepad/your favorite text editor and type in this
//THIS FILE SHOULD BE PLACED IN D:\
REN HideMePlease.{21EC2020-3AEA-1069-A2DD-08002B30309D} HideMePlease

Thats it.

Do let me know if you found this tutorial interesting.
Cheers,
Vaibhav

Advertisements

17 Responses

  1. Hey Vaibhav

    I tried it out on Disc F and it works fine….How does this operation work? Actually we are not locking the folder but, redirecting the users to the control panel right?

    Is it necessary that we should place the .dat files in the same disc itself?

  2. Hi Jobin,
    Yes, it will work fine irrespective of the drive. Also, its not important to place the .bat file in the same disc.The only thing that you should remember is that Windows by deault will try to rename the folder in the same disc. If you wish to do it from some other disc, just add a CD DISCNAME:FOLDERNAME command as the first line of the .bat file.
    hope this helps.
    cheers,
    Vaibhav

  3. That was a good one Vaibhav !!!
    Nice to try such things in office when u really get bugged and tired with the programming issues 😉 … it provided a refreshment for me … 😀

    ~ Shantanu

  4. Thanks Shantanu.

    Cheers,
    Vaibhav

  5. Just so that people don’t get to thinking that this is a secure way to hide your data, on a laptop, for example, be aware that if someone boots your machine with a Linux live CD, like Knoppix or PCLinuxOS, they will be able to see the contents of that folder without any problem whatsoever. Oh, and if your little brother does that in your computer, he will be able to see everything you got in it, and leave no trace of him ever having done it.

  6. Can this be done in a folder thas is NOT in D:\??
    for example D:\Folder\music\rock ???

  7. Hi Luistohe
    Yes you can do this for any folder path. Just change the path accordingly and follow the steps mentioned in the post
    Cheers,
    Vaibhav

  8. Thank you for sharing!

  9. Its a great acheivment.But it has not any security If any body rename that file to any name they can access that and also they can delete that file.

  10. hi vaibhav,
    this is so nice, i want to know more thisngs in the field of ethical hacking,becos i have an special interst in it plez. sujest some thing.

    thanks!

  11. Thanks Rahul. I shall be posting more on ethical hacking soon.
    Cheers
    Vaibhav

  12. We Can Easily Hack This Tool
    Open notepad And PAste the Following Code
    REN .{21EC2020-3AEA-1069-A2DD-08002B30309D}. hidemeplease
    and save it as Unlock.bat
    And Run It
    Woww You Got The Folder

    So you can make Nice Folderlock Softwares

  13. We Can Easily Hack This Tool
    Open notepad And PAste the Following Code
    REN .{21EC2020-3AEA-1069-A2DD-08002B30309D}. hidemeplease
    and save it as Unlock.bat
    And Run It
    Woww You Got The Folder

    So you can make Nice Folderlock Software
    Sorry For my English

  14. […] Also read: [How-To] Locking Windows Folders without any Software Tool […]

  15. What an interesting post man! Seriously too cool and refreshing. Thanks!

    Veerender

  16. Dear sir,
    I tried it but its not working. now i m not able to open my folder. please guide me

  17. Same as above it is lock and renaming doesn’t work!!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: