%3CLINGO-SUB%20id%3D%22lingo-sub-1777353%22%20slang%3D%22en-US%22%3EImport%20Custom%20Image%20to%20Shared%20Image%20Gallery%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1777353%22%20slang%3D%22en-US%22%3E%3CP%3EWith%20Azure%20Lab%20Services%2C%20you%20can%20create%20labs%20using%20both%20marketplace%20images%20%3CEM%3Eand%3C%2FEM%3E%20custom%20images%20from%20a%20Shared%20Image%20Gallery.%26nbsp%3B%20There%20are%20several%20ways%20to%20create%20a%20custom%20image%2C%20such%20as%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E1.%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fnam06.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Fdocs.microsoft.com%252Fen-us%252Fazure%252Flab-services%252Fhow-to-use-shared-image-gallery%2523save-an-image-to-the-shared-image-gallery%26amp%3Bdata%3D04%257C01%257Cnicolela%2540microsoft.com%257C765591e16a42409d730108d86faf36eb%257C72f988bf86f141af91ab2d7cd011db47%257C1%257C0%257C637382145615725006%257CUnknown%257CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%253D%257C1000%26amp%3Bsdata%3DUZ%252Bni%252F6tVoFC%252BFZ2GNy08XfLcC3f4qbWFy2H9CEbOzE%253D%26amp%3Breserved%3D0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3EExport%20the%20image%3C%2FA%3E%20from%20your%20lab%E2%80%99s%20template%20VM.%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EFor%20Windows%20images%2C%20this%20option%20will%20automatically%20create%20a%20%3CSTRONG%3Especialized%20image%3C%2FSTRONG%3E%20which%20means%20that%20the%20image%20will%20retain%20machine-specific%20information%20(such%20as%20the%20SID)%20and%20user%20data.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E2.%20Upload%20an%20image%20to%20Shared%20Image%20Gallery%20from%20your%20physical%20lab%20environment.%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EWith%20this%20option%2C%20you%20have%20the%20flexibility%20of%20using%20either%20%3CSTRONG%3Especialized%20or%20generalized%20images%20%3C%2FSTRONG%3Eto%20create%20your%20Windows-based%20labs.%26nbsp%3B%20A%20%3CSTRONG%3Egeneralized%20image%3C%2FSTRONG%3E%20uses%20Sysprep%20to%20remove%20all%20of%20the%20user%E2%80%99s%20data.%26nbsp%3B%20Sysprep%20also%20clears%20the%20SID%20so%20that%20a%20new%20lab%20template%20VM%20created%20from%20the%20image%20will%20have%20a%20unique%20SID.%3C%2FLI%3E%0A%3CLI%3EAnother%20benefit%20is%20that%20you%20can%20create%20the%20image%20in%20your%20physical%20lab%20environment%20with%20tools%20that%20you%20are%20already%20accustomed%20to%20using%20%E2%80%93%20such%20as%20SCCM%20or%20Endpoint%20Configuration%20Manager.%3C%2FLI%3E%0A%3CLI%3EThis%20is%20also%20a%20great%20option%20if%20you%20need%20access%20to%20large%20installation%5Csetup%20files%20in%20your%20physical%20lab%20environment%20that%20are%20difficult%20to%20copy%20to%20a%20lab's%20template%20VM.%26nbsp%3B%26nbsp%3B%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EWe%20recently%20published%20the%20following%20article%20that%20shows%20the%20detailed%20steps%20for%20bringing%20an%20image%20from%20your%20physical%20lab%20environment%20to%20your%20lab%20account's%20Shared%20Image%20Gallery%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fnam06.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Fdocs.microsoft.com%252Fen-us%252Fazure%252Flab-services%252Fupload-custom-image-shared-image-gallery%26amp%3Bdata%3D04%257C01%257Cnicolela%2540microsoft.com%257C765591e16a42409d730108d86faf36eb%257C72f988bf86f141af91ab2d7cd011db47%257C1%257C0%257C637382145615734998%257CUnknown%257CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%253D%257C1000%26amp%3Bsdata%3Dx1rGb2iDKGUo%252Fq4F30zOi%252FVbK6R506hlDT3ugW%252F8zYU%253D%26amp%3Breserved%3D0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3EUpload%20a%20custom%20image%20to%20Shared%20Image%20Gallery%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSTRONG%3EIMPORTANT%3A%20%3C%2FSTRONG%3E%20Please%20keep%20in%20mind%20that%20when%26nbsp%3Byou%20move%20from%20a%20physical%20lab%20environment%20to%20Azure%20Labs%2C%20that%20you%20should%20restructure%20your%20images.%26nbsp%3B%20Refer%20to%20the%20following%20blog%20post%20that%20has%20more%20details%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fnam06.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Ftechcommunity.microsoft.com%252Ft5%252Fazure-lab-services%252Fmoving-from-a-physical-lab-to-azure-lab-services%252Fba-p%252F1654931%26amp%3Bdata%3D04%257C01%257Cnicolela%2540microsoft.com%257C765591e16a42409d730108d86faf36eb%257C72f988bf86f141af91ab2d7cd011db47%257C1%257C0%257C637382145615734998%257CUnknown%257CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%253D%257C1000%26amp%3Bsdata%3DK%252Fq1Xyp4BYIY1qOQwtNV0j8CTzihKr35b6FxMY7Jibw%253D%26amp%3Breserved%3D0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3EMoving%20from%20a%20Physical%20Lab%20to%20Azure%20Lab%20Services%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%20for%20reading!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1777353%22%20slang%3D%22en-US%22%3E%3CP%3EIn%20this%20post%20we'll%20show%20how%20to%20bring%20custom%20images%20from%20your%20physical%20lab%20environment%20to%20your%20lab%20account's%20Shared%20Image%20Gallery.%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1777353%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ELab%20Services%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft

With Azure Lab Services, you can create labs using both marketplace images and custom images from a Shared Image Gallery.  There are several ways to create a custom image, such as:

 

1. Export the image from your lab’s template VM.

  • For Windows images, this option will automatically create a specialized image which means that the image will retain machine-specific information (such as the SID) and user data.

2. Upload an image to Shared Image Gallery from your physical lab environment. 

  • With this option, you have the flexibility of using either specialized or generalized images to create your Windows-based labs.  A generalized image uses Sysprep to remove all of the user’s data.  Sysprep also clears the SID so that a new lab template VM created from the image will have a unique SID.
  • Another benefit is that you can create the image in your physical lab environment with tools that you are already accustomed to using – such as SCCM or Endpoint Configuration Manager.
  • This is also a great option if you need access to large installation\setup files in your physical lab environment that are difficult to copy to a lab's template VM.  

We recently published the following article that shows the detailed steps for bringing an image from your physical lab environment to your lab account's Shared Image Gallery:

IMPORTANT: Please keep in mind that when you move from a physical lab environment to Azure Labs, that you should restructure your images.  Refer to the following blog post that has more details: Moving from a Physical Lab to Azure Lab Services

 

Thanks for reading!