Jump to content

How To Password Protect a Folder in Windows 10


Vdogeek

Recommended Posts

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. 

ug4aDc3.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.

 

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.

14RCeVc.png

 

2. Select "New" from the contextual menu. 

 

Ae4tFKD.png

 

3. Click on "Text Document."

ianF4ze.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.

uzsgAEw.png

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

ihMhWcK.png

6. Paste the below text into the new document:

Qlh6YYP.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.

 

dmxyzDB.png

 

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

 

5ep82F4.png

 

9. Click File.

tXHCbSP.png

 

10. "Select Save As..."

 

b4r4Wa4.png

 

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

jt3xCB0.png

12. Select "All Files"

7SYBurL.png

 

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

1fXmezq.png

 

14. Click "Save."

ttADTS0.png

 

15. Double-click FolderLocker.

WFEw10R.png

The Locker folder has been generated!

vehBvpN.png

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

xiym8Kg.png

17. Open the FolderLocker file, because it's time to lock that folder up!

pANuw0k.png

18. Type "Y" into the screen.

yo5mj9u.png

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

ScThQhx.png

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

tUu1dXr.png

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

gTHewKO.png

WyduaCS.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.

uzbE5IG.png

 

All credit goes to The Author....Henry T. Casey 

 

 

Link to comment
Share on other sites


  • Replies 4
  • Views 1.4k
  • Created
  • Last Reply

This can be interesting for people as share computer, nice of you to share and help other... Thanks ;)

Link to comment
Share on other sites


OP you have to include a source link...

Quote

Any content copied from elsewhere should include a source link. guidelines

 

Link to comment
Share on other sites


Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...