Installing the SAProuter on Windows

You install SAProuter as a service on Windows.

Context

Procedure

  1. Create subdirectory saprouter in directory <disk drive>:\usr\sap.
  2. Download the latest version of SAProuter from the SAP Support Portal under https://support.sap.com/patchesInformation published on SAP site (see also Installing SAProuter).
  3. Copy the programs saprouter.exe and niping.exe into newly created directory <disk drive>:\usr\sap. SAProuter and program niping are in package saprouter*.SAR.
    If you cannot download programs from SAP Support Portal, you can copy a version (possibly obsolete) from your directory <drive>:\usr\sap\<SID>\SYS\exe\run.
  4. If SAProuter has already been entered as a service with srvany.exe, remove the definition of the service from the registry and restart the host.
  5. Define the service using the following syntax: sc.exe create <service> binPath= "<Path to service EXE file> service -r <parameter>" type= own start= auto

    Note: <parameter> can be replaced by other parameters with which SAProuter is to be started. See also, SAProuter Options. It is important that the parameters are within the character string enclosed in double quotation marks.

    For more information, see 618053 Information published on SAP site and 41054 Information published on SAP site.

  6. Define the general attributes of the service: In Start of the navigation pathControl Panel Next navigation step ServicesEnd of the navigation path, set the startup type to automatic and enter a user. SAProuter should not run under the system account.
  7. To avoid the error message The description for Event ID (0)" in the Windows NT event log, you must enter the following in the registry: Under Start of the navigation pathHKEY_LOCAL_MACHINE Next navigation step SYSTEM Next navigation step CurrentControlSet Next navigation step Services Next navigation step Event Log Next navigation step ApplicationEnd of the navigation path create the key saprouter and define the following values for it:

    EventMessageFile (REG_SZ): ....\saprouter\saprouter.exe

    TypesSupported (REG_DWORD): 0x7

    These settings are not required for running SAProuter. They are used to display error messages in detail in the event log.

  8. Maintain the Route Permission Table in directory system32.
    Use SAProuter option -R to keep the route permission table in another directory or under a name other than saprouttab (see Option -R <routtab>).