How To Password Secure A Folder Without Any Software

To secure a folder in a computer is sometimes very useful when we don’t want our friends or family members to touch some of our personal or important files stored in our laptop. The biggest problem happens we can’t Secure  our Windows password from our brothers, sisters or some other family members. So, in this case you can create a password to secure a folder on our Windows computer is very useful. 

Via this article, I’m going to guide you how to create a password to Secure a folder safe on Windows PC without using any software.

However, there are many software available on Internet for the same but they sometimes might be risky. If due to any reason the software gets deleted from your system, you might lose all your important files.

 

Steps To Create Password To Secure A Folder Without Any Software

 

Creating a password to secure a folder in Windows can be done by plenty of methods. Following are the steps for the simplest method ever.

Step 1:

Copy the following code and paste it to Notepad.

cls
@ECHO OFF
title Folder Private
if EXIST “AUI 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 “AUI Locker”
attrib +h +s “AUI Locker”
echo Folder locked
goto End
:UNLOCK
echo Enter password to unlock folder
set/p “pass=>”
if NOT %pass%== PASSWORD_GOES_HERE goto FAIL
attrib -h -s “AUI Locker”
ren “AUI Locker” Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End

 

MUST READ  15 Coolest Notepad Tricks And Hacks 

 

Step 2:

In the above code, replace the key PASSWORD_GOES_HERE with the password you want to use to unlock the folder. For example if you want the password to be 123456, the line should look like:

if NOT %pass%== 123456 goto FAIL

 

 

Step 3:

Once you’re done with the code, save this Notepad file in .bat format such as locker.bat. Make sure to change the Save as type: to All Files (*.*).

Save Locker File in Windows

 

 

Step 4: 

Now, double click the locker.bat file and a folder named “Private”will be created. You can put any of your important files that you want to password protect in this folder.

Private folder and Locker file

 

Step 5: 

It’s time to lock out this folder to password protect your important files. So, again double-click on locker.bat file and it will prompt you to answer are you sure want to lock this folder? Press Y and hit Enter. The “Private” named folder will be locked/hidden.

Lock private folder confirmation

 

 

Step 6:

Now, you would be thinking how you can get to that folder again. To do so, you need to double-click on the locker.bat file once again, and it will ask you to enter the password you chose in the code (Step 1 – Step 2). As soon as you’ll enter password, the folder will again be visible in front of you.

Unlock private folder Windows`

 

That’s all about creating a password to secure a folder in Windows computer without using any external software. But, still here’s one thing to be noted that this method isn’t secure enough.

MUST READ  How to Create Custom Keyboard For Windows Programs

NOTE:

Anybody can hack the password by simply opening the locker.bat file in the editor such as Notepad. So, it’s just a very unsafe way to protect your important files. If you just wanna hide folder and files from those who don’t know about this trick, you can go for it.

You may also like to see 20 Awesome Tips To Make Your Laptop Last Longer

If you find this post helpful, please leave a comment and share! 🙂

Prinze Tosine

Hi, am Prinze Tosine, a technologist based in Lagos Nigeria with a passionate heart of Blogging in any tech related matters . I derive fun in what i do, from blogging to web design, computer engineering etc.

5 thoughts on “How To Password Secure A Folder Without Any Software

Leave a Reply

Your email address will not be published.

error

Enjoy our blog? Follow Us