Updated on 2024-07-31 GMT+08:00

Configuring an Advanced Policy

Scenarios

During policy configuration, you can customize advanced policies for special scenarios.

You can plan and customize application policies of the following types to create the most efficient policy management solution for different scenarios.

  • indicates that a policy is enabled.
  • indicates that a policy is disabled.
  • Peripherals
  • Audio
  • Clients
  • Display
  • Files & Clipboards
  • Sessions
  • Keyboards & Mouse Devices

Peripherals

Configure peripheral application policies, as shown in Table 1.
Table 1 Peripheral policies

Type

Parameter

Description

Example Value

USB port redirection (valid only for a single session)

USB Port Redirection

  • : End users can use USB devices connected to terminals by using USB port redirection.
  • : End users cannot use USB devices connected to terminals by using USB port redirection.
  • Default value:

Graphics devices (such as scanners)

  • : End users can use USB graphics devices connected to terminals through USB port redirection.
  • : End users cannot use USB graphics devices connected to terminals through USB port redirection.
  • Default value:

Print devices (such as printers)

  • : End users can use USB print devices connected to terminals through USB port redirection.
  • : End users cannot use USB print devices connected to terminals through USB port redirection.
  • Default value:

Smart cards (such as USB keys)

  • : End users can use smart card devices on a computer through USB port redirection.
  • : End users cannot use smart card devices on a computer through USB port redirection.
  • Default value:

Video devices (such as cameras)

  • : End users can use USB video devices connected to terminals through USB port redirection.
  • : End users cannot use USB video devices connected to terminals through USB port redirection.
  • Default value:

Storage devices (such as USB flash drives)

  • : End users can use USB storage devices connected to terminals through USB port redirection.
  • : End users cannot use USB storage devices connected to terminals through USB port redirection.
  • Default value:

Network devices (such as wireless NICs)

  • : End users can use network devices on a computer through USB port redirection.
  • : End users cannot use network devices on a computer through USB port redirection.
  • Default value:

Wireless devices (such as Bluetooth)

  • : End users can use wireless devices on a computer through USB port redirection.
  • : End users cannot use wireless devices on a computer through USB port redirection.
  • Default value:

Other USB devices

  • : End users can use other USB devices (excluding graphics devices, video devices, printers, storage devices, and smart cards) connected to terminals through USB port redirection.
  • : End users cannot use other USB devices (excluding graphics devices, video devices, printers, storage devices, and smart cards) connected to terminals through USB port redirection.
  • Default value:

Custom USB Port Redirection Policy

Users can customize USB policies.

  • The policy configuration format is ID:90C:937B:1:0|CLASS:00:00:00:08:06:50:1:0|USBKEY:14E:201|SPECIAL:47E:471|ADV:78e:79f:1:1:1:1.
  • The value contains up to 1000 characters and cannot contain spaces, double quotation marks (""), and the following characters: !@#$%^&*()>/?

ID:90C:937B:1:0|CLASS:00:00:00:08:06:50:1:0|USBKEY:14E:201|SPECIAL:47E:471|ADV:78e:79f:1:1:1:1

Linux TC USB Redirection Mode

  • This option is used to set the USB redirection mode only for Linux TCs.
  • When a Huawei Linux TC is used and a USB device is not compatible with the classic mode (recommended for Linux TCs), you can try the general mode. The Linux TC model supported by Huawei is HT3300.
  • General mode: The client USB driver is implemented using a user mode driver. Set it to General mode for non-Huawei Linux TCs.

Classic mode

Printer redirection

Printer Redirection

  • : End users can use printers connected to TCs through printer redirection.
  • : End users cannot use printers connected to TCs through printer redirection.
  • Default value:
    NOTICE:

    The printer driver must be installed on both TCs and computers.

Synchronize with the client default printer

  • : The default printer of the client is synchronized.
  • : The default printer of the client is not synchronized.
  • Default value:

