On Windows server 2016 I made an incautious action. Using my account which belong to a builtin Administrator group I set security descriptor for SCManager:
sc sdset scmanager "D:(A;;CC;;;AU)(A;;CCLCRPRC;;;IU)(A;;CCLCRPRC;;;SU)(A;;CCLCRPWPRC;;;SY)(A;;CCLCRPRC;;;BA)(A;;CC;;;AC)S:(AU;FA;KA;;;WD)(AU;OIIOFA;GA;;;WD)"
After reading documentation I have figured out that default permission value for builtin administrators is (A;;KA;;;BA)
. That means who are in group Administrators can set security descriptor.
With (A;;CCLCRPRC;;;BA)
I was restricted to set security descriptors for SCManager.
How can I return back the rights?