Sessionright

How to Upgrade Citrix® VDA: In-Place, Image and MCS Rollout Guide

By Jay H.Published Updated 10 min read

Jay H. · Founder, Sessionright
Founder of Sessionright. Twenty years running Citrix, NetScaler, Citrix Cloud, NetScaler Console, Azure and Azure Virtual Desktop estates; writes the guides and reviews the platform's rules.

Stuck on this right now? Talk it through with a Sessionright engineer: 15 minutes, free.

On the Citrix product matrix, Current Release (CR) 2503 reached end of life (EOL) on 29 October 2026, CR 2603 left maintenance on 30 October 2026, and 2203 LTSR reaches EOL on 23 March 2027. If your Virtual Delivery Agents (VDAs) run any of those, you need an upgrade plan now.

This guide covers the version decision, the right method for each machine type, the documented install parameters, MCS rollout and rollback, the VDA Upgrade Service, and the registration checks that prove the upgrade worked. Behaviour comes from the Citrix Virtual Apps and Desktops (CVAD) 2607 LTSR docs unless noted.

Choosing the version

The full dates are in our CVAD lifecycle guide. For a VDA, the realistic targets are below, with EOL dates from the product matrix:

Target EOL Use it when
2607 LTSR 17 August 2029 You want the longest runway and your operating systems are supported
2507 LTSR CU2 (2507.0.2100.2123, per the CU2 page) 18 August 2028 You have validated it, or want Windows Server 2019 on a release that has not deprecated it. Citrix calls that pairing "fully LTSR compliant" (CTX205549)
2402 LTSR 15 April 2029 You still run Windows Server 2016, which is not supported as a VDA OS from 2407 onward (VUS prerequisites)
2603 CR 30 October 2027 You need a CR feature. It is out of maintenance, and CVAD docs list it as the current release

Check these rules before you commit:

  • Skipping releases is normal. "You can almost always upgrade to the latest version and skip intermediate releases, unless explicitly stated in the What's new article" (upgrade FAQ). The source-version list in the 2607 upgrade article is still headed "2507 LTSR", so confirm your exact CU with Citrix if it matters.
  • Preview builds are a dead end. You cannot upgrade from an Early Release or Technology Preview version (considerations).
  • Check the OS. An unsupported OS stops the installer with a message such as "Cannot be installed on this operating system" (same page). 2607 still supports Windows 10 and Windows Server 2019 VDAs, but deprecates both.
  • Keep catalogs uniform. "Mixing VDA versions in a machine catalog is not recommended" (considerations).

Citrix also recommends testing the upgrade in a controlled environment first (upgrade article).

In-place upgrade vs image rebuild

Start from how the machine was built:

Machine type Upgrade method Way back
MCS non-persistent Upgrade the master image, then roll it out Roll Back Master Image
MCS persistent In place on each machine. Only new machines use a new image Your backup
Citrix Provisioning Upgrade the vDisk, doing the master target device software before the VDA (Citrix Provisioning docs) Your vDisk backup
Manually built, Remote PC Access In place, by hand, script or software distribution Restore point (single-session) or backup

Citrix does not rank a rebuild above an in-place upgrade of the VDA. The case for a rebuild comes from the OS. You can reimage to a supported OS, then install the latest VDA. A Windows in-place upgrade with the VDA left installed needs Windows 11 with KB5028185 (build 22621.1992 or later) or Windows 10 with KB5028311. Otherwise you must uninstall the VDA first. Printing can also fail after a Windows in-place upgrade, because the print provider order is reset (known issues).

Upgrade a machine in place

  1. Drain it. Turn on maintenance mode and let sessions close.

  2. Clear the machine. Close consoles and PowerShell sessions, restart to clear file locks and pending Windows updates, and stop and disable third-party monitoring agent services (preparation). The Print Spooler must be enabled and Windows Protected Print mode disabled (prepare to install).

  3. Back it up. Server VDAs need a manual backup. On single-session VDAs you can turn on restore on failure with /enablerestorecleanup, provided System Restore is not disabled by GPO (same page).

  4. Run the precheck from the mounted ISO. The docs print this path unquoted, but it needs quotes in a real shell:

    "D:\x64\XenDesktop Setup\XenDesktopVdaSetup.exe" /quiet /precheckonly /components vda
    

    Results go to the console and to %temp%\Citrix\XenDesktop Installer\PrecheckResult_{yyyyMMddHHmmss}.json, with fix suggestions for each failure (precheck).

  5. Run the upgrade with the installer type you used originally. Citrix warns against mixing single-session installers: a full installer can add components a Core install excluded, and a Core installer leaves full-install components unmanaged.

  6. Finish. Let the upgrade complete, re-enable your monitoring agents, leave maintenance mode, then run the registration checks below.

Command-line install parameters

