M
M
MishaQHabr2021-03-22 16:58:18
System administration
MishaQHabr, 2021-03-22 16:58:18

How to prevent the owner from accessing a folder via CMD?

Allowed access by code takeown /F "D:\OlgaD\PS" /R /DY , via BAT launched from admin.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Saboteur, 2021-03-22
@saboteur_kiev

echo Y|cacls.exe D:\ОльгаD\PS /P all:N
echo Y|cacls.exe D:\ОльгаD\PS /P all:F

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question