Citrix or XCP-ng drivers for Windows Server 2022
-
@dinhngtu What do I do to install only the management agent for the Windows Update option? What file should I download?
-
You simply install the XenServer tools as usual, making sure to disable driver installing and auto-updating in the setup wizard:

-
@dinhngtu Thank you. I think it is clear for me now.
The docs at https://xcp-ng.org/docs/guests.html#windows could be improved to cover all three options but also to be a little more concise to make it easier to read.
-
@dinhngtu We're running the old xcpng Windows drivers on 2 Windows 2022 servers.
We would like to change them to the latest Citrix 9.4.0 ones.How can we do this?
-
@Forza as you know it very well now, I think that would be wonderful if you could provide an update to the doc directly. Would you like to try?
-
@manilx You can use the XenClean tool from our 9.0.9000 driver release: https://github.com/xcp-ng/win-pv-drivers/releases/tag/v9.0.9000.0
Just go into
package\XenClean\x64and runInvoke-XenClean.ps1as admin, it will remove all existing drivers and automatically reboot.
Afterwards you can install the Citrix 9.4.0 tools.Note: Please make sure to take a snapshot before running the tool.
-
@dinhngtu Thx for the info.
Actually trying to do this I realized that I have installed the Citrix 9.4.0 tools on top of the xcpng ones
when they came out (forgot that I had the xcpng ones installed on those 2 servers, dumb me) But as all was working I just realized this now.
I used the batch anyway and it removed the tools, reinstalled the Citrix ones, had to reenter the IP4 config but all working after that. -
(In regards to uninstalling XenServer / Citrix Tools)
I tested uninstalling XenServer tools v9.4.0 on Windows and it seems to uninstall cleanly. (the xcp-ng docs mention there have been problems uninstalling everything cleanly in the past)
Also since XenServer tools v9.3.1 there is a new purge function:
uninstall.exe purge - (9.3.1 and later) Resets the VM to a clean state as it was before any part of the XenServer VM Tools were installed.
Full uninstall of all XenServer VM Tools components
https://docs.xenserver.com/en-us/citrix-hypervisor/vms/windows/vm-tools.html#full-uninstall-of-all-xenserver-vm-tools-componentsWhat does the purge option remove?
https://docs.xenserver.com/en-us/citrix-hypervisor/vms/windows/vm-tools.html#what-does-the-purge-option-remove -
Thanks for this.
-
S Statitica referenced this topic on
-
Small warning: XenTools are still a clusterfuck.
On (allmost) all machines without our main environment it keeps the ip-configuration within the Realtek emulated NIC and never transfers it to the Xen device.
It's fucked for long now - but doesn't matter if all VMs are getting their IPs via DHCP.Currently struggling with: Windows Server 2016 + XenTools/Management 9.4.2.
At least it didn't break the whole VM by destroying the disk device drivers this round.tl;dr: Snapshot your VMs and have a documentation at hand, when upgrading the tools/drivers.