A newly created VDI image source VM is actually an empty VM, which has no operating system or required drivers installed. Making a VDI desktop image is to install the operating system, drivers, Agent, and the needed software on the newly created image source VM and generate a VM template. Then, the VM template can be published as a desktop image, which can be used to create desktop pools and deploy desktops. This user manual describes how to build a VDI image source VM in the Windows operating system. For how to build image source VMs in Linux operating systems or indigenous operating systems (Kylin or UOS), see the corresponding image source VM building guides.
ARM hosts do not support App Center or optimization tools. You can skip installation of App Center and optimization of system services.
The operating system, drivers, and other needed software can only be installed in the image source VM. For a desktop image cloned or converted from an image source VM, you can only edit the CPU and memory.
To re-install the Agent when making an image source VM, first uninstall the original Agent and then restart the image source VM.
After the installation of the Kylin operating system, the firewall is enabled by default. Operations such as SSH access, VM ping, and use of USB peripherals might be blocked. You can configure firewall security policies as needed. For more information, contact Technical Support.
Before creating an image, upload the cloud desktop agent AgentTools, optimization tool OptTools, and other required software to Space Console in advance.
From the left navigation pane, select
Click the Console button in the
Install the operating system on the image source VM:
| The Windows operating system installation procedure might vary by version. This section uses Windows 10 as an example. Install your Windows operating system as needed. |
If the VM is shut down, click
After the VM is started, the Windows installation screen opens. Select a language and other preference options, and click Next. Click Install Now to start installing the operating system.
| For a Windows 11 image source VM, during the startup process, ensure that the mouse is positioned in the VM screen. When the Press any key to boot from CD or DVD prompt appears, quickly press any key. Otherwise the operating system installation cannot be completed. |
Select to accept the installation license agreements, and select the installation type Custom (Advanced).
When the system prompts Where do you want to install Windows?, click Load Driver (L). The disk type is Virtio for the VM installation. When you are installing the VM operating system, the disks are not displayed. You must select Load Driver and display disks. Then, you can install the operating system on the specified disk.
In the Load Driver dialog box that opens, click OK.
The dialog box for selecting the driver to be installed opens according to the type of the operating system to be installed, 32-bit or 64-bit.
In the dialog box, keep the Hide drivers that are not compatible with hardware on this computer option selected, select all drivers in the dialog box through pressing CTRL or Shift, and click Next.
| You must load the drivers and make sure all compatible drivers are selected in the driver dialog box. Lack of drivers will affect the proper operation of the desktop image. |
When the system prompts Where do you want to install Windows? again, partition the disks as needed and click Next. Wait until the operating system is installed. During the installation process, the VM might reboot several times.
After the installation is completed, configure basic settings, for example, region, keyboard layout, network, and accounts. If you want to optimize the system later, you must log in as Administrator. The user set here can be only used to enter the desktop after installation. After entering the desktop, you must switch to the
On the Settings > Accounts > Sign in with Microsoft screen, click Domain join instead in the lower left corner.
After the system installation setup is completed, log in as the user of the desktop, and enter the Windows desktop after system settings.
To switch to the Administrator user:
Press Windows key + X. From the menu that opens, click Computer Management (G).
On the computer management window that opens, select Local Users and Groups > Users. In the right pane of the window, right-click Administrator, and select
On the administrator properties window that opens, clear the
After enabling the Administrator account, restart the system. On the system user login page, select Administrator to log in without entering a password.
After logging in to the desktop as the administrator, open the control panel. Click
Install CAStools and Agent:
On the page for making an image, click Install Template Tool, and select Mount CD-ROM. In the CD drive (D:) agenttools dialog box that opens, enter the driver, and select to enter the corresponding folder according to the image source VM operating system type. In this section, enter the windows folder, and run the agent_tools_setup program.
In the user account control dialog box that opens, click Yes. In the
In the communication environment setting dialog box, enter the IP address (virtual IP address in the RBM-based hot backup scenario) or domain name (an FQDN) of the management node for Space Console, use the default port setting, and click Next.
Select the target directory for Agent installation, and click Install.
During the Agent installation process, CAStools will be automatically installed, and some drivers will be installed. In the Windows security dialog box that opens, select Always trust software from [publisher], and click Install to install drivers.
Click OK in the dialog box prompting you that the system must be restarted after CAStools is installed.
After CAStools is installed, click Close. Wait for the Agent installation to complete.
After the Agent installation is completed, click Finish. Restart the VM.
Install the required software. You can upload the required software from the
Click
Copy the software packages from the APP software disk
| Before you mount the APP software disk to a Windows 7 VM, make sure the Workstation service of the Windows 7 VM is enabled. To verify the service status, navigate to |
Install App Center, and configure and optimize the system services. App Center is used to display the driver programs corresponding to the application center, which is to be installed and used on the cloud desktop. After the basic VM settings are completed, you must optimize the VM to improve the VM operating speed and the cloud desktop connection experience.
| When running AppCenter_Setup or OptTools, the system might pop up the "Execution file read error." message. This prompt message indicates file corruption occurs during the optimization tool upload. To resolve this issue, delete the existing optimization tool on Space Console, and then reupload the optimization tool. |
Click Install Template Tool, and select Mount OptTools.
Enter the CD drive, and run the AppCenter_Setup installation package. The App Center installation dialog box opens.
Click the
button. Specify the App Center installation path, select the software license and services agreement, and click
After the installation is completed, click
Enter the CD drive, and run the optimization tool application program
Select a locale.
Select an optimization template according the scenario, and click
After the scan is completed, click
Select a disk for customizing a user profile.
| When customizing a user profile, ensure that the selected disk actually exists on the user endpoint or cloud desktop. Otherwise, the Windows Resource Manager (explorer.exe) might crash. |
In the CloudDiskClient installation wizard that opens, select an installation path, and click
After the optimization is completed, click
For domain users, specify a Microsoft AD server as the DNS server for the VDI image source VM to enable automatic domain assignment for the cloud desktops:
Open the Control Panel on the image source VM. Navigate to the
On the
| If you have enabled trust domain configuration for the domain server, configure the alternate DNS server address as the trust domain address. For more information about the LDAP authentication server, see " |
Click
The VDI image source VM is completely built. You can publish the image source VM as a VDI desktop image.