PASSWORD LOCK FOLDERS WITHOUT ANY SOFTWARE (XP AND WINDOWS 7)

As we all use personal computers and save our very personal data in it.So it is important to protect your personal data from others.There are lots of methods that you can password protect your folder in windows but all these methods require the use of third party software.We provides you a whole new method of protecting your folder with password without any third party software.Follow the simple steps given below.
How to lock folder in xp or win 7


Step 1:
First you have to create a folder that will be the store house of your password protected folder.You can create this folder anywhere in the hard drive and named it anything you want

Step 2:
Now open that folder and create a new text document that can easily be done from context menu Its really easy,
Press right button of mouse > move to option New > Select New Text Document.

Step 3: Now open that new document and copy paste the following code in it

cls
 @ECHO OFF
 title Folder Private
 if EXIST "HTG Locker" goto UNLOCK
 if NOT EXIST Private goto MDLOCKER
 :CONFIRM
 echo Are you sure you want to lock the folder(Y/N)
 set/p "cho=>"
 if %cho%==Y goto LOCK
 if %cho%==y goto LOCK
 if %cho%==n goto END
 if %cho%==N goto END
 echo Invalid choice.
 goto CONFIRM
 :LOCK
 ren Private "HTG Locker"
 attrib +h +s "HTG Locker"
 echo Folder locked
 goto End
 :UNLOCK
 echo Enter password to unlock folder
 set/p "pass=>"
 if NOT %pass%== PASSWORD_GOES_HERE goto FAIL
 attrib -h -s "HTG Locker"
 ren "HTG Locker" Private
 echo Folder Unlocked successfully
 goto End
 :FAIL
 echo Invalid password
 goto end
 :MDLOCKER
 md Private
 echo Private created successfully
 goto End
 :End

Step 4:Now write your password which you want to set on the folder by replacing in the code (PASSWORD_GOES_HERE) and save this text document file as locker.dat

Step 5:When the locker.bat file is created you can delete the original text document file.

Step 6:Now when you double click the file locker.bat. It will create a folder called private.Now save your all private data in that folder and when you finish saving all your private data double click on locker.dat again

Step 7:
clicking on locker.bat again it will ask you that are you sure to lock this folder, Press the “Y” key and then hit enter to lock your folder.

Step 8:After hitting enter you will see that private folder will disappear automatically.

Step 9:Whenever you want to see your data again double click on locker.bat a command prompt window will appear and ask for the password.Enter the password that you set in the code and you will see that your private folder will reappear.

Alternative Way

Another way of protecting your folder with password without using any software in windows XP or windows 7 is very simple and effective one. Just follow these simple steps.

1: Your hard drive must be formatted using NTFS file system.

2: Right click on the folder which you want to protect with password and go to properties.

3: Click on sharing tab and check the box which says make this folder private.

4: When you click on the apply button and your account is not protected with password a new window will pop up for password protect that folder.

Thats how you can password protect your folder without using any third party software in window 7 and XP.


Post a Comment

0 Comments