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

    Windows 11 Pro 24H2 VM Random Freezes on XCP-NG 8.3

    Scheduled Pinned Locked Moved Compute
    42 Posts 6 Posters 2.8k Views 5 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.
    • D Offline
      DevilDan @DevilDan
      last edited by DevilDan

      Hi @dinhngtu , it is frozen 😢

      6b60c062-a81b-4938-bcf1-244722c14f50-image.png

      EDIT :
      I'm installing prometheus and grafana and winsows exporter to have date, time and metrics for CPU, when freeze arrive, exact date and time, to coroborate logs

      There is a new update on 24H2, correct RDP bugs, maybe freeze bug ? I test and i'm back if i have more informations :
      12313b22-b53c-4f40-b58d-7e7464623bf6-image.png
      https://www.it-connect.fr/windows-11-kb5052093-quels-sont-les-changements-apportes-par-cette-mise-a-jour/

      "Il y a deux bugs corrigés dans la fonctionnalité de Bureau à distance, notamment où l'application cesse de répondre, et un autre bug lié à des problèmes d'affichage."

      D 1 Reply Last reply Reply Quote 1
      • D Offline
        DevilDan @DevilDan
        last edited by DevilDan

        @dinhngtu

        Update: I haven't experienced any freezes in the last 24 hours. Here are the actions I performed during that time:

        • Installed Windows update KB5052093 (February 2025, 24H2 preview)
        • Reinstalled Xen Tools
        • Installed a Prometheus exporter
        • Installed a Wazuh agent

        At this point, I’m considering a few possibilities:

        • Microsoft might have fixed the bug with the update (most likely?)
        • The Xen Tools reinstallation resolved it ? (less likely)
        • The Prometheus exporter and Wazuh agent generate enough micro-activity to prevent the machine from freezing or hibernating ?
        • The new Microsoft "Energy Saver" technology was causing the issue and is now fixed?
        • Or maybe the bug just hasn't had time to reappear yet?!

        I'll keep monitoring and report back if anything changes. Has anyone else noticed improvements after the recent update? (RDP bugs are resolved!)

        D 1 Reply Last reply Reply Quote 1
        • D Offline
          DevilDan @DevilDan
          last edited by DevilDan

          @dinhngtu

          I spoke too quickly:

          539357d0-fea2-4d10-aee0-f04109a96a4e-image.png

          The problem finally came back, I've got at least an exact timestamp of the different phases, I'll see if I can find something, but it seems compromised.

          fa82540e-ed0f-40c8-9e0c-47afbb7e305e-image.png

          9cc4f2a1-8f25-4cf9-b407-3685bbd2c6cb-image.png

          0a78fd9e-53ea-40bc-b584-ef309523a40a-image.png

          D 1 Reply Last reply Reply Quote 1
          • D Offline
            DevilDan @DevilDan
            last edited by

            @dinhngtu

            I don't have a solution yet, so I'm going to do some more tests and install Windows 11:
            23h2 --> if ok, ok otherwise :
            22h2 --> if ok, ok otherwise :
            21h2 --> if ok, ok otherwise :
            WINDOWS 10 !

            D 1 Reply Last reply Reply Quote 1
            • D Offline
              DevilDan @DevilDan
              last edited by DevilDan

              @dinhngtu

              Hi,

              Today, with Windows 11 23H2 fully updated, I have no issues at all. I'll check back this weekend if I encounter any problems. However, based on what I've seen in articles, from streamers, and on various forums, it really seems like the 24H2 version has a lot of problems—many are calling it the "Hell Version."

              Let me know if you’d like any further tweaks! 😊

              If the XCP-NG or XOA teams need access, logs, or anything else for investigation, feel free to let me know!

              cd6c7d99-0330-48a1-8bef-ab3ae9ce2963-image.png

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

                @DevilDan I do know that Server 2025 has some issues has well. Probably best to avoid the version for now.

                D 1 Reply Last reply Reply Quote 1
                • D Offline
                  DevilDan @dinhngtu
                  last edited by

                  @dinhngtu

                  Yes thanks.... I Will avoid this ******* version 😄

                  If there is march or April updates, i will test and check if its better

                  D 1 Reply Last reply Reply Quote 0
                  • D Offline
                    DevilDan @DevilDan
                    last edited by

                    @dinhngtu The problem is back, I will check if i do something bad, i don't understand... Unlucky 😄

                    DanpD 1 Reply Last reply Reply Quote 0
                    • DanpD Offline
                      Danp Pro Support Team @DevilDan
                      last edited by

                      @DevilDan Are you using the Load Balancer plugin to manage the load on your pool?

                      D 1 Reply Last reply Reply Quote 0
                      • D Offline
                        DevilDan @Danp
                        last edited by

                        @Danp hi thanks, i don't think i use all on default param on xoa and xcp-ng

                        D 1 Reply Last reply Reply Quote 0
                        • D Offline
                          DevilDan @DevilDan
                          last edited by DevilDan

                          @Danp @dinhngtu I haven't encountered the problem for 3 days, following a modification I made, I don't know if it's this modification that solved the problem (a little software I was installing on the VM, and that I uninstalled).

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

                            @DevilDan Which software was uninstalled if you don't mind telling?

                            D 1 Reply Last reply Reply Quote 0
                            • D Offline
                              DevilDan @dinhngtu
                              last edited by

                              @dinhngtu It's not the software, the problem is back again 🎃 🎃 🎃 🎃 🎃 🎃

                              d0b27630-6669-4074-9b96-9d80b92fb1d4-image.png

                              D 1 Reply Last reply Reply Quote 0
                              • D Offline
                                DevilDan @DevilDan
                                last edited by DevilDan

                                @Danp @dinhngtu Hi, today I will try Win 10 22H2 latest. Maybe it is the vtpm and uefi secure boot the problem ? I have a freeze at boot on DVD when asking Product Key, i restart install, with VTPM and UEFI + secure boot, loike Win 11, we will see

                                Edit : CPU instable, after freeze, I try in BIOS mode with no VTPM

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

                                  @DevilDan If the problem shows up on older Windows versions I would start suspecting a few other factors.

                                  • Do you have any Windows PV drivers installed?
                                  • Could you switch back to the Realtek NIC model instead of Intel e1000?
                                  • Does it happen on all VMs at once or just one VM at a time?
                                  • Any issues with Linux distros?
                                  D 1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    DevilDan @dinhngtu
                                    last edited by

                                    @dinhngtu

                                    No issues on Linux VMs, the problem only occurs on Windows 11 24H2, 23H2 (so far) and Windows 10, all running in UEFI mode.

                                    • No issues so far on a new Windows 10 VM running in BIOS mode.
                                    • I'm always installing Xen Guest drivers 9.4 (we also tested without them).
                                    • The VMs have nothing special installed, it's just a clean Windows setup.
                                    • I don't remember if the issue appeared on both Windows versions at the same time, so I can't confirm a correlation, but it's a possibility.
                                    • I had some "coalesce" issues on another Linux VM, but that's been resolved, and it doesn't seem related.
                                    • I already tested both Intel and Realtek NIC models, same issue. However, I'll switch everything back to Realtek just in case.
                                    • Currently, I have a Windows 11 24H2 VM and a Windows 10 VM (I deleted Windows 11 23H2—it was the most stable and used less CPU than 24H2, but since I'm testing, I'll stick with 24H2).
                                    D 1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      DevilDan @DevilDan
                                      last edited by

                                      @dinhngtu
                                      I also remember having installation issues and freezes with PFsense VMs or performance slowdowns with OPNSense in UEFI mode, I think. It feels like UEFI isn't that great?

                                      cirosantos0C 1 Reply Last reply Reply Quote 0
                                      • cirosantos0C Offline
                                        cirosantos0 @DevilDan
                                        last edited by

                                        @DevilDan
                                        We had a similar problem when we tested version 8.3. In our case, it was related to the memory limits of the VMs.

                                        In 8.2, setting different values for Dynamic and Static memory caused a bluescreen.
                                        In 8.3, Windows Server VMs sometimes bluescreened, while both Windows Desktop and Server VMs occasionally froze as you described.

                                        Our VMs were not fresh installs, but we resolved the issue by setting the Dynamic and Static memory limits to the same value (both min and max).

                                        Please do try to see if it solves your problem.

                                        D 1 Reply Last reply Reply Quote 1
                                        • D Offline
                                          DevilDan @cirosantos0
                                          last edited by DevilDan

                                          @cirosantos0 @Danp @dinhngtu

                                          Thanks for your feedback!

                                          I usually always set the Dynamic and Static memory limits to the same value because I don't like auto-scaling based on load. I prefer to allocate the actual possible usage. I've attached a screenshot of my RAM configuration; since I'm not very familiar with Xen Orchestra, I just want to confirm that this setup is correct. Normally, I've set both the minimum and maximum dynamic memory to 8GB, as well as the static memory.

                                          2839e892-ce71-4fd4-bd93-7e98ff64312a-image.png

                                          So far, my Windows 10 VM (BIOS) hasn’t had any issues, but the Windows 11 VM (UEFI) still seems to freeze. I’ll double-check, but it looks like the problem is really related to UEFI.

                                          Also, I can't edit the static min memory value in XOA, and I don't know why. Is this the expected behavior?

                                          Just to be sure, I'll set the static min memory to 8GB (in CLI on XCP-NG console) and observe the behavior, even though the documentation suggests it shouldn't make any difference.

                                          cirosantos0C 1 Reply Last reply Reply Quote 0
                                          • cirosantos0C Offline
                                            cirosantos0 @DevilDan
                                            last edited by

                                            @DevilDan Yeah, you cant change the static min in xoa, it has to be done through the cli

                                            804bdce1-f56a-4353-b91d-bdd9f4fde4f4-image.png

                                            xe vm-memory-limits-set static-min=8GiB static-max=8GiB dynamic-min=8GiB dynamic-max=8GiB uuid=xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx
                                            

                                            This is what i did, but like you said, the documentation says i makes no difference.

                                            D 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post