How To Ideas | How To Articles | How To Tutorials


2

How To Lock A Folder Without Using Any Software


You have some important data in your Computer and don’t want anyone to access that. But as your computer is on the network and anytime anyone can access that data or your computer is also used by your friends or relatives whom you don’t want to give access to that data, then you might thinking about downloading a third party software to do that for you. But here is a trick that can be used to lock your folder temporarily until you do not unlock them. After unlocking no one will be able to access your data. Whenever any one try to open that folder, nothing will happen, even folder will not open.

alt

Instructions:

  1. For demonstration purpose, create a new folder on your desktop and name it as “MyFolder”.
  2. Now open any text editor like Notepad and then cope and paste the following lines of codes in that file
    @echo off
    ren MyFolder MyFolder.{2559a1f2-21d7-11d4-bdaf-00c04f60b9f0}
  3. Save it on the same directory where you have created that “MyFolder” i.e on the desktop for this example.
  4. You can name it anything you like, i will call this file lock.bat. You must select “All Files” for “save as type” while saving the file.
  5. This batch file will now lock your folder and makes it inaccessible to all including you.
  6. Now to unlock this file you have to create one more batch file which will be having code to unlock this folder.
  7. So create a new file and then copy and paste following lines of code in that file
    @echo off
    ren MyFolder.{2559a1f2-21d7-11d4-bdaf-00c04f60b9f0} MyFolder
  8. Save this file as well in the same location of your folder and name it anything, but make sure its extension must be .bat and you must check that “save as type” is “All Files” while saving the file.
  9. Now double click on this newly created file, and your locked folder will be accessible now.
  10. So, after locking the file, you must place the file, with code to unlock the folder, to some other location, so that when no-one finds that folder inaccessible and try to solve the problem and unlocking the folder for himself, he/she will not be able to have the code to that.

 

Incoming search terms:

  • how to lock a folder in windows xp without software (40)
  • how to lock a folder in windows 7 without software (17)
  • how to lock folder in windows 7 without any software (14)
Filed in: Notepad, Windows, Windows 7, Windows Vista, Windows XP Tags: , , , , , , ,

2 Responses to "How To Lock A Folder Without Using Any Software"

  1. Piranha says:

    it is not working

Leave a Reply

Submit Comment



© 6671 How To Ideas. All rights reserved.
Proudly designed by Theme Junkie.