Disable "Manage Citrix PV drivers via Windows Update" after VM creation
-
Hi!
I want to disable "Manage Citrix PV drivers via Windows Update" for a production VM - running Windows 2022.
Is there anything "additional" to do to remove that feature from the VM?
When I enable it, it does install some components at the next windows-update-task, but I did not find any point to remove that component.
Best wishes
KPS -
Just a hint for others: DONT
I tried to disable the "driver management" and did reboot -> Everything fine
After the second reboot, the system does only start a blue-screen.
I did open a ticket to investigate, but currently, I can only warmly advice, not to try it...
-
@KPS Snapshot is your friend! With the high chance of failure it's good to be able to go back in time when things worked.
I have done this (both XCP and Citrix drivers). Using uninstall for the management agent is just part of it. The actual device drivers and driver software has to be removed from windows. On a reboot, windows should reinstall the default drivers the next time.
It's a manual process to expunge the old stuff so windows does not fail. There was a tool someone wrote that helped identify what was still on the system and needed to be removed.
For now I use the XenServer/Citrix management and drivers on windows (and leave the manage drivers enabled).
-
@Andrew
Thank you for your answer. I did a snapshot, but as the problem did only start at the second reboot, I did already discard it...Why do I need to remove tools, if I only want to disable the "external management"/auto-update?
Is this really the only option? -
@KPS If you just turn off the manage option in XCP then everything should still be ok. The Citrix/XenServer management software still does its own updates. Disabling the option in XCP/XO does not actually remove or disable anything in Windows.
I read your post as you wanted to remove all the installed drivers and software.
If you do something this dangerous, it helps to keep the snapshot around for a few reboots/updates (as you found out). The downside is that if the system data changes and then you have to revert you lose what changed.
-
@Andrew
I only wanted to disable the "external management". As soon, as I disable it, the second reboot (and the following ones) are failing with a blue screen.I just do not really understand, what that option really does...
-
@KPS said in Disable "Manage Citrix PV drivers via Windows Update" after VM creation:
I just do not really understand, what that option really does...
This options controls which drivers to use for the virtual hardware. You can use the Citrix drivers that come automatically via Windows update or the Xcp-ng drivers that come from vates. The virtual hardware has different device ids depending on this setting. Generally it is very difficult to switch from one set of drivers to another.
Read about it https://xcp-ng.org/docs/guests.html#windows and then decide which option suits you.
-
@Forza said in Disable "Manage Citrix PV drivers via Windows Update" after VM creation:
The xcp-ng drivers are available here https://github.com/xcp-ng/win-pv-drivers/releases
Antworten
But I am using the Citrix-tools! So I do not understand, why the system crashes, if I disable the management...
I did never switch or use the XCP-ng drivers
-
@KPS Because you changed the virtual hardware when disabling the option.Windows now see xcp-ng pci devices instead of Citrix pci devices, and you dont have the xcp-ng drivers installed - i.e. blue screen during boot because Windows cannot access the virtual harddisk.
-