Run the Engine as a Service on Windows

Run a Cortex XSOAR engine as a service on a Windows machine. engine windows
You can run the engine as a service on Windows machines. In this procedure we use NSSM, which is a free utility that manages background services and processes.
You can configure the Run Registry Keys instead of using the NSSM utility.
Before you begin, install the engine using the zip file on the required machine.
  1. Download the latest NSSM zip file by going to http://nssm.cc/download.
  2. Unzip the file and move the contents to the same directory where you installed the engine.
  3. Open a command prompt as an administrator and type the following command:
    .\nssm.exe install d1engine
    Ensure that the
    nssm
    exe file is in the same directory as the engine you want to run.
    The NSSM service installer appears.
  4. In the
    Application Path
    , browse to the engine file.
    The engine file is called
    d1_windows_amd64.exe
    . The
    Startup directory
    is automatically populated (where the .conf and .log files are located).
  5. Click
    Install service
    .
    A message appears confirming that service was installed.
  6. Start the service, by typing the following command:
    .\nssm.exe start d1engine
    Confirmation appears that the engine started successfully.
  7. (
    Optional
    ) Go to the
    Task Manager
    and check that the service is running.
  8. (
    Optional
    ) To stop the service, type the following command:
    .\nssm.exe stop d1engine
  9. (
    Optional
    ) To remove the service, type the following command:
    .\nssm.exe remove d1engine confirm

Recommended For You