Answer the question
In order to leave comments, you need to log in
How to disable write access to a folder using powershell?
It is necessary to set a write ban in the security settings in the folder properties through powershell, some kind of heresy occurs through the icacls command, which no one can explain.
Answer the question
In order to leave comments, you need to log in
Easily. Choose.
1. Get-ACL cmdlets | Set-ACL.
2. External library NTFSSecurity https://github.com/raandree/NTFSSecurity and its basis - AlphaFS alphafs.alphaleonis.com
3. External utility https://helgeklein.com/setacl/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question