Skip To Content

INTEGRAL

How To Auto-Start INTEGRAL Server At System Startup on Windows

This page describes how to automatically start and stop INTEGRAL Server on Windows. The procedure is identical to starting other Windows console applications as Windows services. For example, the following article (external page) explains how to start nginx as a Windows service. We have adapted this procedure to INTEGRAL Server.

  1. If you don't have it already, download NSSM (external page). Make sure to download the latest version (currently nssm 2.24-101-g897c7ad) in order to support Windows 10. Once it's downloaded, extract the ZIP file to a folder of your choosing. Let's assume this folder is C:\Tools\NSSM\.

  2. Open Command Prompt and traverse to the path where the NSSM binary is located (32 or 64-bit version depending on your Windows). For example:

    Windows

    cd C:\Tools\NSSM\win64\

  3. Install INTEGRAL Server as a Windows service using NSSM:

    Windows

    nssm install "INTEGRAL Server"

  4. The NSSM service installer dialog box will appear. All you need to do is specify the Path value. Click the ... button next to Path and select the following executable:

    <integral_extract_dir>/exec/integral-server-win.exe

    As before, we are assuming that <integral_extract_dir> is the directory where you extracted the INTEGRAL ZIP archive.

    Make sure you select integral-server-win.exe and not integral-server-win.bat. Then click Open. This will set the Path and Startup directory values accordingly.

  5. Finally, click the Install Service button. When finished, you should get a message confirming that the service "INTEGRAL Server" was installed successfully.

Once you have performed the above steps, you can reboot your Windows server. Once the server reboots, INTEGRAL Server should start automatically.

You will also be able to manually start and stop INTEGRAL Server by going to the Windows Services Manager, right-clicking the INTEGRAL Server service and selecting Start or Stop from the menu.

If you ever need to remove the INTEGRAL Server service, you can use NSSM again:

Windows

nssm remove "INTEGRAL Server"