You are here
Home > Home > How To Lock A Folder Without Any Software Using Notepad

How To Lock A Folder Without Any Software Using Notepad

How To Lock A Folder Without Any Software Using Notepad

Many a times , it is required to protect certain sensitive data like bank account numbers or password etc. To do so, an obvious method would be to put all these information in a folder and put a lock in it. But here comes the problematic part , Microsoft Windows don’t have any provision to put a password on a folder. Using a software for this purpose is not a bad idea until the used software is not uninstalled because once the software is deleted , the locked folder is nothing less than waste.

ALSO READ :- Gorilla Glass 4 is simply better than Ever

Now, although you can’t really apply the password on the folder, Still you can lock it without any password. Confused? You should be …….

Steps To Lock A Folder Without Any Software :-

And now comes the fun part. Simply follow the steps and you can lock any folder without using any software in any windows, be it be Windows 7,8,8.1 or even Windows 10.

  • First of all, make a folder on Desktop and Name it anything you want say folder.
  • After it, open Notepad and type exactly same as follows:

ALSO READ :- Nokia N1 Official Specifications: Insight in Z launcher

[box type=”info” size=”medium” style=”rounded” border=”full”]

ren folder folder.{ED7BA470-8E54-465E-825C-99712043E01C}[/box]

  • Now, save this file as lock.bat. Remember that you have to save this file in the same location as that of the folder like in this case, folder to be locked is on desktop l, so the lock.bat file should also be saved on desktop.
  • After it, again open Notedpad and type the following in it :

[box type=”info” size=”medium” style=”rounded” border=”full”]ren folder. {ED7BA470-8E54-465E-825C-99712043E01C} folder[/box]

ALSO READ :- Upgrade or face risk: Microsoft to end support for Windows 2003 Soon

Save this file as key.bat and again save it on desktop.

  • Now, simply double click lock.bat and it will lock up your folder. Whenever anyone will try to open your folder, it will open up the control panel.
  • In order to access the data of the folder, simply double click on key.bat and your folder is unlocked.

ALSO READ :- WhatsApp now lets you disable read receipts In Latest Version

Users are advised to lock up the folder and then hide key.bat file somewhere else. And whenever you need to unlock the folder, simply copy key.bat file on desktop and double click it.

Have anything to add to this story, Say it in comments …..

Parth Kaushik
A Computer Science Student and Admin Of This Blog , Computer Enthusiast and a Coding Lover. On this blog, he is sharing some tech stuff and whatever interesting he is doing with computers and Internet. Read more:

Leave a Reply