Powershell (admin)

$obj = gwmi -namespace “Root/CIMV2/TerminalServices” Win32_TerminalServiceSetting

$obj.ChangeMode(4)

$obj.SetSpecifiedLicenseServerList(“%FQDN license servername or IP%”

Source: Licenses are not available for this Remote Desktop Session – WinCert

Alternate:

import-module RemoteDesktopServices
CD RDS:  
CD .\RDVHConfiguration\LicensingSettings  
Set-Item .\LicensingType -Value 4
New-Item -name deploy.domain.local