Team OS : Your Only Destination To Custom OS !!

Welcome to TeamOS Community, Register or Login to the Community to Download Torrents, Get Access to Shoutbox, Post Replies, Use Search Engine and many more features. Register Today!

Tutorials How To Password Protect a Folder in Windows 10

vdogeek

🤴 Super Admin
Uploader
Downloaded
93.5 GB
Uploaded
56.4 TB
Ratio
618.38
Seedbonus
8,571,725
Upload Count
1199 (1205)
Member for 9 years
THIS IS NOT MY WORK, USE AT OWN RISK!
We all have computer files we'd like to keep secret from the world. Fortunately, in Windows 10,
you can tuck those unmentionable plans or files in a secret folder that is password protected, and you can do it without buying any additional software.
jyMht.png

A note before you start:
We've received comments about issues people have run into with this how-to. So, we went back and performed multiple rounds of testing internally,
and can now confirm that following this process closely, step-by-step, should work.
Just to be safe, try it out once using a file that isn't important, so you can make sure it works for you.
Also, yes, the FolderLocker file can be reverse engineered by someone who understands the process, but this isn't meant to keep tech-savvy folks out, just nosy family members who you don't trust.
Here's how to create a folder that you can fill with files you want to keep secret, lock it, open it and repeat.

Let's Get Started!
How To Lock a Folder With a Password in Windows 10
1. Right-click inside the folder where the files you want to protect are located. The folder you want to hide can even be on your desktop.
jyeIJ.png

2. Select "New" from the contextual menu.
jyYl8.png

3. Click on "Text Document."
jycgD.png

4. Hit Enter. It doesn't matter what the file will be named. You can delete this text file once the lockable folder has been made.
jymS5.png

5. Double-click the text file to open it.
jyL6g.png

6. Paste the below text into the new document:
jyVzm.png

cls
@echo OFF
title Folder Locker
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 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%==Your-Password-Here 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 Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End
7. Find where it says "Your-Password-Here" in the document.
jywYA.png

8. Replace "Your-Password-Here" with the password you want to lock the folder with.
jyDNR.png

9. Click File.
jyjQe.png

10. "Select Save As..."
jylTU.png

11. Click on the "Text Documents (*.txt)" menu bar that's next to "Save as type:"
jyCJq.png

12. Select "All Files"
jytln.png

13. Change the file name to "FolderLocker.bat"
jybkQ.png

14. Click "Save."
jyE6W.png

15. Double-click FolderLocker.
jyNsh.png

The Locker folder has been generated!
jy4no.png

16. Fill the Locker folder with the items you want to protect
jypzr.png

17. Double click to open the FolderLocker file, because it's time to lock that folder up!
jy3Yj.png

18. Type "Y" into the screen.
jySQH.png

19. Click Enter, and the Folder Locker window will disappear, along with the Locker folder itself! Your secrets are safe!
jyMht.png

To unlock the folder, double-click "FolderLocker" to open it.
jysTV.png

Enter the password you entered in Step 8, and click Enter.
jy1tK.png

jy5Js.png

The Locker folder is back. You can open it to find your hidden files. Repeat Steps 17, 18 and 19 to lock the folder again.
jyHkc.png



If these steps are followed carefully...it works perfectly! I use it at work :p
 

Hawkeye

Uploader
✅ Verified Member
Member
Downloaded
31.7 GB
Uploaded
23.6 TB
Ratio
763
Seedbonus
200,331
Upload Count
216 (218)
Member for 7 years
nicely explained also i see you used the nice new prefix too lovely :rock:
 

Mirkec

Uploader
Power User
Windows Modifier
✅ Verified Member
Member
Downloaded
57.6 GB
Uploaded
16 TB
Ratio
285.11
Seedbonus
329,011
Upload Count
83 (96)
Member for 6 years
@vdogeek it is good to see you in action. It is good to know for everyone. Thanks for elaboration professor ;)
 

icloudsr

Member
Downloaded
46.2 GB
Uploaded
169 GB
Ratio
3.66
Seedbonus
94
Upload Count
12 (12)
Member for 7 years
@vdogeek nice info mate. it just changed the folder attribute to "system folder" and "hidden folder". if we enabled hidden and system folder in explorer option, there is no use. anyway thank you.:)
 

orion999

Member
Downloaded
50.7 GB
Uploaded
157.8 GB
Ratio
3.11
Seedbonus
607
Upload Count
0 (0)
Member for 6 years
love it... thanks very much..

On another note. How do you reverse engineer the process just in case you forget the password.

Again - great tutorial - cheers
 

vdogeek

🤴 Super Admin
Uploader
Downloaded
93.5 GB
Uploaded
56.4 TB
Ratio
618.38
Seedbonus
8,571,725
Upload Count
1199 (1205)
Member for 9 years
love it... thanks very much..

On another note. How do you reverse engineer the process just in case you forget the password.

Again - great tutorial - cheers
I suggest you ...Don't Forget it! :)

I've not had to do any reversal on mine yet
 

Ennodad

Member
Downloaded
23.4 GB
Uploaded
6.7 GB
Ratio
0.29
Seedbonus
65
Upload Count
0 (0)
Member for 7 years
THIS IS NOT MY WORK, USE AT OWN RISK!
We all have computer files we'd like to keep secret from the world. Fortunately, in Windows 10,
you can tuck those unmentionable plans or files in a secret folder that is password protected, and you can do it without buying any additional software.
jyMht.png

