Home » Windows » How to Make Your Own Folder Locking Software For Free

How to Make Your Own Folder Locking Software For Free

by Mrinal Saha
0 comment

Why download others is Folder locking software? When you can make your software that can lock folder with the password and that too without writing a single piece of code.

lock

In this article, I will show how you can make our folder locking software. You can put all your personal stuff in this folder that you do not want others to peek in, and then lock the folder with password. This is useful when you have more than one user to your computer.

 Thighs that you will need

  • A computer running on windows o.s
  • Advance Bat to exe converter, freeware

Just follow this simple steps to make your folder locking software

1. Download Advance Bat to Exe converter, it’s a small exe file and completely free.

advance bat to exe
 2. Run and install the application on our system.
Applocker
3. Install the advance bat to exe Converter
Make Your Own Folder Locking Software
4. Click next, and you will see the screen like this when the application has been installed.
Make Your Own Folder Locking Software
5. Now copy these codes to the workspace as show in the image below.
:End
@ECHO OFF
title Folder Locker by RTT
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 Now this one is 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%==123456 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 Oops wrong password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End

It will look something like this

 

In this code the password is 123456, make sure you change it.

6. Click on the button as shown above to convert it this batch file into exe program. Now save this program as Mylocker and click save.

Make Your Own Folder Locking Software

 

7. When double-click on the Mylocker.bat file for the first time, a folder “locker” will be automatically created. Now simply drag and drop all your secret data inside this “Locker” folder that you want to hide from others.

 

 

How to lock the locker?

Once you have moved all your data inside the locker, double click on the mylocker.bat. It will confirm you if you want to lock the folder press “y” to confirm and hit enter. Your locker folder has now been locked and hidden.

How to unlock the locker?

This is again very simple, to unlock it double click on mylocker.bat and enter the password.

By default password is 123456. But you can change it by replacing 123456 (written in red) to your desired password. Congratulation if you have made your folder locking software, now no one can access your secret data without knowing the password.

Bonus Tips: 

  1. Sometimes it may show an error even when you enter the correct password, for that you can try restarting the system.
  2. Be careful with the mylocker.exe file, deleting it would cause you trouble.

 

You may also like

Leave a Comment