Windows VMs can inherit the wrong driver update settings from the template

Windows VMs can inherit the wrong driver update settings from the template

book

Article ID: CTX477510

calendar_today

Updated On:

Description

When creating a Windows VM from a template that is set to not automatically update its drivers using Windows Update, the created VM is incorrectly set to update its drivers using Windows Update.

Resolution

To prevent this from happening on future VMs created from the template

  1. Run the following command in the console of your Citrix Hypervisor pool: 
  • xe pool-param-set policy-no-vendor-device=true uuid=<pool-uuid>

Note: This command ensures that future VMs created from the template are correctly set to not automatically update drivers.



To fix any VMs that are already experiencing this issue:

Complete the following steps for each VM:

  1. Install the latest version of the Citrix VM Tools for Windows (9.3.1 or later) from the MSI. Ensure that you deselect "Install Drivers Now". 
  2. Start the command prompt as administrator
  3. Run the following command: C:\Program Files\Citrix\XenTools\Uninstall.exe purge
  4. Shutdown the VM
  5. In the console of your Citrix Hypervisor pool, run the following command: xe vm-param-set has-vendor-device=false uuid=<vm-uuid>  
  6. Start the VM
  7. On the VM, start the command prompt as administrator
  8. To reinstall the Citrix VM Tools, run the following command: C:\Program Files\Citrix\XenTools\Uninstall.exe install