Skip navigation

JSI Tip 3896. Another way to grant the right to manage Windows 2000 services.


In tip 2928, we used Group Policy to grant a user the right to manage services.

You can use SubInAcl to grant the right. The syntax is:

SUBINACL /SERVICE \\ComputerName\ServiceName /GRANT=\[DomainName\\]UserName\[=Access\]

Where:

ComputerName   - The NetBIOS computer name. If omitted, the local computer is the default.
ServiceName    - The Service short name.
DomainName     - NetBIOS DomainName. If omitted, the local computer is searched for the UserName.
UserName       - The User account or group to be granted Access.
Access         - F : Full Control (The default if omitted)
                 R : Generic Read
                 W : Generic Write
                 X : Generic eXecute
                 L : Read controL
                 Q : Query Service Configuration
                 S : Query Service Status
                 E : Enumerate Dependent Services
                 C : Service Change Configuration
                 T : Start Service
                 O : Stop Service
                 P : Pause/Continue Service
                 I : Interrogate Service 
                 U : Service User-Defined Control Commands
Example:

SUBINACL /SERVICE \\JSI015\SPOOLER /GRANT JSIINC\JENNIFER=F

NOTE: See tip 3897 for a script to grant access for all services.



Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish