12/03/2011

Lock Folder Without any Software


Securing confidential and personal data is always considered as a sophisticated task. You can use freeware third party softwares like Axcrypt, Disguise Folders etc... to encrypt your data.

If somehow you can’t use these softwares (installation restrictions  ) then you can secure your data using notepad. This tric...k works in windows XP, Vista and Windows 7.

::Just do as i typed below::

  First Open Notepad [Start-->Run-->Notepad].

  In your Notepad just Copy/Paste the below code:
code :

cls
 :End
 @ECHO OFF
 title Folder Locker - Gstek
 if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD
-08002B30309D}" goto UNLOCK
 if NOT EXIST Locker goto MDLOCKER
 :CONFIRM
 echo Are you sure u 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 Locker "Control Panel.{21EC2020-3AEA-1069-A2DD
-08002B30309D}"
 attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD
-08002B30309D}"
 echo Folder locked
 goto End
 :UNLOCK
 echo Hello, Plz Enter ur password to Unlock folder:
 set/p "pass=>"
 if NOT %pass%==pradipchavda goto FAIL
 attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD
-08002B30309D}"
 ren "Control Panel.{21EC2020-3AEA-1069-A2DD
-08002B30309D}" Locker
 echo Folder Unlocked successfully
 goto End
 :FAIL
 echo Invalid password
 goto end
 :MDLOCKER
 md Locker
 echo Locker created successfully
 goto End

In the above batch code the password has been set as pradipchavda. You can always change it by editing the following line

Code: [Select]

if NOT %pass%==pradipchavda goto FAIL


Now save this notepad file as yourfoldername.bat

  Now a .bat (system) file will be created. Just double click on it you will see a Locker Folder at the same location where your .bat file is saved.

  Double click on that Locker folder and store your personal data in it.

  After storing all your data in that folder again double click on .bat file and press Y there to Lock the folder and press Enter.

  Now your Locker will hide and only .bat file will be there.

  Double Click on this .bat file and give your password (here gstek) and hit Enter.

That's it. Now every time you want to open your secret folder you have to enter the password. You can update this folder any time and infinite number of times.

No comments:

Post a Comment

If you're having issues, Please leave an email address I can contact you on -
I advise you to also "subscribe to the comment feed" and get email updates when I respond to your question.

Hyperlinks are not allowed, Spam/advertising comments will NEVER BE TOLERATED and will be deleted immediately!

Thanks for reading,
Admin