News How to Create a Password Protected Folder Without Any...

How to Create a Password Protected Folder Without Any Extra Software

-

How to Create a Password Protected Folder Without Any Extra SoftwareThis article briefs you about how you can password protect a folder and its impact on strengthening your security and privacy. The tutorial will help you to assign a password to your folders without using any extra or third-party software.

Password protection is an essential measure that users usually ignore to save their work time, but later pay off by compromising the crucial data. Illegitimate data access, unusual file changes, frequent data corruption, and data theft, loss or leaks are some of the common issues that an unprotected folder may face. Users usually prefer to create password protected folder by using third-party software, but you can also do it by using a Text Document. By using the Text Document and batch file method, you can keep your folders hidden by employing a quick batch script. By adopting this protection method, you can easily restrict the illegitimate folder access and enhance your local file security substantially. People share computer or store their sensitive data that give rise to situations that force them to password protect a folder or lock it.

How To Password Protect A Folder?

1. Before starting the process, create a folder that will house your protected folder. To create the same, right-click anywhere on the system’s hard drive, select ‘New Folder’ from the drop-down, and name it (Master for this tutorial).

2. Navigate into your Master folder and create a new Text Document by using the context menu.

3. Now, open the document, and paste the following code as it is:
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 the 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

4. Change the ‘PASSWORD_GOES_HERE’ text to your desired password and save the file as locker.bat.

5. Once you’ve successfully created the batch file, delete the original Text Document.

6. Run your batch file by double clicking on it, and it will create a ‘Private’ folder, when you will use it for the first time. You can store all your secret things in the ‘Private’ folder and run locker.bat again, once you’ve added the desired files.

7. Your PC will prompt you with a message asking that are you sure that you want to lock the folder, Press the ‘Y’ key to confirm and hit ‘Enter’ to lock your folder.

8. You will now observe that your Private folder has disappeared. You can run the script again to see the password prompted.

9. If it asks for it, enter the same password that you’re created in the above-mentioned steps and the Private folder will reappear. The script will just terminate if you enter an incorrect password.

How to See the Password Protected Files Again?

You might not know how to show system files, but any tech geek can quickly figure it out in the Folder Options. To see these files again, uncheck the box for ‘Show hidden files, folders, and drives’ and uncheck the ‘Hide protected operating system files’ box. You are recommended not to panic like an ordinary user, who will probably get scared of the warning messages that appear when you uncheck the boxes. The other ways to open the password protected folder is through opening the batch file and entering your password.

Obviously, it is not one of the most secured ways to hide your files, but at least it can offer basic password protection to the content that requires privacy. Sometimes, you may feel worried, when you will realize that the password that you’ve assigned for the protected folder is not there in your memory, or you’ve forgotten it. If something like this happens, simply right-click on the ‘locker.bat’ file and choose the ‘Edit’ option. On selecting the ‘Edit’ option, you will see the password that you’ve set in an earlier phase, use it or change the same to something that you can easily remember.

How to Create a Password Protected Folder Without Any Extra Software
General Contributor
Janice is a writer from Chicago, IL. She created the "simple living as told by me" newsletter with more than 12,000 subscribers about Living Better and is a founder of Seekyt.

Latest news

Japanese Owl Meaning and Symbolism

If you're wondering about the Japanese owl meaning and symbolism in Asian cultures, the Owl, along with Maneki Neko...

What Are the Signs of Depression in Women

Gender and depression have long been the scope of research in the field of emotional disorders; most authors believe...

Top 7 Superfoods for Men to Stay Young

Superfoods are generally regarded as targeted foods that provide the maximum nutritional benefit - thus these foods are nutritionally-dense...

Best Brain foods for Kids – Boost Brain Power and Keep Sharp

A child's brain is developing rapidly and if you want them to improve their performance in school and their...

7 of the Best Brain Foods for Studying

The foods that you eat can improve the functioning of your brain. Just like drugs, foods have amino acids,...

B12 Shots for Dogs – 10 Key Benefits

The end of 2010, my little dog -- a 7-pound Papillon -- became very stressed after a flood in...

Must read

Request Free Catalogs Online

You can request free catalogs online if you...

Who Needs Computer Support In California?

Companies offering computer support in California are a...
- Advertisement -

You might also likeRELATED
Recommended to you