A note before you start:
We've received comments about issues people have run into with this how-to. So, we went back and performed multiple rounds of testing internally,
and can now confirm that following this process closely, step-by-step, should work.
Just to be safe, try it out once using a file that isn't important, so you can make sure it works for you.
Also, yes, the FolderLocker file can be reverse engineered by someone who understands the process, but this isn't meant to keep tech-savvy folks out, just nosy family members who you don't trust.
Here's how to create a folder that you can fill with files you want to keep secret, lock it, open it and repeat.

Let's Get Started!
How To Lock a Folder With a Password in Windows 10
1. Right-click inside the folder where the files you want to protect are located. The folder you want to hide can even be on your desktop.
jyeIJ.png

2. Select "New" from the contextual menu.
jyYl8.png

3. Click on "Text Document."
jycgD.png

4. Hit Enter. It doesn't matter what the file will be named. You can delete this text file once the lockable folder has been made.
jymS5.png

5. Double-click the text file to open it.
jyL6g.png

6. Paste the below text into the new document:
jyVzm.png

cls
@echo OFF
title Folder Locker
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 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%==Your-Password-Here 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 Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End
7. Find where it says "Your-Password-Here" in the document.
jywYA.png

8. Replace "Your-Password-Here" with the password you want to lock the folder with.
jyDNR.png

9. Click File.
jyjQe.png

10. "Select Save As..."
jylTU.png

11. Click on the "Text Documents (*.txt)" menu bar that's next to "Save as type:"
jyCJq.png

12. Select "All Files"
jytln.png

13. Change the file name to "FolderLocker.bat"
jybkQ.png

14. Click "Save."
jyE6W.png

15. Double-click FolderLocker.
jyNsh.png

The Locker folder has been generated!
jy4no.png

16. Fill the Locker folder with the items you want to protect
jypzr.png

17. Double click to open the FolderLocker file, because it's time to lock that folder up!
jy3Yj.png

18. Type "Y" into the screen.
jySQH.png

19. Click Enter, and the Folder Locker window will disappear, along with the Locker folder itself! Your secrets are safe!
jyMht.png

To unlock the folder, double-click "FolderLocker" to open it.
jysTV.png

Enter the password you entered in Step 8, and click Enter.
jy1tK.png

jy5Js.png

The Locker folder is back. You can open it to find your hidden files. Repeat Steps 17, 18 and 19 to lock the folder again.
jyHkc.png



If these steps are followed carefully...it works perfectly! I use it at work :p


awesome info dude
keep up the good work
waiting for more
 

mak220

Member
Downloaded
201.3 GB
Uploaded
573.2 GB
Ratio
2.85
Seedbonus
377,745
Upload Count
0 (0)
Member for 10 years
THANKS
GRATE ONE
 

SiteWizard

Uploader
Power User
✅ Verified Member
Member
Downloaded
229.1 GB
Uploaded
31.1 TB
Ratio
139.15
Seedbonus
651,490
Upload Count
12 (12)
Member for 9 years
@vdogeek nicely done my friend :)
a good tutorial for the ones that do not know this :)

i do not have to hide folders / maps for my Boss because i do not have a Boss (lol)
 

activator11

Member
Downloaded
13.1 GB
Uploaded
5 GB
Ratio
0.38
Seedbonus
53
Upload Count
0 (0)
Member for 5 years


you can reverse engineer it .right click on the folder locker(.bat file) select edit and then see where you had put the password , edit it and save the (.bat file) again by pressing ctr+s.
hope it helps :)
 

Uncle Mac

🤴 Super Admin
Downloaded
91.3 GB
Uploaded
305.8 TB
Ratio
3428.86
Seedbonus
3,465,381
Upload Count
333 (352)
Member for 10 years
Grateful for… your help… your input :rock:
 

Cyler

🤴 Super Admin
âš¡OS Master
Downloaded
510.5 GB
Uploaded
24.5 TB
Ratio
49.16
Seedbonus
27,587
Upload Count
1 (1)
Member for 6 years


you can reverse engineer it .right click on the folder locker(.bat file) select edit and then see where you had put the password , edit it and save the (.bat file) again by pressing ctr+s.
hope it helps :)
Tho I'm kinda late to this party, thx to @Nigrin I saw this thread. You are right but there is a trick around it. Google Bat2exe, its an open-source program and it can convert bat files to executables. No more snooping into the bat "source code".
 

Spyger

Member
Downloaded
588.7 MB
Uploaded
5 GB
Ratio
8.7
Seedbonus
2
Upload Count
0 (0)
Member for 4 years
hey guys they can easily edit the code and change the password lol lol lol
 

Cyler

🤴 Super Admin
âš¡OS Master
Downloaded
510.5 GB
Uploaded
24.5 TB
Ratio
49.16
Seedbonus
27,587
Upload Count
1 (1)
Member for 6 years
hey guys they can easily edit the code and change the password lol lol lol

Look at the comment above yours??? Also, it helps to read the other comments made, before we post an answer. Often you will find someone else said the same thing. Additionally, the above trick is not meant to protect your files from "hackers" etc. Not everyone has access to the "code" that was shared. It will work fine for people who use the PC in a family environment and just want some basic level of protection.
 
Top