Skip to main content

How to set up Agent Controller on Windows Server

To install Agent Controller on Windows Server, Aembit provides a Windows installer file (.msi).
See Installation details for more information about what it does.

Aembit supports three primary configurations when you install Agent Controller on Windows Server:

Prerequisites​

Before you install Agent Controller on Windows Server, you must have the following:

  • Agent Controller version 1.21.2101+

  • Windows Server 2019 or Windows Server 2022

  • Network and system access to download and install software on the Windows Server host.

  • If installing with Kerberos attestation enabled:

    • Your Agent Controller Windows Server host joined to an Active Directory (AD) domain.

Install Agent Controller on Windows Server​

To install an Aembit Agent Controller on Windows Server:

  1. Download the latest release version of the Agent Controller installer from the Agent Controller releases page, making sure to replace the instances of <version> with the latest version in the following command. Note that downloading directly via a browser may result in unexpected behavior.

    Invoke-WebRequest `
    -Uri https://releases.aembit.io/agent_controller/<version>/windows/amd64/aembit_agent_controller_windows_amd64_<version>.tar.gz `
    -Outfile aembit_agent_controller.msi

    Next, follow the installation steps in the appropriate tab:

  1. Install Agent Controller using the following command. Make sure to replace <TenantId> with your Aembit Tenant ID and <AgentControllerId> with the ID of the Agent Controller you are configuring.

    msiexec /i aembit_agent_controller.msi /l*v installer.log `
    AEMBIT_TENANT_ID=<TenantId> `
    AEMBIT_AGENT_CONTROLLER_ID=<AgentControllerId>

(Optional) Verify the service account​

By default, the Agent Controller service runs as the LocalService account.

To verify that the Agent Controller service is running as the expected service account, use the following PowerShell command:

(Get-WmiObject Win32_Service -Filter "Name='AembitAgentController'").StartName

If you don't see the Aembit Agent Controller service running or if it's running as a different user, uninstall Agent Controller and retry these instructions.

Uninstall Agent Controller​

To uninstall Agent Controller from your Windows Server, use Windows built-in Add/Remove Programs feature like you'd normally uninstall any other program or app from Windows.

Limitations​

Agent Controller on Windows has the following limitations:

  • Changing the service logon account after installation is not supported:

    If you need to change to a different Windows service account, you must uninstall and reinstall the Agent Controller on your Windows Server host.

  • Changing the TLS strategy may not work as expected:

    Because of the way Aembit stores and preserves parameters, changing from a TLS configuration using customer certificates to a configuration using Aembit-managed certificates may not work as expected. To remediate:

    1. Uninstall the Agent Controller.
    2. Delete the C:\ProgramData\Aembit\AgentController directory and its contents.
    3. Reinstall the Agent Controller.

Installation details​

AttributeValue
Service nameAembitAgentController
Binary locationC:\Program Files\Aembit\AgentController\aembit_agent_controller.exe
Log filesC:\ProgramData\Aembit\AgentController\Logs

Additional resources​