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

    XCP-ng Windows PV tools announcements

    Scheduled Pinned Locked Moved News
    103 Posts 19 Posters 29.8k Views 21 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.
    • A Offline
      archw
      last edited by archw

      Just wanted to clarify something.

      Prior to installing xcpng-winpv-9.1.100.0-Release-x64.zip, I ran Invoke-XenClean.ps1 that came with the package.

      Is is still true that, in order to install (upgrade to) xcpng-winpv-9.1.145.0-Release-x64, I have to run XenClean.exe again and then run the new installer?

      Its just a lot of reboots, resetting static ip addresses etc.

      D 1 Reply Last reply Reply Quote 0
      • D Offline
        dinhngtu Vates 🪐 XCP-ng Team @archw
        last edited by

        @archw XenClean is not needed when upgrading; it's only needed when switching tools vendor, or when switching from the old XCP-ng 8.2 tools.

        The XCP-ng 9.1 tools installer will block installation and indicate an error whenever XenClean is needed.

        A 1 Reply Last reply Reply Quote 0
        • A Offline
          archw @dinhngtu
          last edited by

          @dinhngtu
          You rock - thank you!

          1 Reply Last reply Reply Quote 0
          • D Offline
            dinhngtu Vates 🪐 XCP-ng Team
            last edited by

            Hello all,

            XenClean 9.1.148 Prerelease is now available with a fix for error 1605 during execution.

            This is a XenClean-only prerelease.

            https://github.com/xcp-ng/win-pv-drivers/releases/tag/v9.1.148

            1 Reply Last reply Reply Quote 2
            • D Offline
              dinhngtu Vates 🪐 XCP-ng Team
              last edited by

              Hello all,

              XenClean/XenBootFix 9.1.152 have been released.

              This release fixes VSA-2026-012 (DLL sideloading vulnerability in XenClean and XenBootFix).

              If your VM is running 9.1.146, you don't need to update. You just need to replace any XenClean and XenBootFix files you downloaded.

              The package\XenClean and package\XenBootFix directories contain fixed versions of the aforementioned tools.

              package\XenTools-x64.msi has not changed from version 9.1.146, and is only provided as a convenience. The installation MSI does not include the fixed XenBootFix.

              You must use the one from package\XenBootFix or download the tool directly from GitHub!

              The next release of the XCP-ng Windows Guest Tools will contain a fixed version of XenBootFix.

              Get it here: https://github.com/xcp-ng/win-pv-drivers/releases

              1 Reply Last reply Reply Quote 1
              • D Offline
                dinhngtu Vates 🪐 XCP-ng Team
                last edited by

                Hello all,

                Version 9.1.200 Release of the Windows PV tools has been released.

                Download the latest release here: https://github.com/xcp-ng/win-pv-drivers/releases

                It will be integrated into the XCP-ng built-in tools ISO after a test period of 2 weeks.

                This release brings bug fixes and improvements to the PV drivers.

                Changes since 9.1.146/9.1.152

                • Improved: Update XSTDVGA to v0.1.124.1151; add extra resolutions
                • Fixed: Better compatibility with Xen block backends with large sector sizes
                • Fixed: Fix more network unplug issues
                • Improved: Driver optimizations
                1 Reply Last reply Reply Quote 2
                • A Offline
                  abudef @abudef
                  last edited by

                  abudef said:

                  I was thinking more of updating the entire set of the agent and drivers, similar to how XenServer VM Tools for Windows have it implemented. Using a scheduled job, they regularly check whether an update is available, and if so, they carry out the update of both the agent and the drivers themselves.

                  Hi, how’s it looking regarding a possible automatic update?

                  D 1 Reply Last reply Reply Quote 0
                  • D Offline
                    dinhngtu Vates 🪐 XCP-ng Team @abudef
                    last edited by

                    @abudef An overhaul of the guest agent is coming. We're considering adding some kind of update notifications as part of that overhaul, but it'll take some time to suss out the details. Autoupdating the Xen drivers is potentially disruptive and I'd prefer avoiding outages arising from an update coming at a bad time.

                    1 Reply Last reply Reply Quote 3
                    • D Offline
                      dinhngtu Vates 🪐 XCP-ng Team
                      last edited by dinhngtu

                      Hello all,

                      Version 9.2.350 Release of the Windows guest tools has been released.

                      Download the latest release here: https://github.com/xcp-ng/win-pv-drivers/releases

                      It will be integrated into the XCP-ng built-in tools ISO after a test period of 2 weeks.

                      This major release brings a new Windows guest agent with many new features, plus multiple other improvements.

                      To download XenClean, click here. The installer downloads also includes a copy of XenClean and XenBootFix. It is not necessary to run XenClean when upgrading from previous versions of the XCP-ng Windows guest tools, unless prompted by the installer. Remember to carefully read XenClean docs before use.

                      Note: Always download the latest XenClean/XenBootFix from https://github.com/xcp-ng/win-pv-drivers/releases

                      Before installing

                      Thank you for using our Windows PV tools. Please carefully read the instructions below.

                      • It is not necessary to run XenClean when upgrading from previous versions of the XCP-ng Windows guest tools, unless prompted by the installer.
                      • Not compatible with the "Manage Citrix PV drivers via Windows Update" option. You must disable this option before installing.

                      Changes since 9.1.200

                      • NEW: Overhauled Windows guest agent with many new features:
                        • Supports configuring guest IP addresses from within the host using xe vif-configure-ipv4 and xe vif-configure-ipv6.
                        • Session agent now gains a tray icon and About dialog.
                        • Improved clipboard sync stability and accuracy.
                        • Better reporting of OS versions.
                        • Time sync is now integrated with W32Time. NTP is now the only recommended setup for time sync on XCP-ng Windows guests.
                      • Improved: Update XSTDVGA to v0.1.211.1039; improve compatibility.
                      • Improved: Better reporting of IPv6 addresses.
                      • Fixed: Better network stability during high load.
                      • Fixed: Storage driver bug fixes.
                      • Fixed: Better installer resilience when the offboard task is pending.

                      Help / Community support

                      If you encounter installation/uninstallation errors, please try again with one of the following commands:

                      For installing:
                      msiexec.exe /i XenTools-x64.msi /log install.log
                      
                      For uninstalling:
                      msiexec.exe /x XenTools-x64.msi /log uninstall.log
                      

                      Please include this log along with the file C:\Windows\INF\setupapi.dev.log in your bug report. These files will help us troubleshoot any installation issues.

                      Additionally, please report any errors or BSOD you encounter during testing of this release. Your feedback is very appreciated.

                      • Discussion: https://xcp-ng.org/forum (preferred)
                      • Issue Tracker: https://github.com/xcp-ng/xcp/issues
                      • IRC: #xcp-ng and #xcp-ng-dev on irc.freenode.net

                      Full Changelog: https://github.com/xcp-ng/win-pv-drivers/compare/v9.1.200...v9.2.350
                      Original build: https://github.com/xcp-ng/win-pv-drivers/actions/runs/31088530595

                      G C 2 Replies Last reply Reply Quote 2
                      • G Offline
                        Greg_E @dinhngtu
                        last edited by

                        @dinhngtu

                        Let me ask a question... Since the ability to set IP has been given in xe commands, will we be getting this ability through XO in the future? That would be really nice and would also help prevent shifting IP address when the driver updates.

                        Also what about NTP timing, if it is joined to a windows domain, will it still work using the domain controller as the time reference? I assume yes, but worth asking.

                        I normally have my hosts sync to GPS ntp server, the AD guests also sync to same ntp server, and all clients and member servers sync to AD (physical or virtual).

                        D 1 Reply Last reply Reply Quote 1
                        • D Offline
                          dinhngtu Vates 🪐 XCP-ng Team @Greg_E
                          last edited by

                          @Greg_E NTP sync assist will work with any W32Time time sources, AD or external.

                          1 Reply Last reply Reply Quote 0
                          • C Offline
                            clip @dinhngtu
                            last edited by clip

                            @dinhngtu Thank you for the nice update. Just wondering, is it/will it be possible to disable the tray icon somehow (if an additional icon in the tray is not desired)? Even a persistent reg entry would be fine if too much hassle to add option to installer.

                            D Y 2 Replies Last reply Reply Quote 0
                            • D Offline
                              dinhngtu Vates 🪐 XCP-ng Team @clip
                              last edited by dinhngtu

                              @clip Just right-click the icon and select Hide, which will stick across reboots for you. You can also set this via Registry (using GP preference if you wish):

                              Windows Registry Editor Version 5.00
                              
                              [HKEY_CURRENT_USER\SOFTWARE\XCP-ng\XenPlus]
                              "ShowTrayIcon"=dword:00000000
                              
                              C 1 Reply Last reply Reply Quote 1
                              • C Offline
                                clip @dinhngtu
                                last edited by

                                @dinhngtu Fantastic - thank you for thinking of and including that!

                                1 Reply Last reply Reply Quote 0
                                • Y Offline
                                  yomeyo @clip
                                  last edited by yomeyo

                                  @dinhngtu Thank you, is it possible to set globally for all (new and existing) users when unable to use GPP?

                                  D 1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    dinhngtu Vates 🪐 XCP-ng Team @yomeyo
                                    last edited by dinhngtu

                                    @yomeyo For now, there's no easy way to set for everyone without GPP. You can modify the setting for existing users via HKEY_USERS and future users by editing the C:\Users\Default\NTUSER.DAT hive.

                                    J 1 Reply Last reply Reply Quote 0
                                    • J Offline
                                      john.c @dinhngtu
                                      last edited by john.c

                                      @dinhngtu said:

                                      @yomeyo For now, there's no easy way to set for everyone without GPP. You can modify the setting for existing users via HKEY_USERS and future users by editing the C:\Users\Default\NTUSER.DAT hive.

                                      @dinhngtu Thanks for pointing out the ShowTrayIcon key under HKCU\SOFTWARE\XCP-ng\XenPlus.

                                      Since a full Group Policy Administrative Template (ADMX/ADML) option isn't available right now to natively enforce this across fleets of VMs, modifying individual user profiles or loading NTUSER.DAT can be a bit fragile for automated deployments. As a cleaner stopgap, could we implement a cascading fallback check directly inside the Xen Guest Agent binary?

                                      The logic would look like this when the agent checks whether to draw the icon:

                                      Check HKLM (System-Wide Enforced Policy):

                                      HKLM\SOFTWARE\XCP-ng\XenPlus -> "ShowTrayIcon"

                                      If this key exists (e.g., set to 0), the agent respects it globally for all users and ignores everything else. Fallback to HKCU (Per-User Choice).

                                      If the HKLM key is absent, the agent falls back to the existing user-level path:

                                      HKCU\SOFTWARE\XCP-ng\XenPlus -> "ShowTrayIcon"

                                      If this path is also absent, it defaults to showing the icon (1). Adding this hierarchical lookup is usually just a few extra lines of code in the agent's initialisation routine. It completely removes the need for sysadmins to hack the default profile template, making it incredibly easy to hide the icon universally via a single standard command (like reg add HKLM...) during an automated deployment script or MDM push. Let me know if that's something feasible to roll into a minor update for the Guest Agent!

                                      Implementing this will also lay the foundation groundwork for a later group policy enforcement, of this setting.

                                      @yomeyo I’ve requested an addition to the Windows PV tools which would make a good stop gap, until they can add group policy support.

                                      D 1 Reply Last reply Reply Quote 0
                                      • J Offline
                                        john.c
                                        last edited by john.c

                                        @dinhngtu Along with my above request, can we please have the option of an integration with the Windows Event Log?

                                        Having this integration would drastically help with managing fleets of Windows or Windows Server-based VMs, as managing and monitoring flat log files across dozens of machines is very difficult. If the guest agent could log its status, version handshakes, and errors directly to a dedicated Event Log source, sysadmins could easily ingest those flags using standard centralized monitoring tools.

                                        1 Reply Last reply Reply Quote 0
                                        • D Offline
                                          dinhngtu Vates 🪐 XCP-ng Team @john.c
                                          last edited by

                                          @john.c I'll consider adding relevant GPOs for this. There's no real complexity difference compared to normal Registry settings.

                                          As for event logs, what information do you need? The various guest agents already report via Event Log exclusively.

                                          J 1 Reply Last reply Reply Quote 0
                                          • J Offline
                                            john.c @dinhngtu
                                            last edited by john.c

                                            @dinhngtu said:

                                            @john.c I'll consider adding relevant GPOs for this. There's no real complexity difference compared to normal Registry settings.

                                            As for event logs, what information do you need? The various guest agents already report via Event Log exclusively.

                                            @dinhngtu That is fantastic news regarding the GPOs—having native administrative template support will be a huge win for enterprise deployments!

                                            Regarding the Event Logs, my apologies for the ambiguity; I am aware the agents use Event Logs internally. The issue from a fleet management perspective is that when everything is running normally, the logs are quiet, but when a breakdown happens (like a VM losing its IP reporting, or an auto-update breaking xenflt), finding why it failed from a central monitoring system is difficult.

                                            To make the Event Logs highly actionable for SIEMs, monitoring agents, and automated alerting, having explicit Event IDs for the following critical lifecycle and failure states would be incredibly useful:

                                            1. Management Lifecycle & Heartbeats
                                            • Service Lifecycle: Distinct Event IDs for a clean initialisation/handshake with the hypervisor vs. an unexpected service termination.
                                            • IP/Network Metrics Reporting: An error or warning Event ID raised if the agent fails to bind to the guest network stack or fails to transmit the IP metrics to Xen Orchestra after a specific timeout window.
                                            1. Backup & VSS Operations
                                            • Quiesced Snapshots: Dedicated Event IDs tracking when a VSS / quiesced snapshot request is received from the host, whether it succeeded, or a specific error ID if it times out or fails (which often causes backup failures on the XO side).
                                            1. Driver & Filtering Health
                                            • UpperFilters Validation: A warning or error Event ID if the agent detects that its driver filters (like XENFLT) are missing from the registry or have been overwritten by a Windows Update cycle.
                                            1. Upgrade & Missing Tool States
                                            • “Installed but Inactive" Detection: An alert Event ID if the agent service is running but cannot detect active underlying PV drivers. This is critical for catching scenarios where major Windows or Windows Server feature updates silently strip out driver components without running a proper uninstaller, leaving sysadmins caught flat-footed with a broken stack.

                                            Providing explicit, documented Event IDs for these states would allow sysadmins to build standard Windows Scheduled Tasks or monitoring rules (e.g., automatically restarting the Xen Guest Agent service the moment a specific "Failed to report metrics" Event ID is caught).

                                            D 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • First post
                                              Last post