To use various peripherals on cloud computers, specific prerequisites must be met, and the administrators or end users must perform specific preliminary operations. This topic lists the general prerequisites. Specific prerequisites vary depending on the peripheral type, client type, and other factors. For more information, see the configuration documentation for each type of peripheral.
Obtain peripheral information
Specific information about peripherals, such as the vendor identifiers (VIDs) and product identifiers (PIDs) of USB peripherals and the IP addresses and ports of network printers, is important for subsequent management and use of peripherals. Therefore, you must obtain peripheral information first.
Obtain USB peripheral information
For USB peripherals, the VIDs and PIDs are used when you configure peripheral policies. VIDs and PIDs are hexadecimal strings, such as 0xa12c, where the 0x prefix can usually be omitted. You can query the VIDs and PIDs of connected USB peripherals by using various methods.
The availability of peripherals on cloud computers is determined by many factors, such as the type and version of Alibaba Cloud Workspace terminals, the type and version of cloud computer images, the type and version of the on-premises devices running the Alibaba Cloud Workspace clients, and the brand and model of peripherals. You can access the Query Peripheral Compatibility page in your browser to check the compatibility of cloud computers with specific peripherals. The data on this page is collected under laboratory conditions, and actual results may vary.
Use the Alibaba Cloud Workspace client
Open and log on to the Alibaba Cloud Workspace client.
Click the icon in the upper-right corner of the client and select Settings.
In the left navigation pane of the Settings window, click Peripherals. In the Local USB Peripherals panel, view the VIDs and PIDs of USB peripherals.

Use the on-premises computer
You can obtain the VIDs and PIDs of peripherals in the device management information on your computer.
Windows
Search for and open Device Manager from the Start menu.
In the Device Manager window, choose the name of your hardware, click , and then double-click the USB device you want to query.
On the Details tab of the properties dialog box, select Hardware Ids from the Property drop-down list to view the VID and PID in the text box below.

macOS
In the system taskbar, choose . In the dialog box, click More Info....
At the bottom of the About this Mac panel, click System Report.
In the left navigation pane of the new window, choose . In the right panel, select the USB device you want to query to view its VID and PID.

Use a third-party tool
You can use the USB Device Tree Viewer tool to view peripheral information. This tool is only available for the Windows operating system.
Download the tool at https://www.uwe-sieber.de/usbtreeview_e.html#download.
Extract the downloaded package and double-click
UsbTreeView.exeto open it.In the directory tree on the left side of the tool, select the USB device you want to query. In the Device ID section in the right panel, view the VID and PID of the device.

Obtain network printer information
For a network printer, you must obtain the IP address and port number of the printer. Check the printer manual for instructions on how to find the printer's IP address and port number (usually available by default).
Configure peripheral policies as an administrator
The permissions and behaviors to use peripherals on cloud computers are controlled by policies at multiple levels, including cloud computer policies configured by administrators in the console, custom configurations specified by end users on the client, and recommended configurations from the best practices library. Policies at different levels have different priorities and scopes of influence.
Policy priority
Policy level | Priority | Scope of influence | Configuration method | Configured by | Requirements |
Custom peripheral rules in cloud computer policies | Highest | All cloud computers associated with the policies | Console | Administrator | Client version not earlier than V7.10 |
Custom configurations of end users | Medium | Current client | Client | End users | None |
Recommended configurations from the best practices library | Lowest | Global (default configuration) | No configuration required | None | None |
Configure peripheral policies in the console
Peripheral policies are included in cloud computer policies and need to be created and maintained by administrators in the console.
General steps for creating or modifying peripheral policies
Create a custom policy and associate it with a cloud computer
Modify a custom policy with which a cloud computer is associated
Description of peripheral-related rules in cloud computer policies
Configuration item | Description | Requirement or limit |
Peripheral connection guide | ||
Peripheral Connection Guide | By default, this feature is enabled. When this feature is disabled, the terminal does not show the connection guide pop-up of connected peripherals. | Only Windows cloud computers are supported. |
Peripherals and printers | ||
Peripherals and Printers Shortcut | The Peripherals and Printers shortcut is shown by default on cloud computers. Select Hide Shortcut to remove it from view. Valid values:
| Only Windows cloud computers are supported. |
Local disk redirection | ||
Local Disk Mapping | Maps the disks of local devices to the disks of cloud computers. This enables cloud computers to access the disks of local devices. Valid values:
| None. |
Peripheral redirection | ||
USB Redirection | After you enable this feature, you can use a cloud computer to access USB devices connected to a client. In addition, you can configure a USB device whitelist or blacklist or configure USB redirection for different types of devices. After you disable this feature, the corresponding peripheral is automatically switched from USB Redirection to Deny. | Web clients do not support USB redirection because they do not support USB devices. |
Webcam | Redirection policies for different types of peripherals. Valid values:
| Only ASP-based Windows cloud computers are supported. Only device redirection is supported. |
Scanner | Only USB redirection is supported. | |
ADB | No limit. | |
Printer | To enable print redirection to allow a cloud computer to use the printers of local devices, make sure that the end user connects to the cloud computer through a Windows client or macOS client. | |
Serial Device | Only Windows cloud computers are supported. | |
Cloud Hub | By default, this feature is disabled. Once enabled, it offers cloud-based peripheral services. | This feature requires local management software to operate. |
Peripheral blacklist and whitelist | ||
Peripheral Blacklist/Whitelist | After you configure USB redirection policies for different types of peripherals, you can configure a peripheral whitelist or blacklist. The peripheral blacklist and whitelist take precedence over USB redirection policies configured for different types of peripherals.
|
|
Peripheral management policies | ||
Custom Rules | You can configure custom redirection policies to manage peripherals based on VIDs and PIDs. |
|
Recommended Rule for Best Practice | Policies recommended by EDS for best practices. |
|
(Optional) Install UsbDk as an end user
You must install USB Development Kit (UsbDk) on your on-premises Windows computer only when you use Windows clients and use peripherals in USB redirection mode. In other cases, you do not need to install UsbDk.
UsbDk is an open-source driver library for Windows operating systems designed to provide applications with direct and exclusive access to USB devices. It is crucial for the normal use of USB peripherals on cloud computers. The Windows client installation program includes the UsbDk installation step. If you skip this step during installation, it may cause peripheral usage issues. In this case, you can reinstall UsbDk by performing the following steps:
Open the Alibaba Cloud Workspace client download page, and download the latest version of the Windows client.
Double-click to run the installation program. On the Select Components interface, make sure to select UsbDk Runtime Libraries, and follow the prompts to complete the installation process.
