githubEdit

How do I create a new Windows Server 2022 base VM with Duplo Agent?

Context When setting up a new Windows Server 2022 base VM, you need to properly install the Duplo Agent to ensure proper functionality with the Duplo platform. Answer Follow these steps to create a new Windows Server 2022 base VM with the Duplo Agent: Create a new base VM with Windows Server 2022 From an existing VM with Duplo Agent, copy the package located in C:\Program Files (x86)\ContainerManagement Install the service by running the following command in Command Prompt as administrator: sc.exe create Duplo.BillingService binPath="C:\Program Files (x86)\ContainerManagement.Agent\ContainerManagement.Agent.exe" Delete the Panther directory located at C:\Windows\Panther Run the following command to prepare the VM for imaging: sysprep.exe /generalize /shutdown After the VM shuts down, go to the Azure portal Capture the image to Azure compute galleries Create an image definition for Windows Server 2022 with trusted launch, similar to the existing duploagent/winagent_v2

Last updated

Was this helpful?