For Electronic Projects:: //------website------// & //------Blog------//

Friday, December 7, 2012

How To lock and keep a password to a Folder without any Software in Windows 7, Windows XP


Although there are some trail versions available of folder lock software but these all come with an expiry period. So these can’t be used after some time. But by using the steps explained here, you will be able to create a folder which can be locked by password. All the data placed in this folder will be password protected. So you can place all data which you want to hide from other users in this folder. This method works 100% on all versions of Microsoft Windows operating system.
Just follow the simple steps given below:-


1. Open Notepad on your computer.

2. Paste the following code in Notepad
****************************************************************************
cls
@ECHO OFF
title Folder Locker
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 Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==YOUR PASSWORD HERE 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
:End
******************************************************************************



3. Change the text YOUR PASSWORD HERE in the above code with password of your choice.

4. Save As the document as SUPERMAN.bat. Just add .bat after file name like SUPERMAN.bat You
    can assign any name instead of SUPERMAN as per your choice.

5. Double click on SUPERMAN.bat file saved in above step.
    This will generate a folder named Locker just besides the SUPERMAN.bat file.

6. Place all the content in this Locker folder which you want to hide from other computer users.
    After placing all the content which you want to hide, just double click on SUPERMAN.bat file.

7. This will prompt for your permission to lock this folder. If you want to lock that folder, type Y otherwise
     type N and hit Enter.


8. Locker folder will disappear.

9. Whenever you want to see the content hidden in locker folder, just double click on SUPERMAN.bat
     file.This will prompt you to enter password assigned in earlier steps.



10. Just put the password and hit Enter.
      Locker folder will appear again. Open Locker folder to see the content contained in it. You can add
      more content which you want to hide.

NOTE:-
1. It is unable to create TWO or MORE locker folders in the same location.
2. If you want to create TWO or MORE locker folders, then copy the SUPERMAN.bat file to the another
    locations that where you want to create another locker folders.
3. If you copy this file, then the password of all the locker folders is same.
4. If you want to keep different passwords for different locker folders, then you want to copy the code
    shown in step-2 and replace the YOUR PASSWORD HERE with the password of your choice and save
    the SUPERMAN.bat file to the location where you want to create locker folder. like this you can create a 
    locker folders with different passwords.
5. Don't delete the SUPERMAN.bat file when the locker folder is locked. If you delete that file, you can
    again unlock that folder by creating new SUPERMAN.bat file in that location and unlock the folder with
    'new SUPERMAN.bat file's password'.

*6. If u get confused with above points, then try this:
       Create a single SUPERMAN.bat file and save it in a safe location. when you want to create a locker
       folder in a particular location, then you copy the SUPERMAN.bat file from safe location to that
       particular location and create a folder. After create and lock the folder, delete the SUPERMAN.bat file
       from that particular location. Again when you want to unlock the folder of particular location, copy the
       SUPERMAN.bat file from safe location to that particular location and unlock the folder.

So Hide your all valuable data in a password protected folder on your computer without any software on all versions of Windows computers. Don’t forget to join and subscribe my posts of this blog.

6 comments:

  1. Thanks. You help me a lot.

    AirĂ¹n Alcoverro. ;o)

    ReplyDelete
  2. darling by using cmd promt tho locker un locker create chesi folder nii hide cheyochu kada inka intha code avasaram antava
    ur blog was superb i like it

    ReplyDelete
    Replies
    1. darling see this link to lock and unlock folder with command prompt.
      http://deepu007info.blogspot.in/2012/12/folder-lock-without-any-software-in-xp.html

      Delete
  3. But you can easily find the password and can change it .... by right clicking then edit (or) open with notepad..... Any one can not only see the password but also can change.....

    ReplyDelete
    Replies
    1. other users don't know about this file unless they click on it.. but, usually most of the users won't click on such a type of files.

      Delete