To use peripherals with a cloud computer, certain prerequisites must be met by the administrator or end user. This topic describes the general prerequisites. For prerequisites specific to a peripheral type or terminal type, see the configuration topic for that peripheral.
Obtain peripheral information
Specific peripheral information, such as the VID and PID of a USB peripheral or the IP address and port of a network printer, is essential for subsequent peripheral management and usage. You must obtain this information first.
Obtain USB peripheral information
For USB peripherals, you need the VID (Vendor ID) and PID (Product ID), which are required when you configure peripheral policies. Both VID and PID are hexadecimal values, such as 0xa12c, where the 0x prefix is typically optional. You can look up the VID and PID of a connected USB peripheral in several ways.
The availability of peripheral devices on a cloud computer depends on multiple factors, including the type and version of the Alibaba Cloud Workspace terminal, the cloud computer image type and version, the type and version of the local device running the Alibaba Cloud Workspace client, and the brand and model of the peripheral device. You can visit the peripheral compatibility page to check whether a specific peripheral is compatible with a cloud computer. The data on this page was obtained under laboratory conditions and may differ from actual results.
From the Alibaba Cloud Workspace terminal
Open and log on to the Alibaba Cloud Workspace client.
In the upper-right corner of the client, click the icon, and then select Settings.
In the left-side navigation pane of the Settings window, click Peripherals, and then view the VID and PID of the USB peripheral on the Local USB Peripherals panel.
From the computer's device manager
You can find the VID and PID of a peripheral in the device management information on your computer.
Windows
In the Start menu, search for and open Device Manager.
In the Device Manager window, navigate to , and then double-click the USB device you want to look up.
On the Details tab of the properties dialog box, select Hardware Ids from the Property drop-down list. The VID and PID are displayed in the text box below.
macOS
In the system menu bar, choose , and then click More Info in the dialog box.
At the bottom of the About This Mac panel, click System Report.
In the left-side navigation pane of the new window, choose Hardware > USB, select the USB device you want to look up in the right-side panel, and then view the VID and PID below.
From the floating menu
Click the floating menu and select Peripherals & Printers.
On the Advanced Management tab, view the VID and PID of the USB peripheral in the device list.
Use a third-party tool
You can use the USB Device Tree Viewer tool to view peripheral information. This tool supports only Windows.
Download the tool: https://www.uwe-sieber.de/usbtreeview_e.html#download.
Extract the downloaded package, and then double-click
UsbTreeView.exeto open it.In the left-side directory of the tool, select the USB device you want to look up, and then view the VID and PID in the Device ID section of the right-side panel.
Obtain network printer information
For network printers, you need the IP address and port number of the printer. Refer to the printer manual to find the IP address and port number, which are typically available by default.
Administrator: configure peripheral policies
Peripheral access and behavior on cloud computers are governed by policies at multiple levels, including the cloud computer policy configured by the administrator, custom settings configured by the end user in the client, and recommended configurations from the best practice library. These policies differ in priority and scope.
Policy priority
Policy level | Priority | Scope | Configuration method | Configured by | Requirements |
Custom peripheral rules in the cloud computer policy | Highest | All cloud computers associated with this policy | Console | Administrator | Client version V7.10 or later |
Custom settings by the end user | Medium | The current client in use | Client | End user | N/A |
Recommended configuration from the best practice library | Lowest | Global (default configuration) | No configuration required | N/A | N/A |
Configure peripheral policies in the console
Peripheral management policies are part of the cloud computer policy, and must be created and maintained by an administrator in the console.
The following examples use the EDS Enterprise Edition console. For the Business Edition procedure, see Manage policies.
General procedure for creating or modifying peripheral policies
Create a custom policy and associate it with a cloud computer
Modify a custom policy already associated with a cloud computer
Peripheral-related rules in the cloud computer policy
Parameter | Description | Requirements and limits |
Local disk redirection | ||
Local disk mapping | Maps the local device disk as a cloud computer disk so that you can access local disk data from the cloud computer. Options include:
|
|
External disk mapping | Maps an externally connected disk device (such as a USB flash drive) as a cloud computer disk so that you can access the external disk data from the cloud computer. Options include:
|
|
Peripheral redirection | ||
USB redirection switch | When enabled, USB devices connected to the local terminal can be used on the cloud computer. You can restrict access by using an allowlist and blocklist or by device category. When disabled, peripheral devices configured for USB redirection are automatically switched to Prohibited. | The web client does not support USB devices and therefore does not support USB redirection. |
Camera | Select a redirection rule for each peripheral type. Options include:
| Supported on Windows cloud computers that use the ASP protocol and Linux cloud computers running version 3.0.0 or later. Only device redirection is supported. |
Scanner | Only USB redirection is supported. | |
ADB | No restrictions. | |
Printer |
| |
Serial port device | No restrictions. | |
Peripheral allowlist and blocklist | ||
Peripheral allowlist and blocklist | After you configure USB redirection rules by peripheral category, you can use the peripheral allowlist and blocklist to set exceptions for specific peripherals. The allowlist and blocklist take priority over USB redirection rules configured by peripheral category.
|
|
Peripheral management rules | ||
Custom rules | You can create custom rules to manage redirection at the individual peripheral level, identified by Vendor ID (VID) and Product ID (PID). |
|
Best practice recommended rules | Best practice recommended rules provided by EDS. |
|
End user: install UsbDk (conditional)
You need to install UsbDk on the local Windows computer only when you use Windows client and access peripherals through USB redirection. UsbDk is not required in other scenarios.
UsbDk (USB Development Kit) is an open-source driver library for Windows that provides applications with direct and exclusive access to USB devices. It is essential for USB peripherals to function properly on a cloud computer. The Windows client installer includes UsbDk installation. If you skipped this step during installation, peripheral issues may occur. Follow these steps to reinstall UsbDk.
Open the Alibaba Cloud Workspace client download page and download the latest version of Windows client.
Double-click the installer to run it. On the Select Components screen, make sure to select UsbDk Runtime Libraries, and then follow the prompts to complete the installation.
Restart your computer after installing UsbDk Runtime Libraries.