How To Password Protect A Folder In Windows 10 - Webloaded Tech

Pinned Post

How To Password Protect A Folder In Windows 10

We all have computer files that we would like to keep secret from the world, but not everyone knows how to encrypt a Windows 10 folder with password. Windows has built-in password protection service that allows you to keep your files secure from prying eyes.
How To Password Protect A Folder In Windows 10

So, let us have a look at the method by which users will be able to Protect A Folder In Windows 10.

Password Protect A Folder In Windows 10?
✓Search for file or folder you wish to protect. Right-click on it and click Properties at the bottom of the context menu.
✓Now press the Advanced button in the Attributes section of the window.
✓Then select the Encrypt contents to secure data checkbox and click the OK button to get back to the main Properties window.
✓Press Apply and Windows will begin to encrypt your files.
Now click the notification and follow the prompts to make a note of your encryption key.
Note: You’ll need this information if you ever lose access to your encrypted files, so it’s important you take the time to back it up now.
That s it’s over, the files are protected now. They are encrypted with a key connected to your user account in Windows. If anyone else tries to access the file-whether from another user account or by physically removing the hard drive-the content tends to be meaningless garbled text.

✓Then Add a new Text Document and double-click the text file to open it.
✓Now Copy/Paste the below text into the new document and make sure you replace Your-Password-Here in the text you have copied with the password you want to lock the folder with.


title Folder Locker

if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK



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.



ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"

attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"

echo Folder locked

goto End


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


echo Invalid password

goto end


md Locker

echo Locker created successfully

goto End

✓Once done click the option File from the Menu and select Save As.
✓Select the Save as type All Files and change the file name to FolderLocker.bat and click Save.
✓Now Double-click FolderLocker and you will be able to find Locker folder has been generated!
✓Once that is completed then open the FolderLocker file and Type Y into the command screen and click Enter.
✓If you want to unlock the folder then double-click FolderLocker again and enter the password you entered you have set and then click enter.

Related Posts
Join Us On Telegram
Warning ⚠

Oғғɪᴄɪᴀ  Sᴇᴀɴ
I'm here to guide you for Learning New Technology and Hacking to make a Better Technical Community..❤️

Related Posts on Webloaded Tech

Post a comment