You are here: Learn about Citrix App Layering [UnideskVersion Layering 4.0.8] > Layer > OS Layer > From Azure

Create an OS Layer (Azure)

In this article:

Before you start

Create an OS Machine in Azure

Prepare the OS Image (Windows 2012 R2)

Import the OS Image into a new OS Layer

The Unidesk Operating System (OS) Layer contains the Windows Operating System that is assigned to any Unidesk Layered Images you create using that OS Layer. Once created, you can use the OS Layer to build as many Layered Images as you need.

The OS Layer is created using a virtual machine in your infrastructure and the Windows Operating System that you want to use for your Layered Images. You can import the OS from your Azure environment or from the Network File Share attached to the Unidesk ELM.

Note: The OS image must be created from a Microsoft ISO, rather than an existing template.

Before you start

Create an OS Machine in Azure

To create an OS Layer, you create a virtual machine in Azure, prepare the OS in Azure, and then import the resulting OS Disk into Unidesk to create the OS Layer.

  1. In the Microsoft Azure portal, create a new VM from the "Windows Server Remote Desktop Session Host Windows Server 2012 R2" image (New > Compute > Virtual Machine > From Gallery > Windows Server Remote Desktop Session Host Windows Server 2012 R2).

  2. Choose Resource Manager from the Select a deployment model option list and click Create.

    Note: Unidesk for Azure does not support the Classic option from the Select a deployment model option list.

  3. Complete the Create virtual machine wizard to create the OS machine.

Prepare the OS Image (Windows 2012 R2)

  1. After the new server machine has been successfully created, reboot the machine, and log into it remotely.

  2. Turn off Windows Automatic Updates (Control Panel > System and Security > Windows Update > Change Settings).

  3. From the new machine, open a web browser, navigate to the Unidesk Download Center and download the Unidesk OS Machine Tools.

  4. Rename or delete the "Unattend.wsf" file in the C:\Windows\OEM directory.

    Note: Do not use the Unattend.exe, as this is not needed and will cause issues with Azure.

  5. On the new server machine, run the setup_x64.exe file to install the Unidesk drivers on the OS Machine.

  6. Ensure that this machine is not joined to a domain.

    Note: Session Hosts will join a domain when you provision them from a Layered Image.

  7. Optionally, you can shut down the new OS machine.

    Notes:

Import the OS Image into a new OS Layer

To import an OS disk into Unidesk:

  1. In the Unidesk ELM, select Layers > OS Layers and click Create OS Layer in the Action bar. This opens the Create Operating System Layer Wizard.

  2. In the Layer Details tab, specify a Layer Name and Version, both required values. Optionally, you can enter Descriptions of the Layer and Version, and change the Max Layer Size to accommodate the OS you are going to import. For details, see more about these values below.

  3. In the Connector tab, choose a Connector Configuration for the platform where you'll be publishing your Layered Images. If the configuration you need is not listed, add a New one and select it from this list. For information about creating a new Platform Connector Configuration, see Create a Connector Configuration.

    Note: Alternatively, if you have a *.vhd file of the OS disk in your Network File Share, you can select the file share instead of a Unidesk Connector.

  4. In the Import Disk Details tab, enter the name of the Azure Resource Group that contains the OS disk and the name of the OS disk, both required values.

    Note: If you specified a file share on the Connector tab, enter the name of the OS disk residing on that file share or click Browse to select it.

  5. In the Icon Assignment tab, select an icon image to assign to this Layer.

  6. In the Confirm and Complete tab, review the details of the OS Layer, enter a comment if required, and click Create Layer. If you enter comments, they appear in the Information view Audit History.

When the task completes, the new OS Layer in the Unidesk Management Console displays a "Deployable" status.

Reference: Create Operating System Layer Wizard values