SetServiceSecurity will provide users with a command line utility that provides a way to set the ServiceRights of a Windows service.
Usage:
· SetServiceSecurity -l
· Enumerates all running services.
· SetServiceSecurity -l serviceShortName
· Display discretionary ACEs for service
· SetServiceSecurity -a serviceShortName machineOrDomain\SecurityPrincipal ServiceRight;ServiceRight
· Adds an ACE for a security principal for the list of service rights.
· SetServiceSecurity -d serviceShortName machineOrDomain\SecurityPrincipal
· Removes an ACE for a security principal
· SetServiceSecurity -c serviceShortName machineOrDomain\SecurityPrincipal
· Check if a service has an ACE for a security principal.
Requirements:
· .NET Framework 2.0 or higher