Table of Contents
This tip is about the how to Protect File/Folders with Passwords in Windows 10. So read this free guide, How to Protect File/Folders with Passwords in Windows 10 step by step. If you have query related to same article you may contact us.
How to Protect File/Folders with Passwords in Windows 10 – Guide
In almost all cases, you can access folders on a Windows computer only if you are logged in to your user account. However, if several people use the same account on your computer – perhaps you share it with your family – your folders will be open for spying. There are dozens of apps you can use to encrypt your folders. Fortunately, however, Windows offers its own built-in options for password protection folders.
It is completely free and easy to password protect a Windows folder. However, there are some downsides. The first is that you must use Windows 10 Pro – the Home version will not let you. Second, there is no way to recover the password once set, if you forget it.
How to lock a folder with a password in Windows 10
if EXISTS “Control Panel. {21EC2020-3AEA-1069-A2DD-08002B30309D} “go to UNLOCK
if there is NO Locker go to MDLOCKER
: CONFIRM
echo Are you sure you want to lock the folder (Y / N)
define /p “cho =>”
se% cho% == Y goto LOCK
se% cho% == y goto LOCK
if % cho% == n goto END
if% cho% == N goto END
echo Invalid choice.
go to CONFIRM
:TO LOCK
ren Locker “Control panel. {21EC2020-3AEA-1069-A2DD-08002B30309D}”
assign + h + s “Control Panel. {21EC2020-3AEA-1069-A2DD-08002B30309D}”
echo locked folder
go to final
: UNLOCK
echo Enter password to unlock folder
set /p “pass =>”
if NOT% pass% == Your-Password-Here goto FAIL
assign -h -s “Control Panel. {21EC2020-3AEA-1069-A2DD-08002B30309D}”
ren “Control panel. {21EC2020-3AEA-1069-A2DD-08002B30309D} “Cabinet
echo folder successfully unlocked
go to final
:FAILED
echo invalid password
go to the end
: MDLOCKER
md Locker
echo Locker created successfully
go to final
:The end
Final note
I hope you like the guide How to Protect File/Folders with Passwords in Windows 10. In case if you have any query regards this article you may ask us. Also, please share your love by sharing this article with your friends.