The command-line reference defines these. Standalone VDAServerSetup.exe and VDAWorkstationSetup.exe take the same options as XenDesktopVdaSetup.exe. VDAWorkstationCoreSetup.exe takes only a subset.

Parameter Effect during an upgrade
/quiet No interface. The only evidence of progress is in Task Manager
/components vda VDA only. vda,plugins adds Citrix Workspace app. Not valid with the Core installer
/exclude "component" Omits an optional component, and takes precedence over /includeadditional. Citrix says uberAgent cannot be excluded starting with VDA 2511 (Install VDAs)
/noreboot Prevents the restart after installation. The VDA cannot be used until you restart
/noresume Stops the automatic resume after a restart, so your tooling controls it
/remove_pvd_ack, /remove_appdisk_ack Authorise removal of PvD and AppDisks components, which block the upgrade even if you never used them
/enablerestorecleanup Single-session only. Creates a restore point and removes it after success. Server VDAs ignore it
/logpath path Log location. The folder must already exist

A scripted upgrade of a VDA with no Workspace app might look like this:

"D:\x64\XenDesktop Setup\XenDesktopVdaSetup.exe" /quiet /components vda /remove_pvd_ack /remove_appdisk_ack /noreboot /noresume

From 2511 you can avoid hand-building that line. Select Generate custom script on the installer's Summary page to save your selections as a .bat or .ps1 file (Citrix docs). The media also carries a sample upgrade script, \Support\AdDeploy\InstallVDA.bat, which runs as a Group Policy startup script. Set DESIREDVERSION, DEPLOYSHARE and COMMANDLINEOPTIONS in it (Citrix docs). SCCM, Ansible and Intune have their own recommended sequences.

Your automation must handle return codes correctly. Citrix's list includes 0 success, 3 partial success with a restart needed, 8 success with a restart needed, 9 file lock restart, 13 failed precheck and 14 aborted on a pending restart check. In a task sequence, treat 0 or 8 as complete, then restart. On 3, restart and rerun XenDesktopVdaSetup.exe from %programdata%\Citrix\XenDesktopSetup\ with no parameters, until CitrixVirtualDesktopAgent.xml disappears from that folder.

If the install fails with error 1722 on CA_RunInstallAgent, close the installer, rebuild Windows Performance Counters, restart and try again (known issues). The Meta Installer Helper Tool in \Support\Tools\MetaInstallerHelperTool analyses install logs for you.

MCS image update and rollback

Finish the Controllers and database first. Citrix says you must upgrade them before catalog and Delivery Group tasks "to avoid failures" (procedure). All steps below come from Manage machine catalogs.

Roll out the upgraded image

  1. On the hypervisor, take a snapshot of the current image VM and name it clearly. This is your rollback point.
  2. Power on the image, log on, then run the precheck and the upgrade as above.
  3. Power off the VM and take a second named snapshot. Citrix recommends the hypervisor console over letting Web Studio create it, so you control the name.
  4. In Web Studio, go to Machine Catalogs, select the catalog, and select Change Master Image.
  5. On the Image page, select the host and image. On Rollout Strategy, choose next shutdown or immediately. Then select Finish.

Three behaviours catch people out:

  • New sessions wait. New sessions cannot launch until the update has finished on applicable machines.
  • Multi-session machines do not restart themselves with the next shutdown option. Restart them from Studio, PowerShell or Workspace. A restart from inside the machine or on the hypervisor does not apply the update.
  • Persistent catalogs skip existing machines. The Rollout Strategy page does not appear for them.

On MCSIO catalogs, check the known issue where a Windows Server 2019 machine on VDA 2607 attaches an empty write-cache disk. The fix is a CVhdFilter registry setting on the master image (known issues).

Roll back

  1. In Web Studio, select the catalog under Machine Catalogs.
  2. Select Roll Back Master Image and choose when to apply it.
  3. Watch the progress bar on the catalog. Each affected machine restarts, and machines that never took the new image are left alone.

The rollback needs the old image, so do not delete, move or rename it. To list what the catalog can return to, run:

Get-ProvSchemeMasterVMImageHistory -ProvisioningSchemeName MyScheme -Showall

Rolling back gets riskier if you raised the functional level during the upgrade. In the SDK's words, machines below the new minimum "will immediately cease to function". Use Undo Functional Level Change on the catalog before you put older VDAs back.

VDA Upgrade Service

The VDA Upgrade Service (VUS) upgrades persistent VDAs from the console. Non-persistent MCS catalogs are out of scope, because they follow the image path above.

For Citrix DaaS, the prerequisites are VDA 2109 CR or 2203 LTSR or later, the VDA Upgrade Agent, and an upgrade track set on the catalog:

Set-VusCatalogUpgradeType -CatalogName "Workstation catalog" -UpgradeType LTSR

