I
I
Innokenty2022-02-16 09:41:25
PowerShell
Innokenty, 2022-02-16 09:41:25

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

1 answer(s)
A
Alexey Dmitriev, 2022-02-16
@Kosyachella

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 question

Ask a Question

731 491 924 answers to any question