Open in the explorer

Enable watermarking

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Azure Virtual Desktop
Supported on
Azure Virtual Desktop
ADMX file
terminalserver-avd.admx
Internal name
terminalserver-avd/AVD_SERVER_WATERMARKING

Explanation

This policy setting allows you to specify whether watermarking is enabled for a remote session.
If you enable this policy setting, then the RD Session Host server will instruct the client to project the watermarking QR code in a remote session.

If client is not compatible with watermarking, then connection will be denied.

If you disable or do not configure this policy setting, then the watermarking will be disabled.

Note: You can choose the Device ID option for QR code embedded content only if the target device is Azure AD joined or Hybrid Azure AD joined.

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
Value name
fEnableWatermarking
StateValue written
EnabledREG_DWORD = 1
DisabledREG_DWORD = 0

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: terminalserver-avd/AVD_SERVER_WATERMARKING
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'fEnableWatermarking' -Value 1 -Type DWord
# QR code bitmap scale factor
Set-ItemProperty -Path $k -Name 'WatermarkingQrScale' -Value '4' -Type String  # between 1 and 10
# QR code bitmap opacity
Set-ItemProperty -Path $k -Name 'WatermarkingOpacity' -Value '2000' -Type String  # between 100 and 9999
# Width of grid box in percent relative to QR code bitmap width
Set-ItemProperty -Path $k -Name 'WatermarkingWidthFactor' -Value '320' -Type String  # between 100 and 1000
# Height of grid box in percent relative to QR code bitmap height
Set-ItemProperty -Path $k -Name 'WatermarkingHeightFactor' -Value '180' -Type String  # between 100 and 1000
# QR code embedded content
# Possible options:
#   Connection ID = 0
#   Device ID = 1
Set-ItemProperty -Path $k -Name 'WatermarkingContent' -Value 0 -Type DWord

Disable

# Disable: terminalserver-avd/AVD_SERVER_WATERMARKING
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'fEnableWatermarking' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": terminalserver-avd/AVD_SERVER_WATERMARKING
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services'
Remove-ItemProperty -Path $k -Name 'fEnableWatermarking' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'WatermarkingQrScale' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'WatermarkingOpacity' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'WatermarkingWidthFactor' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'WatermarkingHeightFactor' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'WatermarkingContent' -ErrorAction SilentlyContinue

Options (5)

LabelControlRegistry valueREG typeConstraints / details
QR code bitmap scale factorPart_WatermarkingQrScaleNumeric boxdecimalWatermarkingQrScaleREG_SZ
Min: 1 · Max: 10 · Default (UI): 4
QR code bitmap opacityPart_WatermarkingOpacityNumeric boxdecimalWatermarkingOpacityREG_SZ
Min: 100 · Max: 9999 · Default (UI): 2000
Width of grid box in percent relative to QR code bitmap widthPart_WatermarkingWidthFactorNumeric boxdecimalWatermarkingWidthFactorREG_SZ
Min: 100 · Max: 1000 · Default (UI): 320
Height of grid box in percent relative to QR code bitmap heightPart_WatermarkingHeightFactorNumeric boxdecimalWatermarkingHeightFactorREG_SZ
Min: 100 · Max: 1000 · Default (UI): 180
QR code embedded contentPart_WatermarkingContentDrop-down listenumWatermarkingContentREG_DWORD
Default choice (UI): #0
LabelValue
Connection IDREG_DWORD = 0
Device IDREG_DWORD = 1

Application

Azure Virtual Desktop (Microsoft) — November 2026 templates

Official templates downloaded on November 12, 2026.