Installation of the Azure Monitor Agent for WVD, RDS and Citrix sites

The installation is very simple. It only takes two steps to achieve the goal: Install the agent and configure your Azure Monitor / Log Analytics workspace. To make it easy for anyone, here are the two steps as a detailed guide.


If you are using Azure Monitor for WVD V1.x.x visit this site: Installation 1.3.6 and below


We offer the Azure Monitoring Agent for testing and community purposes without any warranty nor support. Please test the monitoring solution and decide if you will continue the community edition or if you want to run fully supported, including premium features, updates, and support for building KUSTO queries. Visit sepago Shop for more information or get your special quote from sales@sepago.de.

From agent version > 2.4.0: From version 2.4.0 the standard version of Azure Monitor for WVD and Citrix will now support all premium features like encryption for secrets, user input delay metrics, and GPU measuring. If the agent is not licensed, a splash screen will appear for a few seconds in any new user session after logging in. If you want to test this solution in a production environment, ask for a trial key to avoid the splash screens.

You can use the agent on Microsoft Windows Virtual Desktop session hosts, Citrix Sites version 7.x and maybe above including Citrix Cloud. The agent is tested on Windows Server 2008R2/2012R2/2016 and Windows 7-10 (64 Bit only). If you use it on a VDI, the total network transmission performance and logon duration are not monitored.

Rollout the Azure Monitor solution into your subscription

We made it simple for you. Use the Azure Marketplace to rollout your Azure Monitor for WVD or Citrix directly into your Azure subscription:

  1. Azure Monitor for Windows Virtual Desktop (WVD)
  2. Azure Monitor for Citrix

Alternatively, roll out your workspace including all tiles, views and workbooks via GitHub https://github.com/MarcelMeurer/LogAnalytics-for-Citrix-and-RDS

Install the Azure Monitor Workbooks in an existing workspace

If you have an existing workspace you want to use further or if the installation from the market place is missing the Azure Monitor Workbooks, you can add the workbooks or update older workbooks with the following link: Workbooks installation

Please install the workbooks into the same resource group as your Azure Monitor/Log Analytics workspace.

Deploy the agent to a session host/worker

  1. Unzip your download and copy the files to folder C:\Program Files\sepago GmbH\Azure Monitor for WVD of one of your session hosts or Citrix Workers.

Configure the agent

First, test if a connection to your Log Analytics Workspace / Azure Monitor can be established. Run:
ITPC-LogAnalyticsAgent.exe --CustomerId "workspaceIdOfLogAnalyitcsWorkspace" --SharedKey "secretKeyOfLogAnalyitcsWorkspace" -v

If the connection can be established, store the parameter to the registry and register the agent to start with your virtual machine:
ITPC-LogAnalyticsAgent.exe --CustomerId "workspaceIdOfLogAnalyitcsWorkspace" --SharedKey "secretKeyOfLogAnalyitcsWorkspace" -s -i

You have to install the agent to all session hosts/workers in your environment. It's recommended to do this once on a template VM you are using as a golden image for your environment or using a software distribution solution.

Optional: If you have a valid license key, include it in your configuration with -l "license key". E.g: ITPC-LogAnalyticsAgent.exe --CustomerId "workspaceIdOfLogAnalyitcsWorkspace" --SharedKey "secretKeyOfLogAnalyitcsWorkspace" -l "licenseKey" -s -i

The configuration is stored in the registry at HKEY_LOCAL_MACHINE\SOFTWARE\sepago\Azure Monitor for EUC. Keys and passwords are encrypted to prevent abuse.

Hint: You can find your customerId and SharedKey if you open your Azure Monitor / Log Analytics workspace and click "Advanced Settings -> Settings". Use workspace id and primary key.

Optional configuration and command-line parameters

The agent has several other options to configure. Configure this if needed via the command-line. To get the list of parameters run ITPC-LogAnalyticsAgent.exe --help

  1. --CustomerId - enter your workspace id (mandatory)
  2. --SharedKey - enter your primary key of your workspace (mandatory)
  3. --UpdateIntervalInSeconds - time in seconds the agent sends data to your workspace (default: 60, recommended)
  4. --UseProxy - enable using a proxy for uploading data (default: false)
  5. --ProxyUri - proxy URL, if you use a web proxy
  6. --ProxyNeedAuthentication - logon to a proxy is requiered (default: false)
  7. --ProxyUserName - user name for a proxy authentication
  8. --ProxyPassword - password for a proxy authentication
  9. --UseHashesInsteadUserNames - if set, user names will be hashed / pseudo anonymization (default: false)
  10. --DataUploadEndpoint - optional: sets the data entpoint to another Azure resource. E.g. for Azure US Government Cloud use: -DataUploadEndpoint ods.opinsights.azure.us


The agent is installed as a scheduled task "ITPC-LogAnalyticAgent for RDS and Citrix" to start with the VM. The agent writes a log file into the installation folder. Default: C:\Program Files\sepago GmbH\Azure Monitor for WVD\Azure Monitor for WVD - Agent.log

You are ready now. For the first time, it takes some hours to see the data in Log Analytics. Be patient: When the data scheme is created and the first data are indexed it works fast.

Next step: Go to the download!