Starting the Relay Server State Manager as a Windows service

For Windows only, the State Manager can be started as a Windows service by using the Service utility dbsvc.exe. The start property in the options section of the Relay Server configuration file should be set to no. See Options section.

The Service utility (dbsvc) is used to create, modify and delete services. For a full listing of usage information, run dbsvc.exe without any options.

To set up an auto started State Manager service named rs:
dbsvc -as -s auto -w rs "C:\inetpub\wwwroot\ias_relay_server\server\rshost.exe" -q -qc -f c:\inetpub\wwwroot\ias_relay_server\server\rstest.config -o c:\temp\rs.log
To start the service:
dbsvc.exe -u rs
To stop the service:
dbsvc.exe -x rs
To uninstall the service:
dbsvc.exe -d rs