Scripted action set watermarking with default values

reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v fEnableWatermarking /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v WatermarkingOpacity /t REG_DWORD /d 792 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v WatermarkingHeightFactor /t REG_DWORD /d 280 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v WatermarkingWidthFactor /t REG_DWORD /d 415 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v WatermarkingQrScale /t REG_DWORD /d 4 /f
0

Comments (1 comment)

0
Avatar
Adam Young

use the above regadd commands for a quick and dirty way to enable watermarking with the default values on existing session hosts.  There are options in the AVD Deployment tab to set these but this script can be run if you dont want to have to re-image your hosts.

Please sign in to leave a comment.