x32x01
  • by x32x01 ||
How To Create a Password Protected Folder in Windows
How To Create a Password Protected Folder in Windows
What is Password Protected Folder?
When using Windows file explorer all the files are easily accessible by anyone who can use your computer.some of us share the same computer with our family or roommates or colleagues and sometimes we have some confidential data that we want no one to access even if they have access to your computer.

To solve this problem we can create a password-protected folder in Windows that will be only accessible when someone enters the correct password. Using this easy method you will be able to hide anything no matter what format it is in.

How it will Work?
First, we will create a bat file. And when we will double click on it it will create a private folder after putting everything inside the private folder we will again double click on the bat file and it will prompt you to confirm if you wanna hide the folder or not? Then you can press y and the folder will be hidden in 5 seconds. Whenever you want to access your private folder you just have to double-tap on the bat file and it will ask you for the password if you enter the correct password you will be able to see the private folder.

How to Create The Password Protected Folder?

Step 1 :

First, open the file explorer and select the location where you want to create a private folder. keep This in mind that a bat file will always be visible there so choose a folder that no one visits very often. Like C drive (if your disk has partitions).
step1Open the file location.jpg
Step 2 :
Open Notepad and paste the code given below. Please make sure to paste the entire code if you will miss anything this does not work.
Code:
Quote:
Quote: 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 goto 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
step2.jpg
Step 3 :
Replace the text password in the code with your password to find which part you should edit you can see the below picture. Just put your password at that place.
step3.jpg
Step 4 :
Press control s name this file as anyname.bat and make sure to save in your chosen directory which in my case is C drive.
4.jpg
Step 5 :
Now double-click on the bat-file that you have just created and you will be able to see a folder named "private" in the same directory. now put everything that you want to hide inside that private folder.
5.jpg
Step 6 :
Now click on the bat-file again and it will ask you "are you sure you want to lock the folder (y/n)", just press Y on your keyboard and press Enter. And the folder will disappear in less than 3 seconds.
6.jpg
Step 7 :
To unlock the Private folder again, double-tap to the bat file and it will ask you for the password. just type your password and press enter and you will be able to see the private folder where everything is hidden.
7.jpg
How to See the Password if someone Else is using this method?
Now, did you forgot the password you have just used to lock your folder? You can right-click on the bat file and then click on edit and in the code, you can always find your password. And you can always use this method to access anyone's private folder if anyone is using this trick to hide their files. And to avoid anyone accessing your private folder make sure to hide your .bat file in some really Deep folder.
see hidden pass (2).jpg
Conclusion:
This is an easy method to hide files in the Windows system and it only takes 1 minute to fully set up it. the only thing that you have to keep in your mind is to hide the .bat file in somewhere deep in your harddisk.if you have any questions about this then you can comment down below. if you wanna know more such tricks then make sure to follow this page.
 

Similar Threads

x32x01
Replies
0
Views
57
x32x01
x32x01
x32x01
Replies
0
Views
42
x32x01
x32x01
x32x01
Replies
0
Views
65
x32x01
x32x01
x32x01
Replies
0
Views
87
x32x01
x32x01
x32x01
Replies
0
Views
330
x32x01
x32x01
TAGs: Tags
create a password protected folder password protected folder

Register & Login Faster

Forgot your password?

Latest Resources

Forum Statistics

Threads
514
Messages
515
Members
42
Latest Member
Mustafa123
Back
Top