Skip to main content

Configuring the Windows service

Informer's Windows service is configured automatically by the offline installer on every new install. This article covers reinstalling, setting dependencies, and uninstalling it.

Reinstall the service

If you need to reinstall the service, run this in an Administrator Command Prompt (not PowerShell), replacing $informerHome with the Informer install root and $npmPath with the npm directory (by default C:\Users\<username>\AppData\Roaming\npm):

sc.exe create informer5 DisplayName= "Entrinsik Informer 5" binPath= "\"$informerHome\ServiceBinary\ServiceBinary.exe\" \"$informerHome\" \"$npmPath\"" start= "auto"

The service installs and starts automatically. Check the Services panel to confirm it started, or run pm2 ls to verify Informer is running. You should see one thread per Informer thread you configured in the Load Balancer. If no threads run, verify the service.config.json entries and the PM2 environment variables, then restart the service. If it still will not start, contact Support at i5support@entrinsik.com.

Update service dependencies

To make sure Elasticsearch, Redis, and PostgreSQL start before Informer, run this in an Administrator Command Prompt (not PowerShell). It overwrites any existing dependencies, so you do not need to remove old ones first:

sc config informer5 depend= elasticsearch8/postgresql-x64-16/Redis

Uninstall the service

  1. Stop the Informer service if it is running.

  2. Open an elevated PowerShell window.

  3. Delete the service:

    sc delete informer5