Platform SDK: Exchange Server |
This program installs a gateway as a service of Windows NT Server. To run SERVINST, type the following at the command prompt:
SERVINST /SITEDN=<site distinguished name> /OBJNAME=<object name> /OBJTYPE=<object type> /SERVICE=<service name> /DISPLAY_NAME=<service display name> /DEPENDENCIES=<service dependencies> /EXE=<executable name> /SERVER=<server computer name> /ACCOUNT=<account name> /PASSWORD=<account password> [/DELETE] [/HELP or /?]
SERVINST Parameters
Parameter | Description |
---|---|
SITEDN | Site distinguished name for the gateway. |
OBJNAME | Object name for the gateway. This can be the same as the display name. |
OBJTYPE | Object type (for a gateway, this is GATEWAY). |
SERVICE | Name to be assigned to the gateway. This becomes the final entry in the service key for the gateway object. This name can be the same as the display name. |
DISPLAY_NAME | Display name of the installed gateway. This name is used in the service registry to refer to the gateway object. |
DEPENDENCIES | Services that should be started before this gateway (separated by %). |
EXE | File name and path for the gateway executable file. |
SERVER | Server on which to install the gateway. |
ACCOUNT | Account name for accessing the gateway. This must include the domain name. |
PASSWORD | Password for accessing the gateway. |
DELETE | Deletes the gateway service. |
HELP or ? | Displays Help information. |
An example of calling this program is:
SERVINST /SITEDN=/o=Microsoft/ou=APPS-WGA /OBJNAME=gw1 /OBJTYPE=GATEWAY /SERVICE=gw1 /DISPLAY_NAME=samplgw /DEPENDENCIES=msexchangesa%msexchangeds /EXE=\\myserver\myshare\samplegw\samplegw.exe /SERVER=server1 /ACCOUNT=mydomain\myaccount /PASSWORD=mypassword