Create a simple folder lock without using any software

Want to hide your ‘really’ private data ? but reluctant to use professional softwares ? I can understand you situation..likeCreate a simple folder lock without using any software  me,you dont have a penny in your pocket (and just in case you have,you don't want to spend a dime) or you are bitten by the knowledge bug and wanna learn on how to do it the raw way. You have 2 viable options,either go for warez,or continue reading this tutorial on how to hide your data by creating a near inaccessible folder.

Here is how to do that -

Create a new folder,rename it to a simple name like xero.
Now go to its properties,and choose a sprite less icon,which is next to a Yellow lock icon in third row.choose a sprite less iconChoose it,click OK and now folder will have no icon,literally invisible.Now to make it almost inaccessible,we must use some Batch renaming technique.

Create a new text file in the same drive next to the folder and type this command statement into it-

ren xero xero.{b5946137-7b9f-4925-af80-51abd60b20d5}

type this command statement exactly

Now save this text file as lock.bat. Similarly create another text file and type this command statement into it-

ren xero.{b5946137-7b9f-4925-af80-51abd60b20d5} xero

type this command statement exactly

Save this text file as lock.bat . Lock.bat will be used to make the folder inaccessible and Key.bat will be used to revert it into its original form.

What we have done here,is that we have renamed the folder with a random CLSID,which will change its identity into something else sing DOS. ‘CLSID’ is a unique registry-identifying component that is used to identify an ActiveX control or in simple language,it identifies which file/control will be opened by which program in Windows. I have determined the CLSID by opening registry editor and searching for “CLSID” and choosing any random value like {b5946137-7b9f-4925-af80-51abd60b20d5} which I m using here.

Some common CLSID’s are -

  • Recycle bin - 645FF040-5081-101B-9F08-00AA002F954E
  • Control panel - 21EC2020-3AEA-1069-A2DD-08002B30309D
  • Run - 2559A1F3-21D7-11D4-BDAF-00C04F60B9F0
  • Search - 2559A1F0-21D7-11D4-BDAF-00C04F60B9F0
  • Connect To - 7007ACC7-3202-11D1-AAD2-00805FC1270E
  • Briefcase - 85BBD920-42A0-1069-A2E4-08002B30309D
  • Help - 2559A1F1-21D7-11D4-BDAF-00C04F60B9F0
  • Fonts - D20EA4E1-3957-11d2-A40B-0C5020524152
  • Cameras and Scanners - E211B736-43FD-11D1-9EFB-0000F8757FCD
  • My Network places - 208D2C60-3AEA-1069-A2D7-08002B30309D

Sorry for a little diversion,but I thought that was necessary. Now you have created the files,just double click the lock.bat file to make the folder inaccessible. Now the folder is invisible and also it cant be accessed by anyone.

But still,it has a name. So,in order to completely hide it, Rename it and enter an ASCII code by pressing ALT+0160  which will enter a null character in place of name and it will have No Name.

Now we have a completely hidden and inaccessible folder.

Congrats..Now you have created an inaccessible folder. To access it,just rename the folder into its original name and then click on key.bat . Now make sure to place the folder in a secure location and place lock.bat and key.bat in different locations . This simple folder lock is very effective as no one has idea that You can create it (sarcasm..again :P) .

Use some creativity and you can make that folder 100% inaccessible by encrypting it. I gave you a hint,find your own way :)




  1. very nicely executed :). i love your posts

  2. err... both text files are named lock.bat according to the instructions.. I'm assuming that the second should be key.bat?

  3. it can be unlock.bat since its rolling back your file

  4. i can open the file with out need any password

    first go to command fornt and type

    ren "Recycle bin.{645FF040-5081-101B-9F08-00AA002F954E}" foldername


Need to say something ? Spell it out :)