XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Disable "Manage Citrix PV drivers via Windows Update" after VM creation

    Scheduled Pinned Locked Moved Management
    9 Posts 3 Posters 1.2k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K Offline
      KPS Top contributor
      last edited by

      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

      K 1 Reply Last reply Reply Quote 1
      • K Offline
        KPS Top contributor @KPS
        last edited by

        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...

        A 1 Reply Last reply Reply Quote 0
        • A Offline
          Andrew Top contributor @KPS
          last edited by

          @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).

          K 1 Reply Last reply Reply Quote 0
          • K Offline
            KPS Top contributor @Andrew
            last edited by

            @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?

            A 1 Reply Last reply Reply Quote 0
            • A Offline
              Andrew Top contributor @KPS
              last edited by

              @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.

              K 1 Reply Last reply Reply Quote 0
              • K Offline
                KPS Top contributor @Andrew
                last edited by

                @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...

                ForzaF 1 Reply Last reply Reply Quote 0
                • ForzaF Online
                  Forza @KPS
                  last edited by Forza

                  @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.

                  K 1 Reply Last reply Reply Quote 0
                  • K Offline
                    KPS Top contributor @Forza
                    last edited by KPS

                    @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

                    ForzaF 1 Reply Last reply Reply Quote 0
                    • ForzaF Online
                      Forza @KPS
                      last edited by Forza

                      @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.

                      1 Reply Last reply Reply Quote 0
                      • K KPS referenced this topic on
                      • First post
                        Last post