Skip to content

Commit 97bc937

Browse files
Merge pull request #215414 from dknappettmsft/avd-watermarking-preview
AVD watermarking preview
2 parents 37bcaab + baa79f3 commit 97bc937

File tree

6 files changed

+180
-8
lines changed

6 files changed

+180
-8
lines changed

articles/virtual-desktop/TOC.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,12 +247,12 @@
247247
href: configure-host-pool-load-balancing.md
248248
- name: Personal desktop assignment type
249249
href: configure-host-pool-personal-desktop-assignment-type.md
250+
- name: Administrative template
251+
href: administrative-template.md
250252
- name: Move resources between regions
251253
href: move-resources.md
252254
- name: Use Azure Virtual Desktop license
253255
href: apply-windows-license.md
254-
- name: Screen capture protection
255-
href: screen-capture-protection.md
256256
- name: Customize session host image
257257
items:
258258
- name: Set up golden image in Azure
@@ -315,6 +315,12 @@
315315
href: configure-adfs-sso.md
316316
- name: Set up the KDC proxy
317317
href: key-distribution-center-proxy.md
318+
- name: Security
319+
items:
320+
- name: Screen capture protection
321+
href: screen-capture-protection.md
322+
- name: Watermarking
323+
href: watermarking.md
318324
- name: Deploy updates with Configuration Manager
319325
href: configure-automatic-updates.md
320326
- name: Set up multimedia redirection (preview)
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
---
2+
title: Administrative template for Azure Virtual Desktop
3+
description: Learn how to use the administrative template for Azure Virtual Desktop with Group Policy to configure settings.
4+
author: dknappettmsft
5+
ms.topic: how-to
6+
ms.date: 10/27/2022
7+
ms.author: daknappe
8+
---
9+
# Administrative template for Azure Virtual Desktop
10+
11+
We've created an administrative template for Azure Virtual Desktop to configure some features of Azure Virtual Desktop. You can use the template with Group Policy, which enables you to centrally configure session hosts that are joined to an Active Directory (AD) domain. You can also use the template with Group Policy locally on each session host, but this isn't recommended to manage session hosts at scale.
12+
13+
You can configure the following features with the administrative template:
14+
15+
- [Screen capture protection](screen-capture-protection.md)
16+
- [RDP Shortpath for managed networks](rdp-shortpath.md?tabs=managed-networks)
17+
- [Watermarking](watermarking.md)
18+
19+
> [!NOTE]
20+
> Importing the administrative template to Microsoft Intune is currently not supported. You should eventually be able to configure these features using the Intune settings catalog.
21+
22+
## Prerequisites
23+
24+
You'll need the following permission:
25+
26+
- For Group Policy in an Active Directory domain, you'll need to be a member of the **Domain Admins** security group.
27+
28+
- For local Group Policy on a session host, you'll need to be a member of the local **Administrators** security group.
29+
30+
## Add the administrative template
31+
32+
To add the administrative template, select a tab for your scenario and follow these steps.
33+
34+
# [Group Policy (AD)](#tab/group-policy-domain)
35+
36+
> [!NOTE]
37+
> These steps assume you're using the [Central Store for Group Policy](/troubleshoot/windows-client/group-policy/create-and-manage-central-store).
38+
39+
1. Download the latest [Azure Virtual Desktop administrative template files](https://aka.ms/avdgpo) and extract the contents of the .cab file and .zip archive.
40+
41+
1. Copy and paste the **terminalserver-avd.admx** file to the Group Policy Central Store for your domain, for example `\\contoso.com\SYSVOL\contoso.com\Policies\PolicyDefinitions`, where *contoso.com* is your domain name. Then copy the **terminalserver-avd.adml** file to the `en-us` subfolder.
42+
43+
1. Open the **Group Policy Management Console** (GPMC) and create or edit a policy that targets your session hosts.
44+
45+
1. To verify that the Azure Virtual Desktop administrative template is available, browse to **Computer Configuration** > **Policies** > **Administrative Templates** > **Windows Components** > **Remote Desktop Services** > **Remote Desktop Session Host** > **Azure Virtual Desktop**. You should see policy settings for Azure Virtual Desktop, as shown in the following screenshot:
46+
47+
:::image type="content" source="media/administrative-template-group-policy.png" alt-text="Screenshot of the Group Policy Management Editor showing Azure Virtual Desktop policy settings." lightbox="media/administrative-template-group-policy.png":::
48+
49+
# [Local Group Policy](#tab/local-group-policy)
50+
51+
1. Download the latest [Azure Virtual Desktop administrative template files](https://aka.ms/avdgpo) and extract the contents of the .cab file and .zip archive.
52+
53+
1. Copy and paste the **terminalserver-avd.admx** file to the PolicyDefinitions folder at `%windir%\PolicyDefinitions`. Then copy the **terminalserver-avd.adml** file to the `en-us` subfolder.
54+
55+
1. Open the **Local Group Policy Editor** console.
56+
57+
1. To verify that the Azure Virtual Desktop administrative template is available, browse to **Computer Configuration** > **Administrative Templates** > **Windows Components** > **Remote Desktop Services** > **Remote Desktop Session Host** > **Azure Virtual Desktop**. You should see policy settings for Azure Virtual Desktop, as shown in the following screenshot:
58+
59+
:::image type="content" source="media/administrative-template-group-policy.png" alt-text="Screenshot of the Local Group Policy Editor showing Azure Virtual Desktop policy settings." lightbox="media/administrative-template-group-policy.png":::
60+
61+
---
62+
63+
## Next steps
64+
65+
Learn how to use the administrative template with the following features:
66+
67+
- [Screen capture protection](screen-capture-protection.md)
68+
- [RDP Shortpath for managed networks](rdp-shortpath.md?tabs=managed-networks)
69+
- [Watermarking](watermarking.md)
51 KB
Loading
2.79 MB
Loading

articles/virtual-desktop/screen-capture-protection.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
---
2-
title: Azure Virtual Desktop screen capture protection
2+
title: Screen capture protection in Azure Virtual Desktop
33
titleSuffix: Azure
4-
description: How to set up screen capture protection for Azure Virtual Desktop.
4+
description: Learn how to enable screen capture protection in Azure Virtual Desktop (preview) to help prevent sensitive information from being captured on client endpoints.
55
author: femila
6-
ms.topic: conceptual
6+
ms.topic: how-to
77
ms.date: 01/27/2023
88
ms.author: femila
9-
ms.service: virtual-desktop
109
---
1110

12-
# Screen capture protection
11+
# Screen capture protection in Azure Virtual Desktop
1312

14-
Screen capture protection prevents sensitive information from being captured on the client endpoints. When you enable this feature, remote content will be automatically blocked or hidden in screenshots and screen shares. Also, the Remote Desktop client will hide content from malicious software that may be capturing the screen.
13+
Screen capture protection, alongside [watermarking](watermarking.md), helps prevent sensitive information from being captured on client endpoints. When you enable screen capture protection, remote content will be automatically blocked or hidden in screenshots and screen shares. Also, the Remote Desktop client will hide content from malicious software that may be capturing the screen.
1514

1615
In Windows 11, version 22H2 or later, you can enable screen capture protection on session host VMs as well as remote clients. Protection on session host VMs works just like protection for remote clients.
1716

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
---
2+
title: Watermarking in Azure Virtual Desktop (preview)
3+
description: Learn how to enable watermarking in Azure Virtual Desktop (preview) to help prevent sensitive information from being captured on client endpoints.
4+
author: dknappettmsft
5+
ms.topic: how-to
6+
ms.date: 10/27/2022
7+
ms.author: daknappe
8+
---
9+
# Watermarking in Azure Virtual Desktop (preview)
10+
11+
> [!IMPORTANT]
12+
> Watermarking is currently in PREVIEW.
13+
> See the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
14+
15+
Watermarking (preview), alongside [screen capture protection](screen-capture-protection.md), helps prevent sensitive information from being captured on client endpoints. When you enable watermarking, QR code watermarks appear as part of remote desktops. The QR code contains the *connection ID* of a remote session that admins can use to trace the session. Watermarking is configured on session hosts and enforced by the Remote Desktop client.
16+
17+
Here's a screenshot showing what watermarking looks like when it's enabled:
18+
19+
:::image type="content" source="media/watermarking-result.png" alt-text="A screenshot showing watermarking enabled on a remote desktop." lightbox="media/watermarking-result.png":::
20+
21+
> [!IMPORTANT]
22+
> - Once watermarking is enabled on a session host, only clients that support watermarking can connect to that session host. If you try to connect from an unsupported client, the connection will fail and you'll get an error message that is not specific.
23+
>
24+
> - Watermarking is for remote desktops only. With remote apps, watermarking is not applied and the connection is allowed.
25+
>
26+
> - If you connect to a session host directly (not through Azure Virtual Desktop) using the Remote Desktop Connection app (`mstsc.exe`), watermarking is not applied and the connection is allowed.
27+
28+
## Prerequisites
29+
30+
You'll need the following things before you can use watermarking:
31+
32+
- A Remote Desktop client that supports watermarking. The following clients currently support watermarking:
33+
34+
- [Windows Desktop client](users/connect-windows.md?toc=%2Fazure%2Fvirtual-desktop%2Ftoc.json), version 1.2.3317 or later, on Windows 10 and later.
35+
36+
- [Azure Virtual Desktop Insights](azure-monitor.md) configured for your environment.
37+
38+
## Enable watermarking
39+
40+
To enable watermarking, follow the steps below:
41+
42+
1. Follow the steps to download and add the [Administrative template for Azure Virtual Desktop](administrative-template.md).
43+
44+
1. Once you've verified that the Azure Virtual Desktop administrative template is available, open the policy setting **Enable watermarking** and set it to **Enabled**.
45+
46+
1. You can configure the following options:
47+
48+
| Option | Values | Description |
49+
|--|:--:|--|
50+
| QR code bitmap scale factor | 1 to 10<br />(*default = 4*) | The size in pixels of each QR code dot. This value determines how many the number of squares per dot in the QR code. |
51+
| QR code bitmap opacity | 100 to 9999 (*default = 700*) | How transparent the watermark is, where 100 is fully transparent. |
52+
| Width of grid box in percent relevant to QR code bitmap width | 100 to 1000<br />(*default = 320*) | Determines the distance between the QR codes in percent. When combined with the height, a value of 100 would make the QR codes appear side-by-side and fill the entire screen. |
53+
| Height of grid box in percent relevant to QR code bitmap width | 100 to 1000<br />(*default = 180*) | Determines the distance between the QR codes in percent. When combined with the width, a value of 100 would make the QR codes appear side-by-side and fill the entire screen. |
54+
55+
> [!TIP]
56+
> We recommend trying out different opacity values to find a balance between the readability of the remote session and being able to scan the QR code, but keeping the default values for the other parameters.
57+
58+
1. Apply the policy settings to your session hosts by running a Group Policy update or Intune device sync.
59+
60+
1. Connect to a remote session, where you should see QR codes appear. For any changes you make to the policy and apply to the session host, you'll need to disconnect and reconnect to your remote session to see the difference.
61+
62+
## Find session information
63+
64+
Once you've enabled watermarking, you can find the session information from the QR code by using Azure Virtual Desktop Insights or querying Azure Monitor Log Analytics.
65+
66+
### Azure Virtual Desktop Insights
67+
68+
To find out the session information from the QR code by using Azure Virtual Desktop Insights:
69+
70+
1. Open a web browser and go to https://aka.ms/avdi to open Azure Virtual Desktop Insights. Sign-in using your Azure credentials when prompted.
71+
72+
1. Select the relevant subscription, resource group, host pool and time range, then select the **Connection Diagnostics** tab.
73+
74+
1. In the section **Success rate of (re)establishing a connection (% of connections)**, there's a list of all connections showing **First attempt**, **Connection Id**, **User**, and **Attempts**. You can look for the connection ID from the QR code in this list, or export to Excel.
75+
76+
### Azure Monitor Log Analytics
77+
78+
To find out the session information from the QR code by querying Azure Monitor Log Analytics:
79+
80+
1. Sign in to [the Azure portal](https://portal.azure.com).
81+
82+
1. In the search bar, type *Log Analytics workspaces* and select the matching service entry.
83+
84+
1. Select to open the Log Analytics workspace that is connected to your Azure Virtual Desktop environment.
85+
86+
1. Under **General**, select **Logs**.
87+
88+
1. Start a new query, then run the following query to get session information for a specific connection ID (represented as *CorrelationId* in Log Analytics), replacing `<connection ID>` with the full or partial value from the QR code:
89+
90+
```kusto
91+
WVDConnections
92+
| where CorrelationId contains "<connection ID>"
93+
```
94+
95+
## Next steps
96+
97+
- Learn more about [Azure Virtual Desktop Insights](azure-monitor.md).
98+
- For more information about Azure Monitor Log Analytics, see [Overview of Log Analytics in Azure Monitor](../azure-monitor/logs/log-analytics-overview.md).

0 commit comments

Comments
 (0)