Access to printer SETACL

kickapoos 1 Reputation point
2021-04-07T19:51:26.893+00:00

Hi,

I use the SetAcl tool from https://helgeklein.com/setacl/
With the following command, I remove existing printer permissions.

SetACL.exe -on "Xerox WorkCentre 6515" -ot prn -actn clear -clr "dacl, sacl"

Now I want to

SetACL.exe -on "Xerox WorkCentre 6515 V4 PCL6" -ot prn -actn ace -ace "n: administrators; p: full"

or

setacl -on "Xerox WorkCentre 6515 V4 PCL6" -ot prn -actn setowner -ownr n: administrators -rec cont_obj

set the permissions and get the message "Access Denied".
Now I have to manually add the owner and administrators via printmanagement.msc.
The problem only ever occurs the first time the printer's authorizations are deleted.
Does somebody has any idea?

Windows for business | Windows Server | User experience | Print jobs
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2021-04-08T08:04:18.1+00:00

    Hello @kickapoos

    You may refer to their official website for the solution : Dealing with ‘Access Denied’ errors

    Best Regards
    Karlie

    ----------

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.