website/docs/endpoint-devices/authentik-agent/agent-deployment/windows.md
:::warning Supported Windows Versions The authentik Agent is currently only tested on Windows 11 and Windows Server 2022. Other versions may work but are untested. :::
Windows Credential Provider (WCP) is a component of the authentik Agent that allows logging in to Windows workstations using authentik credentials.
It currently only supports local login; RDP login is not supported.
:::warning
:::
You must configure your authentik deployment to support the authentik Agent.
If you already have an enrollment token, skip to the next section.
:::info Automated deployment is recommended It's recommended to deploy the Agent via MDM or automation tools instead of manually configuring it. :::
Log in to authentik as an administrator and open the authentik Admin interface.
Navigate to Endpoint Devices > Connectors.
Click on the authentik Agent connector that you created when configuring your authentik deployment to support the authentik agent.
Under Setup, click Windows to download the authentik Agent installer.
Once the download is complete, install the MSI file.
(Optional) During installation, select Windows Credential Provider if you want to log in to the Windows device using authentik credentials.
Confirm that the authentik Agent is installed by opening a PowerShell or Terminal window and entering the following command: ak
You should see a response that starts with: authentik CLI v<version_number>
To enable device compliance features, you must join the device to an authentik domain.
"C:\Program Files\Authentik Security Inc\sysd\ak-sysd.exe" domains join <deployment_name> --authentik-url https://authentik.company
deployment_name is the name that will be used to identify the authentik deployment on the device.https://authentik.company is the fully qualified domain name of the authentik deployment.To enable initiating SSH connections and CLI application authentication, the device must be connected to an authentik deployment. To do so, follow these steps:
ak config setup --authentik-url https://authentik.company
You can check the version of all installed authentik components by running the following command:
ak version
All components of the authentik Agent output logs to the "authentik" log in the Windows Event Viewer.
Please report issues and bugs via the authentik Platform GitHub repository.