Runing Appvance IQ on Windows as a Service

Autologon is Microsoft utility that enables you to easily configure Windows’ built-in autologon mechanism. Instead of waiting for a user to enter their name and password, Windows uses the credentials you enter with Autologon, which are encrypted in the Registry, to log on the specified user automatically.

Prerequisites:

Download and Install Autologon

  1. Download Autologon from Microsoft here: Download Autologon

  2. Extract Autologon.zip archive. For example, extract to C:\Autologon.

Setup Autologon Service

Checking for Previous Configurations

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

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

  1. Open Autologon.

  2. Enter the Username, Domain 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:

  1. Open Autologon.exe (64 bit). The Autologon - Sysinternals window appears.

  2. Enter the user’s password and click Enable.

  3. Open Task Scheduler with administrative privileges, click Action and select Create Basic Task. The Create Basic Task Wizard appears.

  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

  6. The Action list appears.

  7. Select Start a Program and click Next

  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.

  12. Select Open the Properties dialog for this task when I click Finish.

  13. Click FinishThe Properties dialog appears.

  14. Select Run only when user is logged on.

  15. Check Run with highest privileges.

  16. Click Settings.

  17. Uncheck the Stop the task if it runs longer than option.

  18. Click OK.

  19. When prompted, enter the service username and password to apply the changes and click OK.

Verifying Autologon Service

You may test the Autologon service by running it manually from the Task Scheduler. However to ensure the settings are working as expected, it is recommended that you restart the server and confirm that Appvance IQ launches properly without a user directly logging into the server.


Last updated: March 26, 2024

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


Revision #4
Created 2026-07-31 15:38:21 UTC by Admin
Updated 2026-10-14 14:18:17 UTC by AI_Mananger