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

    Cloning Windows 11 with vTPM

    Scheduled Pinned Locked Moved Management
    4 Posts 4 Posters 325 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.
    • J Offline
      jkatz
      last edited by

      I'm working with a Windows 11 VM and testing out templating/deployment stuff.

      I made a Win11 VM with vTPM enabled. Installed the citrix management agent. Installed cloudbase init with defaults and did not sysprep. Sysprep kept throwing errors.
      I shut it down, took a snap and make a new vm from that snap. Then turned that vm into a template. Same process that i did with 2022. And no problems there.
      Went to make a new VM in XO from this template and right at the end i get this error:

      VTPM_MAX_AMOUNT_REACHED

      To finally get it to work, I had to turn off the vTPM device option when cloning the VM. Even though the UI puts up a warning that the VM needs this device and the OS will probably not boot.
      Funny thing is... after the VM was done cloning, the vTPM device was indeed there and with a new UID. And the VM booted just fine.

      So is XO trying to stuff a second vTPM (max amount?) into the clone rather than remove the old one from the template first?

      Thanks,
      jonathan

      lsouai-vatesL 1 Reply Last reply Reply Quote 1
      • K Offline
        Kptainflintt
        last edited by

        No reply to this topic but just seen same thing.

        And same "workaround" : disabling vTPM at VM creation from template to avoid crashing.

        I can confirm that XOA want to add a second vTPM, any fix ?

        1 Reply Last reply Reply Quote 1
        • olivierlambertO Offline
          olivierlambert Vates 🪐 Co-Founder CEO
          last edited by

          Pinging @lsouai-vates

          1 Reply Last reply Reply Quote 0
          • lsouai-vatesL Offline
            lsouai-vates Vates 🪐 XO Team @jkatz
            last edited by

            @jkatz hello, thanks for your report. This topic is being studied on our side, we have scheduled a ticket on it in our roadmap.
            We will keep you informed.

            Have a good day!

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