Updated on 2025-10-22 GMT+08:00

Registering a Private Image Using an ISO File

Scenarios

This section describes how to create a Windows private image.

Prerequisites

  • You have obtained the username and password for logging in to the console.
  • You have prepared the OS ISO file by referring to Table 1.

    The name of the ISO image file can contain only letters, digits, hyphens (-), and underscores (_). If the name does not meet the requirements, change it.

Procedure

Integrating the VirtIO driver into an ISO File using AnyBurn

  1. Double-click AnyBurn on the local Windows PC.
  2. Right-click the downloaded VirtIO driver package and choose 7-Zip or other decompression software to decompress the package to the local PC.
  1. Open the Windows 11 ISO file using AnyBurn.

    Open the AnyBurn software and select Edit image file, as shown in Figure 1.

    Figure 1 Editing an image file

    Select the ISO file and click Next, as shown in Figure 2.

    Figure 2 Selecting the ISO file

  2. Edit the ISO file to integrate the VirtIO driver.

    1. Decompress the downloaded VirtIO driver package to the local PC using 7-Zip or other decompression software.
    2. Click Add to go to the Add Files and Folders window. Then go to the directory where the decompressed virtio-win.iso file is located.
    3. Press Ctrl + A to select all files and click Add, as shown in Figure 3.
    4. Click Next.
    Figure 3 virtio-win
    1. Specify the path for saving the file and the ISO file name, select the ISO format, and click Create Now, as shown in Figure 4.

      When selecting the image file name, you are advised to change the name of the generated image to prevent the original ISO file from being overwritten.

      Figure 4 Generating an image file

      After the ISO file is generated, view the ISO file integrated with the VirtIO driver.

Updating Windows 11 Enterprise 23H2

This operation is required only for Windows 11 23H2.

  1. Copy the ISO file of Windows 11 23H2 to the local Windows PC.
  2. Download the Make2023BootableMedia.ps1 script in Required Software and copy the script to the local Windows device.
  3. Search for Windows PowerShell in the Start menu of the local Windows device, and click Run as administrator to open the Windows PowerShell window.
  4. Mount the ISO file:

    Mount-DiskImage -ImagePath "C:\Media\Windows11xxx.iso"

    Replace the ISO file name with the actual one.

  5. View the drive letter:

    Get-DiskImage | Get-Volume

  6. Update Windows 11 23H2:

    .\Make2023BootableMedia.ps1 -MediaPath "E:\" -TargetType ISO -ISOPath "C:\Media\Win11_Updated.iso"

    E:\ is the result obtained in 5. Replace it with the actual one.

Uploading an ISO image file to an OBS bucket

  1. Log in to the Huawei Cloud console.
  2. Upload the image file.

    • For details about how to download, install, and log in to OBS Browser+, see section "Tools Guide" > "OBS Browser+" in OBS User Guide.
      • If no OBS bucket is available, create one by referring to Using OBS Console.
      • The bucket file and the image to be registered must belong to the same region.
      • Only unencrypted external image files or those encrypted using SSE-KMS can be uploaded to the OBS bucket.
      • The storage class of the OBS bucket must be Standard.
      • If the Huawei Cloud account and password cannot be used to log in to OBS Browser+, you are advised to log in using the AK/SK. For details, see Logging In to OBS Browser+.

Registering an image

  1. Click in the upper left corner of the console and choose Compute > Image Management Service.

    The IMS console is displayed.

  1. Click Create Image in the upper right corner of the page.
  2. Specify Image Type and Source.

    • Type: Select Import Image.
    • Image Type: Select ISO image.

  3. In the image file list, select the bucket in 2 and then the ISO file.
  4. In the Image Information area, specify basic information about the image according to Table 1. Retain the default settings for the parameters that are not listed below.

    Table 1 Image parameters

    Parameter

    Description

    Architecture

    Select x86.

    Boot Mode

    Select UEFI.

    Security configuration must be enabled for UEFI. For details, see Configuring a Certificate and Secure Boot for the Image.

    OS

    Select Windows 11.

    System Disk (GiB)

    Configure this parameter based on the OS requirements, for example, no less than 60 GiB.

    Name

    Enter the image name, for example, WindowsXXX-Template_ISO.

    Enterprise Project

    Select the enterprise project to which the resource belongs, for example, default.

  1. Confirm the image parameters, check the box I have read and agree to the Statement of Commitment to Image Creation and Image Disclaimer, and click Submit.
  2. Return to the private image list to view the image status.

    When the image status becomes Normal, the image has been created.