HappySCCM

citrix vda upgrade task sequence

/

/

Update Citrix VDA with SCCM Task Sequence


Citrix is not great


Install VDA Step 1 (Important bits bold):
VDAWorkstationSetup_2206.exe /controllers “controller1 controller2 controller3 controller4” /remotepc /quiet /noreboot /noresume /enable_remote_assistance /logpath “C:\Windows\Temp” /enable_hdx_ports /enable_hdx_udp_ports /components vda /includeadditional “Citrix VDA Upgrade Agent”

Options:
Success Codes 0 8 3



Restart Computer:
The currently installed default operating system

Options:
Conditions
_SMSTSLastActionRetCode Not equals 0
_SMSTSLastActionRetCode Not equals 8


Install VDA Step 2:
Command line: %ProgramData%\Citrix\XenDesktopSetup\XenDesktopVdaSetup.exe

Options:
Success Codes 0 8 3
Conditions
_SMSTSLastActionName equals ‘Restart Computer’

Restart Computer:
The currently installed default operating syste

Options:
Conditions
_SMSTSLastActionRetCode Not equals 0
_SMSTSLastActionRetCode Not equals 8

Install VDA Step 3:
Command line: %ProgramData%\Citrix\XenDesktopSetup\XenDesktopVdaSetup.exe

Options:
Success Codes 0 8 3
Conditions
_SMSTSLastActionName equals ‘Restart Computer’

Restart Computer:
The currently installed default operating syste

Options:
Conditions
_SMSTSLastActionRetCode Not equals 0
_SMSTSLastActionRetCode Not equals 8

Install VDA Step 4:
Command line: %ProgramData%\Citrix\XenDesktopSetup\XenDesktopVdaSetup.exe

Options:
Success Codes 0 8 3
Conditions
_SMSTSLastActionName equals ‘Restart Computer’

Restart Computer:
The currently installed default operating syste

Options:
Conditions
_SMSTSLastActionRetCode Not equals 0
_SMSTSLastActionRetCode Not equals 8

Install VDA Step 5:
Command line: %ProgramData%\Citrix\XenDesktopSetup\XenDesktopVdaSetup.exe

Options:
Continue on Error
Success Codes 0 8 3
Conditions
_SMSTSLastActionName equals ‘Restart Computer’

Restart Computer:
The currently installed default operating syste

Options:

Conditions
_SMSTSLastActionRetCode Not equals 0
_SMSTSLastActionRetCode Not equals 8

Restart computer:
Options:
NA




  1. Robert Weigand Avatar
    Robert Weigand

    Thnx and hug! I feel your pain! 🙂

  2. Robert Weigand Avatar
    Robert Weigand

    Hello Jay, thanks for the helpful post!
    Any chance you could share the exported TS (.zip file)?
    Greets, RW

  3. […] Use a Task Sequence to update Citrix VDA […]

  4. jay Avatar
    jay

    Can you share the package? mu201693?

    1. Jay Connor Avatar
      Jay Connor

      You need to download the VDA installer from the Citrix downloads portal

  5. Nate Avatar
    Nate

    Do you by chance have a post regarding installation of VDAServerSetup via SCCM?

    1. Jay Connor Avatar
      Jay Connor

      No, I don’t really manage Citrix, but was helping out another team in that scenario

  6. Cotter Avatar
    Cotter

    How is your package setup for the vda.exe installer? I am doing the same thing and for some reason the TS can’t seem to access it to run the CMD line you have setup. I have an application I made that has no issues running but like everyone else here it gets stuck on a reboot and then I have to manually go login and continue the install so I am looking at this TS option to smooth things out since I need to deploy to 500ish VDI’s.

    1. Jay Connor Avatar
      Jay Connor

      I think it just had the file in there. Citrix sucks, may need to check your logs

  7. Carlos B Avatar
    Carlos B

    Thanks for this thread, as on the citrix portal it does not speak about the programdata folder, i have looked trough all the documents and no where does it refer to this.
    even tho it’s a old solution it helps to create a new script in powershell to do the same.

Leave a Reply

Your email address will not be published. Required fields are marked *