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.
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
| État | Valeur é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 DWordDé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 DWordRevenir à « 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 SilentlyContinueOptions (5)
| Libellé | Contrôle | Valeur de registre | Type REG | Contraintes / détails | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| QR code bitmap scale factorPart_WatermarkingQrScale | Zone numériquedecimal | WatermarkingQrScale | REG_SZ | Min : 1 · Max : 10 · Défaut (interface) : 4 | ||||||
| QR code bitmap opacityPart_WatermarkingOpacity | Zone numériquedecimal | WatermarkingOpacity | REG_SZ | Min : 100 · Max : 9999 · Défaut (interface) : 2000 | ||||||
| Width of grid box in percent relative to QR code bitmap widthPart_WatermarkingWidthFactor | Zone numériquedecimal | WatermarkingWidthFactor | REG_SZ | Min : 100 · Max : 1000 · Défaut (interface) : 320 | ||||||
| Height of grid box in percent relative to QR code bitmap heightPart_WatermarkingHeightFactor | Zone numériquedecimal | WatermarkingHeightFactor | REG_SZ | Min : 100 · Max : 1000 · Défaut (interface) : 180 | ||||||
| QR code embedded contentPart_WatermarkingContent | Liste déroulanteenum | WatermarkingContent | REG_DWORD | Choix par défaut (interface) : n° 0
|
Application
Azure Virtual Desktop (Microsoft) — modèles de novembre 2026
Modèles officiels téléchargés le 12 novembre 2026.