1 Reply Latest reply on Jul 17, 2017 5:03 PM by daphnissov

    VCAC Guest Agent and GPT Partitions

    JoJoGabor Expert

      Has anyone got an elegant way of forcing the Guest Agent to partition windows using GPT partitions instead of MBR?

       

      I could do this via Powershell but don't really want to. The only way I can see is to modify the scripts that come as part of the VRMGuestAgent. I can add the correct lines into diskpat_exec.js to modify the diskpart scripts. Of course if I ever reinstall this agent or it is upgraded, I need to remember these modifications, which makes me nervous.

        • 1. Re: VCAC Guest Agent and GPT Partitions
          daphnissov Guru
          vExpertCommunity Warriors

          Changing the JavaScript would certainly do it. You could also do it in PowerShell and call that script via the guest agent if you generalized it in such a way that it scanned to see if there was anything to format and then go do the work. Of course, that would have to be done carefully. Or if you have an Enterprise license, you could do basically the same thing but as a software component that you apply to your given blueprint.