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
    41 Posts 5 Posters 2.6k Views 4 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
      dinhngtu Vates 🪐 XCP-ng Team @DevilDan
      last edited by

      @DevilDan I noticed that in your earlier freezes, the CPU went to 0% but in these recent freezes the CPU is pegged to 100% instead. Does your guest still behave the same way during the freeze (no RDP/XOA console but still responding to ping)? It's an advanced process, but you can try attaching a kernel debugger and see what's happening. https://docs.xcp-ng.org/troubleshooting/windows-pv-tools/#connecting-to-guests-using-serial-console

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

        @dinhngtu You're right, in the first freezes, the CPU would drop to 0%. Now, in recent cases, one freeze spikes the CPU to 100% and then it drops, while another stays at 100%...

        The VM still responds to ping for a while, but it eventually stops sometimes hours later. The console screen remains frozen on the Windows lock screen.

        I'll look into your procedure and see if I can try it.

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

          @DevilDan I see, we have to disable secure boot, but it is mandatory for Win 11 NO ?

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

            @DevilDan It's only mandatory for the installation. Once it's installed you can disable secure boot and enable debugging.

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

              @dinhngtu I try process, it freeze now at every boot :

              e491b6a8-04bb-4b20-b838-415d6dffaf56-image.png

              05d47530-f7db-4f75-8af0-bb359d6f94c2-image.png

              59e733ed-c645-44ea-af3a-2dfd514989fd-image.png

              3e3b5536-06d8-4b88-833b-e4cf33a0489d-image.png

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

                @DevilDan

                I roll back action, freeze always, I set 2 CPU (not 4) and now i have blue screen :

                19b9f032-5f8f-4727-ae64-9f4c4294a228-image.png

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

                  @DevilDan it boot after re-enabled secure boot, i set 2 cpu not 4 like before

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

                    @DevilDan Windows 11 never fails to surprise... Can you try with Server 2025?

                    There's a specific timing needed to attach the debugger, refer to this thread: https://xcp-ng.org/forum/topic/10284/vm-failing-to-reboot

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

                      @dinhngtu Hi everyone,

                      Thank you all so much for your help and suggestions. After several tests, I’ve decided to stop troubleshooting and stick with Windows 10 in BIOS mode. UEFI doesn’t work properly for me, whether with Windows 10 or 11, but everything runs fine in BIOS mode.

                      I really appreciate the time and support from this great community!

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

                        Ugh, RDP freezing up on Windows 11 24H2? That's a pain! It sounds like you're not alone, though. There's been some chatter about RDP acting a bit wonky after the 24H2 update.
                        From what I've seen, it might be related to how it handles network stuff, especially when reconnecting. Some folks have found that tweaking the network detection settings on the server side can help. It's a bit techy, but it involves going into the Local Group Policy Editor (type gpedit.msc in the Run dialog) and messing with the "Select network detection on the server" setting under Remote Desktop Services. You'd enable it and then tell it to turn off the "Connect Time Detect and Continuous Network Detect" options.
                        Alternatively, some people have had luck by messing with the Remote Desktop Connection settings on the client side, like setting the "Experience" tab to "WAN" instead of "Automatic" or even disabling the desktop wallpaper. It sounds weird, but sometimes those visual things can cause hiccups.
                        There's also talk about recent Windows updates causing some of these issues, so making sure you're on the very latest updates might have a fix baked in. Keep an eye out for any new patches from Microsoft.

                        If none of these solutions work, you can follow for more details instruction below.
                        https://thegeekpage.com/rdp-freezes-or-hangs-on-windows-11-24h2-how-to-fix/

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