How to Password Protect a Folder in Windows 10
We all have computer files we do 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.
We all have computer files we do 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.
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.
2. Select "New" from the contextual menu.
3. Click on "Text Document."
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.
5. Double-click the text file to open it.
6. Paste the below text into the new document:
cls@ECHO OFFtitle Folder Lockerif EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCKif NOT EXIST Locker goto MDLOCKER:CONFIRMecho Are you sure u want to Lock the folder(Y/N)set/p "cho=>"if %cho%==Y goto LOCKif %cho%==y goto LOCKif %cho%==n goto ENDif %cho%==N goto ENDecho Invalid choice.goto CONFIRM:LOCKren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"echo Folder lockedgoto End:UNLOCKecho Enter password to Unlock folderset/p "pass=>"if NOT %pass%==Your-Password-Here goto FAILattrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Lockerecho Folder Unlocked successfullygoto End:FAILecho Invalid passwordgoto end:MDLOCKERmd Lockerecho Locker created successfullygoto End:End
7. Find where it says "Your-Password-Here" in the document.
8. Replace "Your-Password-Here" with the password you want to lock the folder with.
9. Click File.
10. "Select Save As..."
11. Click on the "Text Documents (*.txt)" menu bar that's next to "Save as type:"
12. Select "All Files"
13. Change the file name to "FolderLocker.bat"
14. Click "Save."
15. Double-click FolderLocker.
The Locker folder has been generated!
16. Fill the Locker folder with the items you want to protect.
17. Open the FolderLocker file, because it's time to lock that folder up!
18. Type "Y" into the screen.19. Click Enter, and the Folder Locker window will disappear, along with the Locker folder itself! Your secrets are safe!
To unlock the folder, double-click "FolderLocker" to open it.
Enter the password you entered in Step 8, and click Enter.
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.
No comments:
Post a Comment