Setting the track upgrades nothing. You start each upgrade yourself, immediately or up to 7 days ahead (scheduling). Key controls on that page:

  • Concurrency and failure threshold. Citrix says upgrades average around 30 minutes. With 100 VDAs, a concurrency of 10 and a threshold of 3, at least 13 attempt the upgrade before the rest are cancelled if all fail.
  • Sessions. A session that lasts the whole window cancels the upgrade for that VDA. Forced logoff warns active users 10 minutes ahead, and it can lose unsaved work.
  • Rings. Catalog upgrades can target machines with a specific tag, so you can pilot first.
  • The Up to date trap. If the target version dropped your OS, VUS does not offer it and reports the VDA as Up to date.

Also, a VDA you put into maintenance mode manually will fail to upgrade, and Autoscale keeps power managing machines during the window, so consider disabling its schedules on the Delivery Group (prerequisites).

On-premises CVAD: treat it as preview. The 2607 VUS pages exist and describe Set-VusSite -Enabled $true plus a metadata import from the ISO (prerequisites). However, 2503 What's new labelled it Preview, the 2607 page carries a Technical Preview notice saying Citrix accepts no support cases for such features, and Install VDAs still calls the agent "applicable only to Citrix DaaS". We found no statement that it is generally available, so ask Citrix before you use it in production.

Registration checks after upgrade

A VDA "cannot deliver apps or a desktop to users until it registers" (Citrix docs). Prove that per catalog. Get-BrokerMachine is deprecated, so use Get-BrokerMachineV2, introduced in 2511:

$p = 'MachineName','AgentVersion','PowerState','RegistrationState','LastDeregistrationReason'
$m = Get-BrokerMachineV2 -CatalogName 'Win11-Prod' -MaxRecordCount 10000 -Property $p

## Expect one AgentVersion across the catalog
$m | Group-Object AgentVersion | Select-Object Count, Name

## Powered-on machines that did not register, and why
$m | Where-Object { $_.RegistrationState -ne 'Registered' -and $_.PowerState -ne 'Off' } |
     Select-Object MachineName, AgentVersion, RegistrationState, LastDeregistrationReason

On Controllers older than 2511, use Get-BrokerMachine without -Property.

Reasons such as IncompatibleVersion or FunctionalLevelTooLowForCatalog point at the version layer. Our VDA unregistered guide maps each reason to a fix. Then repeat your site-level checks with the Citrix health check checklist.

FAQ

How do I check the Citrix VDA version?

Use Programs and Features on the machine, or AgentVersion from Get-BrokerMachineV2. Studio's Installed VDA version entry on a Delivery Group "might not be the version installed", per Citrix.

What is the Citrix VDA upgrade path?

You can usually go straight to the target and skip releases, unless that version's What's new article says otherwise. The limit is the OS: if the target dropped it, stay on the last valid VDA or rebuild.

What does Citrix VDA exit code 3 mean?

It means PartialSuccessAndRebootNeeded, so the install is not finished: restart and resume. Exit code 9 is FileLockReboot, and 8 is success with a restart needed.

Where is the Citrix VDA install log?

The default is %TEMP%\Citrix\XenDesktop Installer. VUS upgrades log to C:\Windows\Temp\Citrix\XenDesktop Installer or C:\Windows\SystemTemp\Citrix\XenDesktop Installer (Citrix docs).

Do I have to upgrade VDAs after upgrading Controllers?

No. "You do not have to upgrade VDAs", but Citrix recommends it so you can use all features, and registration issues can occur with non-current versions (considerations).

Want a second pair of eyes?

The Sessionright assessment checks your Citrix site, from Controller and VDA versions to licensing state, so you can see what needs upgrading first. It is read-only, and an expert reviews the report before it reaches you. Sessionright for Citrix is read-only by default too: every change it proposes waits for your approval and is logged (security model). If you would rather talk it through, book a 15-minute call: no install, no sales deck.

Sources

Want these checks and evidence reviewed with an engineer?

Sessionright assesses Citrix sites and NetScaler® Gateway with read-only access and attaches the evidence to its findings. Citrix assessment is read-only today; a Sessionright engineer guides manual work. Nightpatch provides NetScaler upgrade plans. 90-day free Operator pilot, then 50% off year 1; list price at signing held to month 24. Engineer-led assessments are 50% off for design partners. It has run against simulated estates and Sessionright's own Azure lab tenant so far. Outside the program the onboarding assessment is $5,500, one site, up to 1,000 users, up to 2 HA pairs.

Not ready for that? Talk to a Sessionright engineer: 15 minutes, free, and you leave with a next step.

Or get the next guide by email. One email per new guide, no marketing list.

New Sessionright guides by email. No marketing drip; unsubscribe in one click.

Related guides

Citrix and NetScaler are trademarks of Citrix Systems, Inc. and/or its affiliates. Azure is a trademark of the Microsoft group of companies. Sessionright is not affiliated with or endorsed by Cloud Software Group, Citrix or Microsoft.