Updated on 2024-10-23 GMT+08:00

Creating a Policy

Scenario

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

  • General
  • Peripheral
  • Audio
  • Client
  • Display
  • File & Clipboard
  • Session
  • Watermark
  • Audio and video bypass
  • Virtual channel
  • Keyboard & Mouse

Prerequisites

You have purchased a desktop.

Procedure

  1. Log in to the Workspace console.
  2. Choose Policies > Protocol Policy.

    The Protocol Policy page is displayed.

  3. Click Create Policy.

    The Create Policy page is displayed.

  4. Configure the policy name and description.

    • The policy name can contain up to 55 characters in digits, letters, and underscores (_).
    • The description contains up to 255 characters.

  5. Select a creation mode as required.

    • Create without template: Create a policy using the default blank template.
    • Create with template: Create a policy using an existing policy template, whose configuration items will be used by default.

      The administrator can select an existing policy template or create a template by adding a user-defined template.

      The system provides four policy templates to help you quickly configure desktop policies in four different scenarios.

      • In security scenarios, Huawei Delivery Protocol (HDP) prevents data in a desktop from being transferred to or even stored on personal storage devices and ensures that data is stored only in an on-premises data center.
      • In gaming scenarios, cursor follow-up and image display are optimized to ensure smoothness even in poor bandwidth conditions.
      • In graphics processing scenarios, the display frame rate can be adjusted to improve the display quality and the cursor follow-up mode can be adjusted to narrow the gap between the cursor and the image and reduce the visual difference.
      • In video editing scenarios, video acceleration is used to optimize video playback quality. The cursor closely follows user operations, improving user experience.
    • Import an existing policy: If a policy group has been created, you can import a policy from an existing policy group. The configuration items of the selected policy will be used by default.

  6. Click Next: Configure policies.

    The General Policy Configuration page is displayed.

  7. On the displayed page, configure application policies for the computer as required.

    General policies the simplified version of advanced policies and can meet common office automation (OA) requirements. By default, policy parameters that meet common OA requirements are enabled.

    • indicates that the policy is enabled.
    • indicates that the policy is disabled.
    For details about configuring a general policy, see Table 1.
    Table 1 Policy management

    Type

    Parameter

    Policy

    USB Port Redirection

    Graphics Device (such as scanners)

    Supports USB peripherals on Workspace. Users can use devices in VMs through USB port redirection.

    Video Device (such as cameras)

    Print Device (such as printer)

    Storage Device (such as USB flash drives)

    Smart Card (such as Ukey)

    File Redirection

    Client Fixed Driver

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

    Supports drivers on Workspace. Users can use drivers in VMs through file redirection.

    Client Removable Driver

    Client Disc Driver

    Client Network Driver

    Clipboard Redirection

    Bidirectional

    After this function is enabled, end users can copy data on cloud desktops and paste the data on local desktops, or copy data on local desktops and paste the data on cloud desktops.

    Server to Client

    After this function is enabled, end users can only copy data on cloud desktops 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 cloud desktops.

    NOTE:

    Files can be copied only from a Windows client to a server, and file redirection and the corresponding driver must be enabled.

    Printer Redirection

    -

    VM end users can use printers connected to devices through printer redirection (a policy of device redirection).

    Rendering acceleration

    NOTE:

    This option only applies to video editing.

    Image Quality

    The display quality is excellent and the bandwidth usage is high. The bandwidth is 25 Mbit/s.

    The parameter details cannot be edited by default.

    Smoothness

    The display quality and bandwidth usage are balanced. The bandwidth is 20 Mbit/s.

    The parameter details cannot be edited by default.

    Level 1

    NOTE:

    The HDP Plus parameter can be customized for adaptation.

    The bandwidth (kbit/s) ranges from 256 to 25,000.

    NOTE:

    This parameter specifies the limit of the display stream data. Increasing the value of this parameter improves user experience but consumes more network bandwidth. If the network bandwidth is insufficient, increasing the value of this parameter will compromise smoothness. In this case, you are advised to use the default value.

    Display Frame Rate (FPS): 1–60

    NOTE:

    This parameter specifies the display frame rate when no video is played. Increasing the value improves display smoothness but consumes more bandwidth resources. If the network bandwidth is insufficient, increasing the value of this parameter will compromise smoothness. In this case, you are advised to use the default value.

    Video Frame Rate (FPS): 1–60

    NOTE:

    This parameter specifies the frame rate of video display. Increasing the value improves display smoothness but consumes more bandwidth resources. If the network bandwidth is insufficient, increasing the value of this parameter will compromise smoothness. In this case, you are advised to use the default value.

    Lossy Compression Recognition Threshold: 0–255

    NOTE:

    This parameter is used to adjust static image quality. A smaller value indicates higher quality but higher bandwidth usage and lower smoothness.

    Lossy Compression Quality: 20–100

    NOTE:

    This parameter is used to adjust static natural image quality. A larger value indicates higher quality but higher bandwidth usage and lower smoothness.

  8. Configure an advanced policy.

    The general policies can meet general office work requirements. Configure an advanced policy for special requirements.
    1. On the General Policy Configuration page, click Advanced Policy.

      The Advanced Policy page is displayed.

    2. Configure an advanced policy, as shown in Figure 1. For details about the advanced policy parameters, see Configuring Advanced Policy Parameters.
      Figure 1 Configuring an advanced policy

  9. Click Next: Select objects.
  10. Select an object type as required and then select an object.
  11. Click Next: Finish.

    The policy has been created and will take effect upon the next login to the desktop.