When the Windows command, sc.exe is available in your installation, it can be a convenient means of starting and stopping the primary and secondary Service Desk Server services remotely, either manually or via an automated batch method. The commands to run and procedure are described in the Solution.
When you want to start, stop, or recycle Service Desk Manager (SDM) services, especially when the SDM configuration includes secondary SDM servers, the Windows sc.exe can be used. Use of sc.exe enables the procedures to be automated, for example in a batch script.
The example in this solution is for a SDM configuration that contains 1 primary SDM server and 1 secondary SDM server. The procedure can be extended for multiple secondary SDM servers. In this example, the hostname of the primary is SD1Pri and the hostname of the secondary is SD1Sec.
To start SDM, open a Windows command prompt window and run these commands in the order listed (all secondaries must be started first):
sc.exe \\SD1Sec start pdm_daemon_proctor
sc.exe \\SD1Sec query pdm_daemon_proctor
Note: re-run the sc query command until the STATE in the returned message changes to RUNNING
sc.exe \\SD1Pri start pdm_daemon_manager
To stop SDM, open a Windows command prompt window and run these commands in the order listed (primary must be stopped first):
sc.exe \\SD1Pri stop pdm_daemon_manager
sc.exe \\SD1Pri query pdm_daemon_manager
Note: re-run the sc query command until the STATE in the returned message changes to STOPPED
sc.exe \\SD1Sec stop pdm_daemon_proctor