Universal Printer Driver

  • Default
  • HDP XPSDrv Driver
  • Universal Printing PCL 5
  • Universal Printing PCL 6
  • Universal Printing PS

If you select Default, Universal Printing PS is loaded for printer redirection on a Linux client and HDP XPSDrv Driver is loaded for printer redirection on a Windows client.

NOTICE:

To simplify the printer service, ensure that all users use SCs and TCs running the same OS to log in to Workspace Application Streaming. For example, all TCs run Windows OS.

Default

Session printer

Session Printer

  • : After the session printer is enabled and a custom policy is configured, a network sharing printer is automatically created in the session.
  • : The session printer is disabled.
  • Default value:

Custom Session Printer Policy

  • Users can customize a session printer policy by configuring IP address;Printer name;Printer model;Default printer;Settings;Location. Configuration items are separated by semicolons (;), and multiple policies are separated by vertical bars (|) and form a string that is saved in the configuration file. The string contains a maximum of 255 characters and cannot contain any of the following characters: "!@#$%^&*()>?
    • IP address: IP address of the printer server, for example, 192.168.1.11. This parameter is mandatory.
    • Printer name: name of the printer, for example, EPSON TM-T88IV Receipt. This parameter is mandatory.
    • Printer model: printer driver model, for example, EPSON TM-T88IV ReceiptSC4. This parameter is mandatory.
    • Default printer: If the value is 0, the printer is not a default printer; if the value is 1, the printer is a default printer. This parameter is mandatory.
    • Settings: If the value is 0, the printer is a network sharing printer; if the value is 1, the printer is a network port printer. This parameter is mandatory.
    • Location: indicates the printer location matching. Partial matching and full matching of client IP addresses, MAC addresses, and TC host names are supported currently. For example, IP:192.168.1.12 indicates full match of IP addresses, IP:192.168 indicates partial match of IP addresses, MAC:00-ac indicates partial match of MAC addresses, and HOSTNAME:workspace-vdesktop indicates full match of host names. If location matching is not required, set the parameter to 0.

192.168.1.11;EPSON TM-T88IV Receipt;EPSON TM-T88IV ReceiptSC4;1;0;IP:192.168.1.12

Camera redirection (valid only for a single session)

Camera Redirection

  • : End users can use cameras connected to terminals through camera redirection (a policy of device redirection).
  • : End users cannot use cameras connected to terminals through camera redirection (a policy of device redirection).
  • Default value:
    NOTE:
    • The camera driver must be installed on the terminal.
    • Set USB Port Redirection to and select Video Device (Such as Cameras).

Camera Frame Rate (FPS)

The value ranges from 1 to 30.

15

Camera Max Width (Pixel)

The value ranges from 1 to 9999.

3000

Camera Max Height (Pixel)

The value ranges from 1 to 9999.

3000

Camera Data Compression Mode

H.264

H.264

TWAIN device redirection (valid only for a single session)

TWAIN Redirection

  • : End users can use TWAIN devices connected to terminals through TWAIN redirection (a policy of device redirection).
  • : End users cannot use TWAIN devices connected to terminals through TWAIN redirection (a policy of device redirection).
  • Default value:
    NOTE:

    The TWAIN driver must be installed on the terminal.

Image Compression Level

Defines the compression level for TWAIN redirection.

  • None (no compression)
  • Low (highest speed)
  • Medium (medium speed)
  • Lossless
  • Low-loss
  • Medium-loss
  • High-loss

Medium (medium speed)

Audio

Configure audio policies, as shown in Table 2.
Table 2 Audio policies

Type

Parameter

Description

Example

Audio redirection

Audio Redirection

Applications on the Workspace Application Streaming client can use audio devices on terminals to record and play audio.

Playback redirection

Playback Redirection

This parameter takes effect only after audio redirection is enabled. The playback switch is controlled separately.

  • : Playback redirection is enabled so that end users can play audio.
  • : Playback redirection is disabled so that end users cannot play audio.

