Using a Generalized image in Azure Lab Services Lab Plan

Mas023 10 Reputation points
2023-05-24T13:20:50.28+00:00

Hello,

I need to use a Generalized image in my lab because I need each lab's virtual machine to have a unique SID. I created my image and used Sysprep to Generalize it. This however didn't work because my Lab machines don't start.

Any insight is much appreciated.

Regards,

Masih

Azure Lab Services
Azure Lab Services
An Azure service that is used to set up labs for classrooms, trials, development and testing, and other scenarios.
288 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Michael Durkan 12,196 Reputation points MVP
    2023-05-24T16:14:39.3966667+00:00

    Hi

    where are you creating the custom image from - Azure or from Hyper-V On-Premises and uploading it?

    It is supported as per the steps in the article below:

    https://learn.microsoft.com/en-us/azure/lab-services/approaches-for-custom-image-creation

    One thing to be aware of "if" you have used Hyper-V - the disk needs to be a fixed-size disk and not dynamically expanding as this is not supported and will cause the deployment to fail.

    Hope this helps,

    Thanks

    Michael Durkan

    • If the reply was helpful please upvote and/or accept as answer as this helps others in the community with similar questions. Thanks!