win32service.SetServiceObjectSecurity
SetServiceObjectSecurity(Handle, SecurityInformation, SecurityDescriptor)
Set the security descriptor for a service
Parameters
SetServiceObjectSecurity(Handle, SecurityInformation, SecurityDescriptor)
Set the security descriptor for a service