Playback Scenario

  • Lossless: The voice quality is the best, but the bandwidth usage is the highest.
  • Voice call: The best voice call processing capability can be provided and the bandwidth usage is the lowest, but the music processing capability is average.
  • Music playback: The best music processing capability can be provided and the bandwidth usage is medium, but the voice call processing capability is average.
  • Auto identification: The user's behavior, such as voice call or music playback, can be identified. The accuracy rate exceeds 90%. The system automatically switches to a better algorithm based on user behavior.

Music playback

Recording redirection

Recording Redirection

This policy takes effect only after audio redirection is enabled. The recording switch is controlled separately.

  • : Recording redirection is enabled so that end users can record audio.
  • : Recording redirection is disabled so that end users cannot record audio.

Recording Scenario

  • Lossless: The voice quality is the best, but the bandwidth usage is the highest. This level is recommended only when the network bandwidth is sufficient and the network is stable and reliable. Generally, this level is not recommended for audio recording.
  • Voice call: The best voice call processing capability can be provided and the bandwidth usage is the lowest, but the music processing capability is average. You are advised to select this level because audio recording is the most common scenario.
  • Music recording: This option is reserved because recording is rarely used for music playback. Therefore, this option is not recommended for audio recording.
  • Auto identification: This option is reserved and is equivalent to Voice call.

Voice call

Clients

Configure client policies, as shown in Table 3.
Table 3 Client policies

Parameter

Description

Example

Automatic Reconnection Interval (s)

Specifies the interval at which the Workspace Application Streaming client attempts to connect to the server after the client is disconnected abnormally. The value ranges from 1 to 50.

5

Session Persistence Time (s)

Specifies the longest duration allowed for automatic reconnection attempts after the Workspace Application Streaming client is disconnected abnormally. The value ranges from 0 to 180.

180

Anti-Screenshot Policy

After the policy is enabled, users are prevented from taking screenshots on the Workspace Application Streaming client for local storage and sharing.

  • : The policy is enabled.
  • : The policy is disabled.
    NOTE:

    This function only applies to Windows clients and Linux TCs. After this function is enabled, other terminals cannot access the system.

Display

Configure display policies, as shown in Table 4.
Table 4 Display policies

Type

Parameter

Description

Example

Display

Display Policy Level

  • Level 1: applies to network bandwidth lower than 512 Kbit/s. It can be used only for light-load office scenarios, such as browsing text documents. The display quality of this level is low.
  • Level 2: applies to network bandwidth lower than 1 Mbit/s. It can be used only for light-load office scenarios, such as browsing text documents and static images. The display quality of this level is better than that of Level 1.
  • Level 3: applies to network bandwidth lower than 4 Mbit/s. It can be used for medium-load office scenarios, such as browsing documents, images, and dynamic web pages.
  • Level 4 (Recommended): applies to network bandwidth lower than 20 Mbit/s. It can be used to play standard definition (SD) and high definition (HD) videos. This level ensures the display quality at a proper bandwidth level.
  • Level 5: applies to network bandwidth higher than 20 Mbit/s. This level delivers the optimal video playback.

Level 4 (Recommended)

Display Frame Rate (FPS)

Indicates the image refresh rate in non-video scenarios. Increasing this value improves image and operation smoothness but consumes more network bandwidth and VM CPU resources. The value ranges from 1 to 60. The recommended value ranges from 15 to 25.

25

Video Frame Rate (FPS)

Indicates the image refresh rate of video. Increasing this value improves video playback smoothness but consumes more network bandwidth and VM CPU resources.

-

Bandwidth (Kbit/s)

Limits the peak bandwidth of a user. The value ranges from 256 to 25,000.

20,000

Image Compression Parameters

Min. Capacity for Image Cache (MB)

The minimum capacity for image cache, expressed in MB. Increasing this value reduces bandwidth usage but consumes more client memory resources. If this parameter is set to a value smaller than 50, the cache function is disabled. The value ranges from 0 to 300.

