How To Password Protect a Folder in Windows 10 Using CMD | TechNews


We all have computer files that we want to keep the world secret, but not everyone knows how to protect a folder in password 10 in Windows. Whether you’re hiding notes from someone with access to your computer or (hopefully) something less drastic, you’re allowed to have some privacy. Thankfully, in Windows 10, you can tick those extraordinary plans or files in a secret folder that is password protected, and you can do this by purchasing any additional software. Once you’ve created a new folder in Windows 10, here’s how to protect it.


Let’s get started.

How To Password Protect Or Folder Lock in Windows 10 Using CMD |


First, select the drive folder you want to lock And choose what folder you want to lock.

D: Or E
  1. Press Windows Key+R On Your PC And Open Command Prompt.
  2. How To Lock the Folder: In Command prompt enter the path of the folder i.e what folder you want to lock.
  3. This is the command for How to lock the folder.

cacls “path of the folder” /D /E everyone:n

How To Password Protect a Folder in Windows 10 Using CMD | TechNews
cacls “path of the folder” /D /E everyone:n

Press Enter and press Y Now your Selected folder is Lock

For example; If I want to lock my New folder, which is in New folder in D drive.

>D:

D:>cacls “New folder” /p everyone:n

Are you sure (Y/N)? Y

processed dir: D:New folder

  • Let us see the detailed process in below screenshot.
How To Password Protect a Folder in Windows 10 Using CMD | TechNews

How to Unlock the folder using Command Promot |


If you want to unlock the folder the procedure is same, but only the difference is we’ll give f in the place of n.

>D:

D:>cacls “path of the folder” /p everyone:f
Are you sure (Y/N)? Y
processed dir: D:New folder
After unlocking the folder also the same message will be displayed as processed followed by the path of the folder.
How To Password Protect a Folder in Windows 10 Using CMD | TechNews
For the latest tech news and reviews, follow TechNews On Twitter, FacebookInstagramPinterest