Unable to install VDA - installation does not start after reboot.

Unable to install VDA - installation does not start after reboot.

book

Article ID: CTX310747

calendar_today

Updated On:

Description

XenDesktopVDASetup.exe is seen to be spawning and looping indefinately but not installing the software.


image.png
 

Resolution

On VDA set the DisableLocalMachineRunOnce to Zero and restart the vda.
Path : HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\
Value Type : REG_DWORD
Value Name : DisableLocalMachineRunOnce
Value : 0

 

Problem Cause

When VDA installation requires reboot it leaves a registry key in RunOnce, so after reboot the installation should continue:

14:24:24.0740       : XenDesktopSetup:SetRegValue: Registry value C:\ProgramData\Citrix\XenDesktopSetup set successfully Software\Citrix\MetaInstall MetaInstallerInstallLocation
14:24:24.0740       : XenDesktopSetup:InstallationManager.PrepareInstallationToResumeAfterReboot: Adding string value to 'RunOnce' sub-key. Value Name: '!XenDesktopSetup', Value: 'C:\ProgramData\Citrix\XenDesktopSetup

The RunOnce functionality is disabled by operating system  by setting the below registry.

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisableLocalMachineRunOnce

If you enable this policy setting, the system ignores the run-once list.

If you disable or do not configure this policy setting, the system runs the programs in the run-once list.