This message was deleted.
# _general
s
This message was deleted.
a
I'm not sure if it's the same thing you are dealing with but I was hunting for a reliable method to automate a vda cleanup followed by a new install of the newer vda and find one a great one shared in the forums from @Carl Stalhood. I made a few small tweaks to it to add a few reg keys after and so far working great (I've set it up as a control up script too and let's me easily do it in bulk). If this is not at all what you are dealing with feel free to ignore this but if interested let me know and I'll send a link in the morning when I'm at my computer
v
you are correct that’s what I am looking for. I would be glad to see the script.
a
and this is the forum thread in case theres any useful info there for you . https://discussions.citrix.com/topic/401136-how-to-automate-unattended-vda-upgrade/#comment-2060060
v
thank you for these, I am trying for the last couple of times to squeeze VDA install into SCCM task sequence before switching to scripts. Not returning error codes (Workspace app) or adding keys to “runonce” (VDA) and wait till admin user logs on does not make my life any easier.
a
yup i hear ya there! good to have options and backup plans at least i figure!
v
OK, just for consistency decided to stick to task sequence for VDA and Workspace app update. Ended up with 20 line task sequence. 9 of them are reboots. so far worked on the last 5 machines I tried. Started with 2 passes of Citrix VDA cleanup utility (as sometimes it does not work in one go). Then had a fight with error code “3”, which might be either case 1 -“everything is installed but I still want to reboot” or case 2 -“well, reboot me first and then continue install”. To tell them apart I added checks for C:\Program Files\Citrix\Virtual Desktop Agent\BrokerAgent.exe. If it’s there and version is 1912 (7.24.0.45) version, that means case 1, if not, then case 2.