Reconfiguring the Windows Service After Server Configuration Changes

If you change the server configuration by updating the SMP_HOME\Server\props.ini file, you must reconfigure the SAP Mobile Platform Server service.

Prerequisites
If you do not have permission to start and change Windows services, run these commands as an Administrator. Open an Administrator Command Prompt by right-clicking the Command Prompt icon and selecting Run as administrator.
Task
Note: If you are running the service as a user account, you must reassign the user logon account after reconfiguring the service. For more information, see Setting up a User Account for the SAP Mobile Platform Windows Service in Landscape Design and Integration.
  1. Stop the SAP Mobile Platform Server:
    svcutil -stop
    The script may complete before the server is completely stopped, so make sure the server is stopped before proceeding.
    Note: You can also stop the server using the Windows Services Control Panel.
  2. Uninstall the server Windows service:
    svcutil -uninstall
    The script may complete before the service is completely uninstalled, so make sure the service is uninstalled before proceeding.
  3. Generate an installation script based on the new server configuration:
    svcutil -generate
  4. Install the server as a service with the new configuration:
    svcutil -install
    This automatically starts the server as a Windows service after it has been installed. To start the server manually after it has been installed, run: svcutil -install -startup manual.
  5. (Optional) If you specified a manual startup when installing the server, restart the server:
    svcutil -start
    The script may complete before the server is completely started, so make sure the server is running before performing any server operations.
    Note: You can also start the server using the Windows Services Control Panel.