SERVINST has the following parameters.
Type the following on the command line:
SERVINST /SITEDN=<site distinguished name>
/OBJNAME=<object name> /OBJTYPE=<object type>
/SERVICE=<service name> /DISPLAY_NAME=<service display name>
/DEPENDENCIES=<service dependencies>
/EXE=<executable full pathname> /SERVER=<server computer name>
/ACCOUNT=<account name including domain> /PASSWORD=<account password>
[/DELETE] [/HELP or /?]
SERVINST Parameters
Flag | Settings |
---|---|
/SITEDN | Specifies the site distinguished name (DN), consisting of organization plus site. For example: /SITEDN=/o=Microsoft/ou=edkue |
/OBJNAME | Specifies the object name for the service. This name can be the same as the display name. |
/OBJTYPE | Specifies the object type (GATEWAY or AGENT). For example: /OBJTYPE=AGENT |
/SERVICE | Gives the name to be assigned to the installed service, which becomes the final entry in the service key for the object. This name can be the same as the display name. |
/DISPLAY_NAME | Displays the name of the installed service, which will be used in the service registry to refer to the object. |
/DEPENDENCIES | Lists services that should be started before this service (separated by "%"). |
/EXE | Specifies the executable file name and path. For example: /EXE=C:\BKOFFICE\BIN\SMBAGENT.EXE |
/SERVER | Specifies the server on which to install the service |
/ACCOUNT | Gives the account name for the service. Be sure to include the domain name. For example: /ACCOUNT=REDMOND\EDKDOCS |
/PASSWORD | Specifies the password for the service. |
/DELETE | Deletes the service. |
/HELP or ? | Displays Help information. |