200

Lossy Compression Recognition Threshold

The threshold for recognizing image complexity. Decreasing this value increases image quality but consumes more network bandwidth resources. The value ranges from 0 to 255.

60

Lossless Compression

Specifies the image compression algorithm. You can select Basic compression or Deep compression. When you compress the same picture, the compression ratio and CPU usage of basic compression are lower than those of deep compression.

Basic compression

Deep Compression Level

This parameter takes effect after Deep compression is selected. A higher compression level means a higher compression ratio and CPU usage but lower bandwidth usage. Level 0 indicates a copy operation without compression. This level consumes the fewest CPU resources but the most bandwidth resources.

Level 0

Lossy Compression Quality

This parameter is used to set the image quality after lossy compression. Increasing this value improves image quality. The value ranges from 20 to 100.

85

Color Enhancement for Office Work

This parameter is used for color enhancement in office scenarios.

  • : Color enhancement in office scenarios is enabled.
  • : Color enhancement in office scenarios is disabled.

Video Compression Parameters

Quality/Bandwidth First

  • Quality: If this option is selected, video images are compressed at a fixed quality. Average Video Bitrate (Kbit/s) takes effect only after Rendering acceleration is enabled.
  • Bandwidth: If this option is selected, video images are compressed at a fixed bitrate.

    Average Video Quality, Lowest Video Quality, and Highest Video Quality take effect only after Rendering acceleration is enabled.

Quality

Average Video Bitrate (Kbit/s)

Video compression algorithm parameter. Increasing this value in the Bandwidth mode improves display quality. The value ranges from 256 to 100,000.

18,000

Peak Video Bitrate (Kbit/s)

Video compression algorithm parameter. Increasing this value improves display quality. The value ranges from 256 to 100,000.

18,000

Average Video Quality

Average quality coefficient of video. In the Quality mode, increasing this value compromises display quality. The value ranges from 5 to 59.

15

Lowest Video Quality

Lower limit of video quality. In the Quality mode, increasing this value compromises display quality. The value ranges from 5 to 69.

25

Highest Video Quality

Upper limit of video quality. In the Quality mode, increasing this value compromises display quality. The value ranges from 1 to 59.

7

GOP Size

Video compression algorithm parameter. Decreasing this value improves video quality but consumes more bandwidth resources. It is recommended that this value be 1 to 2 times the video frame rate. The value ranges from 0 to 65,535.

100

Encoding Preset

Video compression algorithm parameter. Decreasing this value means faster encoding and better smoothness but lower image quality and higher bandwidth usage.

Preset 1

Rendering acceleration

Rendering acceleration

  • : Rendering acceleration is enabled to improve smoothness.
  • : Rendering acceleration is disabled.

Video Acceleration Enhancement

  • : Video acceleration enhancement is enabled.
  • : Video acceleration enhancement is disabled.

Video Scenario Optimization

  • : Video scenario optimization is enabled to improve smoothness.
  • : Video scenario optimization is disabled.

GPU Color Optimization

  • : GPU color optimization is enabled to improve color reproduction in video/office hybrid scenarios.
  • : GPU color optimization is disabled.
NOTE:

This parameter applies only to GPU desktops.

Other Parameters

Graphics Card Memory (MB)

Device memory capacity. The value ranges from 0 to 64. This parameter affects the bandwidth in some scenarios. Increasing this value reduces the bandwidth usage.

64

Driver Delegation Mode

  • : The driver delegation mode is enabled.
  • : The driver delegation mode is disabled.

Driver Delegation Latency (*30 ms)

The value ranges from 1 to 100.

80

Video Delegation Latency (*30 ms)

The value ranges from 1 to 100.

80

Change Resolution in Computer

  • : After the computer resolution change policy is enabled, end users can change the resolution in system settings on the Workspace Application Streaming client.
  • : After the computer resolution change policy is disabled, end users cannot change the resolution in system settings on the Workspace Application Streaming client.

