Skip to main content

Run AIQ on Windows as a Service

Run AIQ on Windows as a Service

ItUse isthis recommendedguide thatwhen youAIQ must start AIQ services automatically ratheron thana manually.Windows Thehost suggestedand methodrun isunder toa usemanaged service account. Corrected the Autologonolder utilitytitle towording setupand replaced “Appvance IQIQ” phrasing with current AIQ terminology.

Preparation checklist

  • Confirm the Windows version, AIQ version, Java/runtime dependencies, ports, and required file-system paths.
  • Create or select a dedicated service account with the minimum permissions required to run asAIQ.
  • Verify servicedatabase onconnectivity, Windows.browser/driver

    Autologon is Microsoft utility that enables you to easily configure Windows’ built-in autologon mechanism. Instead of waiting for a user to enter their namepaths, and password,environment Windowsvariables usesbefore installing the credentials you enter with Autologon, which are encrypted in the Registry, toservice.

  • Document log onlocations, thestartup specifieddependencies, userand automatically.restart

    Prerequisites:

    • Appvance IQ is installed on Windows OS
    • Login to Windows using an account with administrator privilegespolicy.

    DownloadValidation and Install Autologonworkflow

    1. DownloadStart AutologonAIQ frommanually Microsoftonce here:and Downloadconfirm Autologonlogin and a small smoke execution work.
    2. ExtractInstall Autologon.zipor archive.configure Forthe example, extract to C:\Autologon.

    Setup Autologon Service

    Checking for Previous Configurations

    Verify that no other entries for AutologonWindows service exist as follows. If there are previous configurations onusing the server,approved it may prevent Autologon from working correctly.

    For any past users for which an Autologon service was created:

    1. Open Autologon.procedure.
    2. EnterStart, the Username, Domainstop, and Password.
    3. Click Disable.

    Check the Registry for Autologon entries:

    1. Inthe Registry navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
    2. Change the value of the AutoAdminLogon key from 1 (true) to 0 (false), to disable the AutoAdminLogon feature.
      See Turn on automatic logon in Windows on the Microsoft site for more information.

    Active Directory considerations:

    • When the user used to login is provided by an Active Directory domain and the Active Directory is set to have an interactive login, the Autologon process will not work. In those cases, try creating a local user in the machine itself, edit its group policy to remove any interactive logon and use this local user to set the autologin process.
    1. Open Autologon.exe (64 bit). The Autologon - Sysinternals window appears.
      image-20210927-162147.png
    2. Enter the user’s password and click Enable.
      image-20210927-162216.png
    3. Open Task Scheduler with administrative privileges, click Action and select Create Basic Task. The Create Basic Task Wizard appears.
      image-20210927-162316.png
    4. Enter a name in the Name box (such as AIQ or Appvance) and click NextThe Task Trigger list appears
    5. Select When I log on and click Next
      image-20210927-162527.png
    6. The Action list appears.
    7. Select Start a Program and click Next
      image-20210927-162744.png
    8. The Start a Program configuration appears.
    9. Click Browse.
    10. Browse to and select <aiq-path>/TestNode/startup.bat and click Open.
    11. IMPORTANT: Also enter the <aiq-path>/TestNode/ path in the Start in box and click Next.
      image-20210927-163155.png
    12. Select Open the Properties dialog for this task when I click Finish.
      image-20210927-163508.png
    13. Click FinishThe Properties dialog appears.
      image-20210929-162027.png
    14. Select whether it runs when a user is logged into that test node of not. This choice will be important in situations where the system reboots when no one is logged into that test node.
      • Run only when user is logged on
      • Run whether the user is logged on or not
    15. Check Run with highest privileges.
    16. Click the Settings tab.
    17. Uncheck the Stop the task if it runs longer than option.
      image-20210927-163826.png
    18. Click OK.
    19. When prompted, enterrestart the service usernamefrom andWindows passwordServices to applyor the changesservice and click OK.
      image-20210927-161440.pngmanager.

    Verifying Autologon Service

    You may test

  • Reboot the Autologonhost serviceif by running it manually from the Task Scheduler. However to ensure the settings are working as expected, it is recommended that you restart the serverallowed and confirm thatAIQ Appvancestarts IQautomatically.
  • Review launcheslogs properlyfor withoutpermission, apath, userport, directlyor loggingdependency into the server.errors.

After you have configured AIQ to run as a service, proceed to the next step: Installing License and Certificate


Last updated: JanuaryOctober 22,9, 20252026

If you have any feedback on this topic, please contact us at documentation@appvance.ai