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

    XCP-ng Windows PV tools announcements

    Scheduled Pinned Locked Moved News
    77 Posts 17 Posters 9.3k Views 20 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.
    • M Offline
      manilx @dinhngtu
      last edited by

      @dinhngtu We have one Win11 in production, which dodn't install the new tools, running the previous ones.

      We always get:
      ScreenShot 2026-03-18 at 13.38.04.png

      We have rebooted before installing the tools: same issue
      We have run Xenclean before installing: same
      We have run Xenbootfix: same

      Basically we'tried everything. I haven't opened an official ticket yet because the answer here might help others.

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

        @manilx Can you check if there's a Copy-XenVifSettings task in Task Scheduler and delete it if it exists report back? Normally it's supposed to self-destruct but maybe something went wrong there.

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          manilx @dinhngtu
          last edited by

          @dinhngtu Noting there:
          ScreenShot 2026-03-18 at 14.21.25.png

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

            @manilx What do you see when you run this command from PowerShell?

            schtasks /query /tn Copy-XenVifSettings /hresult ; echo $LASTEXITCODE
            
            M 1 Reply Last reply Reply Quote 0
            • M Offline
              manilx @dinhngtu
              last edited by

              @dinhngtu ScreenShot 2026-03-18 at 14.27.55.png

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

                @manilx Interesting... It's checking for "ERROR: The system cannot find the file specified. -2147024894", which is why it's failing. What if you specified the command this way, with a backslash?

                schtasks /query /tn \Copy-XenVifSettings /hresult ; echo $LASTEXITCODE
                
                M 1 Reply Last reply Reply Quote 0
                • M Offline
                  manilx @dinhngtu
                  last edited by

                  @dinhngtu ScreenShot 2026-03-18 at 14.34.18.png

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    conitrade-as @manilx
                    last edited by

                    @manilx Try installing the .msi from an elevated powershell prompt. That worked for one of our Windows 11 VMs.

                    M 1 Reply Last reply Reply Quote 2
                    • M Offline
                      manilx @conitrade-as
                      last edited by

                      @conitrade-as Yes, fixed. Thx!

                      The issue on this VM was we were installing as non-admin. All others were admin by default.

                      Good catch

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

                        Recent Windows patches also changed the exit code of schtasks.

                        A new package will be released to address this.

                        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