Files & Clipboards

Configure file & clipboard policies, as shown in Table 5.
Table 5 File & clipboard policies

Type

Parameter

Description

Example

Bidirectional redirection

Bidirectional Redirection

  • When Workspace Application Streaming is used on Workspace desktops, file redirection and clipboard redirection (bidirectional) are enabled by default. In this way, data can be copied between Workspace desktops and Workspace Application Streaming on the cloud.
  • When Workspace Application Streaming is used on TCs or local desktops, file and clipboard data copy is controlled based on file redirection and clipboard redirection.

File redirection

File Redirection

  • Read-only: Files in drivers and storage devices can only be pre-viewed.
  • Read/write: Files in drivers and storage devices can be modified.

Users can use drivers in Workspace Application Streaming through file redirection.

Read-only

Fixed driver

  • : Users can use fixed drivers, such as local disks, on Workspace Application Streaming in the file redirection mode.
  • : Users cannot use fixed drivers, such as local disks, on Workspace Application Streaming in the file redirection mode.
NOTE:

When file redirection is disabled, this function is disabled.

Removable driver

  • : Users can use removable drivers, such as USB flash drives, on Workspace Application Streaming in the file redirection mode.
  • : Users cannot use removable drivers, such as USB flash drives, on Workspace Application Streaming in the file redirection mode.
NOTE:

When file redirection is disabled, this function is disabled.

CD/DVD-ROM driver

  • : Users can use CD/DVD-ROM drivers on Workspace Application Streaming in the file redirection mode.
  • : Users cannot use CD/DVD-ROM drivers on Workspace Application Streaming in the file redirection mode.

Network driver

  • : Users can use network drivers on Workspace Application Streaming in the file redirection mode.
  • : Users cannot use network drivers on Workspace Application Streaming in the file redirection mode.

Send File From VM to Client

  • : This function is enabled.
  • : This function is disabled.

Traffic Control

  • : Traffic control is enabled.
  • : Traffic control is disabled.

Good Network Latency Threshold (ms)

Latency threshold of good network. The value ranges from 1 to 1000.

30

Normal Network Latency Threshold (ms)

Latency threshold of normal network. The value ranges from 1 to 1000.

70

Poor Network Latency Threshold (ms)

Latency threshold of poor network. The value ranges from 1 to 1000.

100

Reducing Step (KB)

Step of reducing the transmission speed. The value ranges from 1 to 100.

20

Slow Increasing Step (KB)

Slow step of increasing the transmission speed. The value ranges from 1 to 100.

10

Quick Increasing Step (KB)

Quick step of increasing the transmission speed. The value ranges from 1 to 100.

20

Start Speed (KB/s)

Initial transmission speed. The value ranges from 1 to 10,240.

1024

Test Block Size (KB)

Block size of speed testing. The value ranges from 64 to 1024.

64

Test Time Gap (ms)

Gap of testing. The value ranges from 1000 to 100,000.

10,000

Compression

  • : Compression is enabled.
  • : Compression is disabled.

Compression Threshold (Byte)

The value ranges from 0 to 10,240.

512

Min Compression Rate

The value ranges from 0 to 1000.

900

File Size Setting on Linux

  • : File size can be set on Linux.
  • : File size cannot be set on Linux.

File Size Threshold for Linux (MB)

The value ranges from 0 to 4096.

100

Linux Root Directory Mounting

  • : Root directory mounting is enabled on Linux.
  • : Root directory mounting is disabled on Linux.

Linux Root Directory Mounting Path

If root directory mounting is enabled on Linux, you need to configure the mounting path. The value contains a maximum of 256 characters in UTF-8 format.

\var\log

Linux File System Mounting Path

The value contains a maximum of 256 characters in UTF-8 format.

\media|\Volumes|\swdb\mnt|\home|\storage|\tmp|\run\media

Linux Fixed Driver File System Format

