Updated on 2023-12-04 GMT+08:00

Converting a Windows Desktop to an Image

Scenario

If users have the same requirements on desktop configuration and application usage, you can purchase a desktop generated using a Windows OS image on the Workspace console, log in to the desktop, configure the desktop, install software, and convert the desktop into an image. Then, use the image to purchase desktops in batches and assign them to target users. This feature reduces personnel configuration costs and is a turnkey solution.

On the desktop to be converted to an image, files (including applications installed in this directory) in the user directory (C:\Users\Username of the current desktop) of the current desktop cannot be added to the image. The configuration and applications of the desktop purchased using this image are inconsistent with those of the desktop to be converted to an image. Use the configuration and applications of the actual desktop that has been converted to an image.

Prerequisites

  • A desktop generated using a Windows OS image is available.
  • The desktop has been started and is in the Running status.
  • You have logged in to the desktop at least once.

Procedure

  1. Log in to the Workspace console.

    Select the region and project of the desktop to be converted into an image.

  2. In the navigation pane, choose Desktops > Desktops.
  3. In the row that contains the desktop to be converted into an image, click More > Create Image.
  4. Configure image parameters as required, as shown in Table 1.

    Table 1 Description

    Parameter

    Description

    Example

    Name

    Image name.

    Configure this parameter as required. The value can contain only digits, letters, spaces, hyphens (-), underscores (_), and periods (.), and cannot start or end with a space.

    temp_image-Windows private image

    Description

    Remarks about an image.

    Add remarks on the image usage.

    -

    Enterprise Project

    You can use an enterprise project to centrally manage your cloud resources and members by project. You can select a value as required.

    -

    Encapsulate

    Determine whether to encapsulate the image as required.

    • Yes: Clears the user information of the desktop to be converted to an image, such as Security Identifier (SID).
    • No: Retains the user information of the desktop to be converted to an image, such as Security Identifier (SID).

    Yes

    Agreement

    Read Statement of Commitment to Image Creation and Image Management Service Disclaimer, and select I have read and agree to Statement of Commitment to Image Creation and Image Disclaimer.

    Selected

  5. Click Yes.

    • Do not perform any operations on the desktop during image creation.
    • During image creation, all files in the desktop directory (C:\Users\current username) will be deleted, and applications installed in this directory will be unavailable.
    • If the response file (c:\windows\system32\untitled.xml) on which historical image encapsulation depends does not exist, contact the administrator.
    • After the image is created, click on the console and choose Service List > Compute > Image Management Service. The created image is displayed in the Private Images list.