# Configure Security Exclusions for the Agent

> Add the antivirus, EDR, firewall and proxy exclusions the Applivery Windows Agent needs so your security tools don't block it or cut its connection.

Source: https://docs.applivery.com/en/device-management/windows/troubleshooting/security-exclusions/  •  Last updated: 2026-11-30

**Key topics:** Antivirus and EDR exclusions, Local firewall, Proxy and TLS inspection, Network domains, Applivery, Microsoft Defender, Firebase Cloud Messaging, Windows

---

**TL;DR:** Allow the agent's folders, processes, local ports and domains in your security tools, and disable TLS inspection for them.

The [**Applivery Agent**](https://docs.applivery.com/en/device-management/windows/policies/agent/) runs with system-level privileges so it can install apps, run scripts and apply settings on your Windows Devices. Endpoint security tools (EDR, XDR or next-generation antivirus such as Microsoft Defender, CrowdStrike or Sophos) and network appliances (proxies and firewalls) can mistake these legitimate actions for suspicious behavior and block them, or cut the agent's connection to Applivery.

To avoid this, add the exclusions below in the console you use to manage your security tools (your EDR console, Intune, SCCM or Group Policy).

:::info
If you use **Microsoft Defender**, you can add the file, folder and process exclusions directly from Applivery. You can learn more about the **Antivirus** configuration by following this [link](https://docs.applivery.com/en/device-management/windows/policies/microsoft-defender/).
:::

## Antivirus and EDR exclusions

The agent runs under the `LocalSystem` account and launches other processes to run scripts and installers. Add the following items to your security tool's allowlist.

### Folders and executables

Exclude these paths from real-time (on-access) scanning:

| Item | Path |
| --- | --- |
| Install folder | `C:\Program Files\Applivery Agent\` |
| Data folders | `C:\ProgramData\Applivery\` and `C:\Windows\Temp\Applivery\` |
| Main executable (signed) | `C:\Program Files\Applivery Agent\dist\Applivery Agent.exe` |
| Windows service executable | `C:\Program Files\Applivery Agent\Applivery AgentSvc.exe` |

### Service and startup entries

Allow the agent to create and run the following service, registry keys and scheduled task:

-   **Service**: `Applivery Agent`, runs as `LocalSystem` with automatic startup.
    
-   **Startup registry key** for the agent's user interface: `HKLM\Software\Microsoft\Windows\CurrentVersion\Run\AppliveryUI`
    
-   **Scheduled task** for the agent's user interface: `AppliveryUI`
    
-   **Configuration registry key**: `HKLM\Software\Applivery\MDMAgent\Config`
    

### Child processes

Many EDR tools flag a process that launches PowerShell or installers as suspicious. Allow `Applivery Agent.exe` and `Applivery AgentSvc.exe` to launch these processes:

-   `powershell.exe`: agent operations and the [scripts](https://docs.applivery.com/en/device-management/windows/policies/scripts/) you assign.
    
-   `winget.exe`: apps deployed from the public catalog.
    
-   `msiexec.exe`: silent MSI installations.
    
-   `schtasks.exe` and `sc.exe`: scheduled task and service management.
    
-   `cmd.exe`
    
-   The installers of the apps you deploy from Applivery.
    

## Local firewall

The agent's components talk to each other through loopback connections (traffic that never leaves the Device). Windows Defender Firewall usually allows loopback traffic by default, but **third-party EDR tools with a network protection module** can block it. If yours does, allow TCP traffic on these local addresses:

-   `127.0.0.1:29292`
    
-   `127.0.0.1:29294`
    

## Proxy and TLS inspection

If a proxy or firewall interferes with the agent's traffic, the Device loses its connection to Applivery and stops being managed. Before you configure anything, keep these two limitations in mind:

-   **Proxy**: the agent runs as `LocalSystem`, so it doesn't use the Windows user proxy settings, WinHTTP or PAC/WPAD. It only supports a machine-level `HTTPS_PROXY` without authentication (NTLM and Kerberos aren't supported). A **direct outbound connection** is the recommended setup.
    
-   **TLS inspection**: the agent validates connections against its own trusted Certificate Authorities (CAs), not the Windows certificate store. Any proxy that replaces certificates to inspect traffic breaks the connection.
    

:::warning
Importing your proxy's CA certificate into the Windows certificate store **doesn't fix** TLS inspection for the agent. Disable TLS inspection for the domains below instead.
:::

Configure a **proxy bypass** and **disable TLS inspection** for the following domains. All traffic is outbound.

### Applivery domains

| Domain | Port | Used for |
| --- | --- | --- |
| `*.applivery.io` | TCP 443 | Communication with Applivery |

### Google domains

The agent uses Google **Firebase Cloud Messaging (FCM)** to receive commands in real time, and Google Cloud Storage for downloads and log uploads.

| Domain | Port | Used for |
| --- | --- | --- |
| `storage.googleapis.com` | TCP 443 | Downloads and log uploads |
| `android.clients.google.com` | TCP 443 | Firebase registration |
| `firebaseinstallations.googleapis.com` | TCP 443 | Firebase identity |
| `fcmregistrations.googleapis.com` | TCP 443 | Firebase token retrieval |
| `mtalk.google.com` | TCP 5228 | Persistent connection for real-time notifications |

These specific subdomains are enough, so you don't need to allow the broader `*.googleapis.com` wildcard.

Optionally, also allow `fonts.googleapis.com` and `fonts.gstatic.com` (TCP 443) so the agent's interface loads its fonts correctly.
