How To Tricks Windows

How To Create a Password Protected Folder Without Any Software

Most of us have some personal data or folder on our computer. But sometimes we may have to share our computer with friends or family and In this case we need to protect those data from them. Generally we used some 3rd party software or tools to protect our folder from unauthorized access on our computer.

But there is a way to create password protected folder without software and today in this article we are going to tell you how to create a password protected folder without any software. With the help of this method you will able to lock a folder on you USB drive. This is safe and not harmful for your PC so don’t get panic about it.

Read : How to create a fake computer virus

Steps to create password protected folder without software

Now follow the steps which is given below to create password protected folder without any software or tool.

  • Create a new folder and rename it which you like.
  • Now open this folder and Perform a Right click to create a new text document inside that folder.
  • Now copy the following code and paste inside the text file which you have created.

cls
@ECHO OFF
title Folder Private
if EXIST “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” 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 “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%== PASSWORD HEREgoto FAIL
attrib -h -s “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}”
ren “Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}” Private
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Private
echo Private created successfully
goto End
:End

  • In the above code PASSWORD HERE replace this with your password which you want to use to lock and unlock the folder.
  • After that save the text file as locker.bat. To do this make sure to change the Save as type to All Files (*.*).
  • Now locker.bat file is created and double click on that file.( you can delete txt file)
  • Now you will see a folder is created named as Private.
Private folder
  • Now put your data inside Private folder and exit.
  • Upon exiting, double click the locker.bat file again. You will see a CMD window is open and ask you Are you sure you want to lock the folder <Y/N>. Press Y and hit Enter and then the private folder will disappear.
press Y to lock
  • If you want to retrieve the Private folder, all you have to do is double click the locker.bat file and enter the password which you set and the folder will appear again for you to access.

That’s all and you are done.

Read: How to Fix Windows Explorer has stopped Working in WINDOWS 7/8/8.1

Conclusion

There are many ways to create password protected folder without software, but this method are very easy among them and can be done by anyone. We hope you enjoy this process. if you like this then share with your friends. However if you face any problem during this method then comment here or contact us and we will help you to get rid off.

10 Comments

Leave a Comment