I have a dummy service (self created) with the following SDDL on a Windows 10 computer in a domain:

sc sdshow **** 



Now if I try with a normal domain account (no local admin rights) to set the permissions with sc sdset, I got following error:

[SC] OpenSCManager Error 5:

Access denied

Can someone help me please? I thought I'm able to set the rights with a domain user because of the second entry where the authenticated user got the same rights as the BuiltIn\Administrator.


Changing the permissions on any service also requires the caller to have administrator access to the Service Control Manager itself. See: Granting service control manager access permission to user outside of administrator group

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.