Subscribe For Free Updates!

We'll not spam mate! We promise.

Monday 30 September 2013

How to Lock Files and Folders without Installing any Third Party Application on Your Computer

It is sometimes advisable to lock your personal data if you share your PC with your friends, family of colleagues. One of the solutions is to hide your personal files and folders in your PC. But what if the partner users of your PC know how to make hidden files and folders shown? The problem of privacy protection remains
unsolved. It is better to protect your personal data with password security. There are many applications which allow the user set password on a file or folder but these applications are not good in term of simplicity and attraction for the user. So, there must be a method to lock files and folder without installing any third party application.
I searched for this kind of method on the internet. After tremendous indulgent with various boring and undesirable contents and methods, I finally found a solution. This method is quite easy and simple.
Here is step by step procedure to create your own locker for personal data security

Open “notepad”  in your computer and paste the following code into 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%== pakistan753 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
Save the file as is shown in below pictures



Save the file at the location you want. When you will click on this newly saved batch file, a folder named "private" will be created at the same location. Move all your private data in this private folder.
Then click on the batch file again and a cmd window will open as shown in picture


type "y" and hit "Enter"

You will see that the "private" folder disappears. Don't fear, that folder will again appear when again click on batch file. when you click on batch file again the following window will open to let you enter your password



 Type your password that is "12345" and hit enter. You will see that "private" folder instantly appears.

click on "private" folder to open it. Your personal data is present there. To lock the folder again exit "private" folder and click on the batch file. A cmd window will open. Type "y" and press "enter". Your "private folder disappears again.

To change your password, right click on batch file and select "edit" it will open in notepad. from there change your password.


Delete your current password which are "12345" and type your own password and save the file.
That's all...........
Note:
This method is not yet completely secured and satisfactory. in Windows 7, the files and folders you had put in "private" folder may appear in search results and one can access this data from search outputs. Anyhow, when you also hide the data in "private" foldrer, it is not indexed in search result and one cannot access it through search outputs. The problem still remained unsolved if your partner users of your PC set the settings for hidden files to be shown.

Socializer Widget By Blogger Yard
SOCIALIZE IT →
FOLLOW US →
SHARE IT →

0 comments:

Post a Comment