Skip to content

ChayScripts/Citrix-VDA-Upgrade-Scripts

Repository files navigation

Citrix-VDA-Upgrade-Scripts

Scripts to upgrade Citrix VDA agent

Description

Upgrade Citrix VDA agent from one version to another version. Example 7.15 LTSR to 1912 LTSR.

Prerequisites

Download VDAWorkstationSetup_1912.exe from citrix downloads page.

Usage

  • Customize and copy install.bat, remove.bat and VDAWorkstationSetup_1912.exe to a network share.
  • Run VDA upgrade.ps1 file. It will copy install.bat, remove.bat, and VDAWorkstationSetup_1912.exe from network share to c:\temp on every VDI in the list.

How does it work

  • Creates Scheduled tasks - One for uninstalling existing VDA agent and another for installing new VDA agent.
  • Executes VDAUninstall scheduled task first. This scheduled task runs after 3 minutes it is created. Once started, it runs remove.bat file and restarts the VDA.
  • After reboot, it runs VDAInstall scheduled task. This scheduled task runs install.bat file. No user login is required.
  • After installation is complete, it deletes install.bat, remove.bat, VDAWorkstationSetup_1912.exe files from c:\temp and also deletes VDAuninstall, VDAInstall scheduled tasks.

Built With

Authors

Contributing

Please follow github flow for contributing.

License

This project is licensed under the MIT License - see the LICENSE file for details