Thursday

PASSWORD PROTECTION FOR FOLDER WITHOUT INSTALLING ANY SOFTWARE

Everyone stores their important files in their PC or any other storage devices, which are not likely to be accessed by others. We have many software's to protect those saved private files. But some of us don't want and like to install any software's and drain our memory for those kinda things. Some software's are not compatible with some versions of Operating system and some software's are very costly to buy. So to overcome those kind of flaws by using simple program in your device to protect our data.


By following below steps keenly one can secure his/her files and information in a folder with the help of a password and can access them whenever you want without any software's being installed in your system.

Steps to be Followed to Provide Password Protection to Folder without any Software:

WHAT TO DO?

First type the following program in a notepad and save it as ".bat" file extension.

For example: "filename.bat".

Cls
@ECHO OFF
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST MyFolder goto MDMyFolder
:CONFIRM
echo Are you sure to lock this 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 MyFolder "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 Your Secure Folder
set/p "pass=>"
if NOT %pass%== password goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" MyFolder
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDMyFolder
md MyFolder
echo MyFolder created successfully
goto End
:End

WHAT HAPPENS NEXT ....

It creates a file with a name given by you. When you open it, it will ask for a password then type "password" (it is case sensitive) because I have set "password" as the default password (you can modify it). A folder named "MyFolder" will be automatically created. Then copy the files you want to secure into that folder. Then lock that folder.

HOW TO LOCK THAT FOLDER?

After copying your files into "MyFolder" then follow below instructions.
  1.  Click on the program folder (icon with gear symbol).
  2. Then it will prompt a window with a message "Are you sure you want to lock the folder(Y/N)".
  3. Type "Y" (case sensitive).
  4. Then after refreshing screen "MyFolder" will be disappeared automatically.
  5.  You can access that folder by typing the password.

HOW TO OPEN THE LOCKED FOLDER?

  1. Click on the program folder (icon with gear symbol).
  2. Then it will prompt a window with a message "Are you sure you want to Unlock the folder(Y/N)".
  3. Type "Y" (case sensitive).
  4. Then "MyFolder" will automatically get displayed on the screen, from whihc you can access the secured files.

HOW TO CHANGE THE PASSWORD?

Here, in the above placed code the default password is set as "password" but it can be changed as you need. In order to change the password.....
  1. Go to Notepad (i.e., which contains the source code).
  2. After opening the program. In line no: 23 i.e., "if NOT %pass%== password goto FAIL".
  3. Replace "password" with your desirable keyword as the password and repeat the above process again to secure your files and information.

CHECK THIS VIDEO FOR PROCEDURE:

0 comments:

Post a Comment