The value contains a maximum of 256 characters in UTF-8 format.

-

Linux Removable Driver File System Format

The value contains a maximum of 256 characters in UTF-8 format.

vfat|ntfs|msdos|fuseblk|sdcardfs|exfat|fuse.fdredir

Linux CD-ROM Driver File System Format

The value contains a maximum of 256 characters in UTF-8 format.

cd9660|iso9660|udf

Linux Network Driver File System Format

The value contains a maximum of 256 characters in UTF-8 format.

smbfs|afpfs|cifs

Path Separator

A single ASCII character

|

Read/Write Speed (Kbit/s)

The value ranges from 0 to 2,147,483,647.

0

Mobile Client Redirection

  • : Mobile client redirection is enabled.
  • : Mobile client redirection is disabled.

Clipboard redirection

Clipboard Redirection

  • Bidirectional: After this function is enabled, end users can copy data from the Workspace Application Streaming client and paste the data on local desktops, or vice versa.
  • Server to client: After this function is enabled, end users can only copy data on the Workspace Application Streaming client and paste the data on local desktops.
  • Client to server: After this function is enabled, end users can only copy data on local desktops and paste the data on the Workspace Application Streaming client.
  • Plain Text Length Limit
    • Allow server-to-client copy: 1 to 4,096 characters
    • Allow client-to-server copy: 1 to 4,096 characters
NOTE:
  • Rich text copy and file copy are supported only when both the client (TC/SC) OS and cloud application OS are Windows. A maximum of 500 files can be copied at a time.
  • If the OS of a client (TC/SC or mobile client) is not Windows, only text can be copied.

Bidirectional

Clipboard Rich Text Redirection

  • Bidirectional: After this function is enabled, end users can copy rich text from the Workspace Application Streaming client and paste the rich text on local desktops, or vice versa.
  • Server to client: After this function is enabled, end users can only copy rich text on the Workspace Application Streaming client and paste the rich text on local desktops.
  • Client to server: After this function is enabled, end users can only copy rich text on local desktops and paste the rich text on the Workspace Application Streaming client.

Bidirectional

Clipboard File Redirection

  • Bidirectional: After this function is enabled, end users can copy files from the Workspace Application Streaming client and paste the files on local desktops, or vice versa.
  • Server to client: After this function is enabled, end users can only copy files on the Workspace Application Streaming client and paste the files on local desktops.
  • Client to server: After this function is enabled, end users can only copy files on local desktops and paste the files on the Workspace Application Streaming client.

Bidirectional

Sessions

Configure session policies, as shown in Table 6.
Table 6 Session policies

Parameter

Description

Recommended Value

Auto Disconnection Without Keyboard/Mouse Device Operations

Enabled: If no keyboard or mouse device operation is performed on the client for a specified period of time, the client automatically disconnects from the server and the application is closed.

Disabled: The automatic disconnection function is disabled.

Enabled

Waiting Time (Min)

Sets the waiting time for automatic disconnection when no keyboard or mouse device operation is performed. Value range: 3–86,400.

15

Auto Logout

If Auto Disconnection Without Keyboard/Mouse Device Operations is enabled, you can configure the waiting time before the session is automatically logged out of.

Enabled

Session Retention After Disconnection (Min)

If Auto Disconnection Without Keyboard/Mouse Device Operations is enabled, in the case of automatic disconnection, the session is automatically logged out of after the session retention period expires. Value range: 1–86,400.

480

Keyboards & Mouse Devices

Configure keyboard & mouse device policies, as shown in Table 7.
Table 7 Keyboard & mouse device policies

Parameter

Description

Recommended Value

Computer Mouse Device Feedback

  • Adaptive
  • Forcible
  • Disabled

Adaptive

Computer Mouse Device Simulation Mode

  • Absolute positioning
  • Relative positioning

Absolute positioning

Computer external cursor feedback

  • : Computer external cursor feedback is enabled.
  • : Computer external cursor feedback is disabled.