Unable to install VDA using SCCM as the Xendesktopvdasetup.exe crashes

book

Article ID: CTX695369

calendar_today

Updated On:

Description

Based on the dump file,  it appears that the Management Interface (MI) attempted to start a new process of itself. This behavior typically only occurs when the !Xendesktop key is present in the Windows Registry.

Cause

!Xendesktop key is present in the Windows Registry.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce

Resolution

Check if the following registry key exists on your system:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce

If you find a key named !Xendesktop, then you should delete it and that will resolve the issue.

Issue/Introduction

A System Center Configuration Manager (SCCM) task sequence is failing to upgrade the Virtual Delivery Agent (VDA) on persistent Windows 10/11 machines.

 Able to reproduce the installation failure by following these steps when gathered the provided crash dump:

  1. Used PSSession to remotely access the destination VDA's PowerShell.
  2. Attempted to install VDA 2503 using a specific command:-VDAWorkstationSetup_2503.exe /components VDA /controllers "DDC1.COM DDC2.COM" /enable_ss_ports /enable_hdx_ports /enable_hdx_udp_ports /enable_real_time_transport /enable_remote_assistance /quiet /noreboot /noresume /logpath "C:\temp" /disableexperiencemetrics /mastermcsimage
  3. The installer crashed, logging Event ID 1000 for XenDesktopVDASetup.exe, see below screenshot
  4. No installation logs were created in the specified path.

image.png