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.