setacl Problem
Unsere Clients haben keinen Zugriff auf "All Users" und wir müssen dort einen Eintrag ändern. Ich wollte nun mit Hilfe von setacl.exe für die Änderung Rechte vergeben, jedoch bekomme ich immer folgende Fehlermeldung:
Info: Privilege 'Back up files and directories' could not be enabled. This can probably be ignored.
Info: Privilege 'Restore files and directories' could not be enabled. This can probably be ignored.
Processing ACL of: <\\?\C:\Documents and Settings\All Users>
ERROR writing SD to <\\?\C:\Documents and Settings\All Users>: Access is denied.
Die batch sieht so aus:
SetACL -on "C:\Documents and Settings\All Users" -ot file -actn ace -ace "n:DOMAINNAME\Domain Users;p:full"
Kann mir jemand weiterhelfen oder eine andere Lösung vorschlagen. Ziel ist es, dass der angemeldete User die batch aufrufen kann und die Änderungen im "All User" möglich sind, da ich keine Lust habe, mich bei XXXXX Usern als Admin anzumelden^^
Merci
Info: Privilege 'Back up files and directories' could not be enabled. This can probably be ignored.
Info: Privilege 'Restore files and directories' could not be enabled. This can probably be ignored.
Processing ACL of: <\\?\C:\Documents and Settings\All Users>
ERROR writing SD to <\\?\C:\Documents and Settings\All Users>: Access is denied.
Die batch sieht so aus:
SetACL -on "C:\Documents and Settings\All Users" -ot file -actn ace -ace "n:DOMAINNAME\Domain Users;p:full"
Kann mir jemand weiterhelfen oder eine andere Lösung vorschlagen. Ziel ist es, dass der angemeldete User die batch aufrufen kann und die Änderungen im "All User" möglich sind, da ich keine Lust habe, mich bei XXXXX Usern als Admin anzumelden^^
Merci
Please also mark the comments that contributed to the solution of the article
Content-ID: 45486
Url: https://administrator.de/forum/setacl-problem-45486.html
Printed on: May 14, 2025 at 05:05 o'clock