Ouvrir dans l'explorateur

Enable watermarking

Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.

Type
Ordinateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Azure Virtual Desktop EN : Computer Configuration › Policies › Administrative Templates › Azure Virtual Desktop
Pris en charge sur
Azure Virtual Desktop
Fichier ADMX
terminalserver-avd.admx
Nom interne
terminalserver-avd/AVD_SERVER_WATERMARKING

Explication

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.

Registre

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
Nom de la valeur
fEnableWatermarking
ÉtatValeur écrite
ActivéREG_DWORD = 1
DésactivéREG_DWORD = 0

PowerShell

Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.

Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.

Activer

# Activer : 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  # entre 1 et 10
# QR code bitmap opacity
Set-ItemProperty -Path $k -Name 'WatermarkingOpacity' -Value '2000' -Type String  # entre 100 et 9999
# Width of grid box in percent relative to QR code bitmap width
Set-ItemProperty -Path $k -Name 'WatermarkingWidthFactor' -Value '320' -Type String  # entre 100 et 1000
# Height of grid box in percent relative to QR code bitmap height
Set-ItemProperty -Path $k -Name 'WatermarkingHeightFactor' -Value '180' -Type String  # entre 100 et 1000
# QR code embedded content
# Options possibles :
#   Connection ID = 0
#   Device ID = 1
Set-ItemProperty -Path $k -Name 'WatermarkingContent' -Value 0 -Type DWord

Désactiver

# Désactiver : 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

Revenir à « Non configuré »

# Revenir à « Non configuré » : 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)

LibelléContrôleValeur de registreType REGContraintes / détails
QR code bitmap scale factorPart_WatermarkingQrScaleZone numériquedecimalWatermarkingQrScaleREG_SZ
Min : 1 · Max : 10 · Défaut (interface) : 4
QR code bitmap opacityPart_WatermarkingOpacityZone numériquedecimalWatermarkingOpacityREG_SZ
Min : 100 · Max : 9999 · Défaut (interface) : 2000
Width of grid box in percent relative to QR code bitmap widthPart_WatermarkingWidthFactorZone numériquedecimalWatermarkingWidthFactorREG_SZ
Min : 100 · Max : 1000 · Défaut (interface) : 320
Height of grid box in percent relative to QR code bitmap heightPart_WatermarkingHeightFactorZone numériquedecimalWatermarkingHeightFactorREG_SZ
Min : 100 · Max : 1000 · Défaut (interface) : 180
QR code embedded contentPart_WatermarkingContentListe déroulanteenumWatermarkingContentREG_DWORD
Choix par défaut (interface) : n° 0
LibelléValeur
Connection IDREG_DWORD = 0
Device IDREG_DWORD = 1

Application

Azure Virtual Desktop (Microsoft) — modèles de novembre 2026

Modèles officiels téléchargés le 12 novembre 2026.