Fix time bomb issue in Windows Terminal Server licensing
Created: 2018-07-17 00:22:25 | Last modified: 2018-11-27 03:44:01 | By: NovaAccess: Read | Visibility: Public | Views: 718 | Rating: N/A | Tags: windows windows server
Instructions of how to fix the time bomb issue in Windows Server Terminal Server licensing. This is when the license server is on the same server as terminal services and not on a domain
Instructions of how to fix the time bomb issue in Windows Server Terminal Server licensing. This is when the license server is on the same server as terminal services and not on a domain, it causes issues.
The following commands need to be run on the server in power shell
Run the following command to set the licensing mode.
Note Value = 2 for per device, Value = 4 for per user.
$obj = gwmi -namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSettingRun the following command to replace the machine name with License Server:
$obj.ChangeMode(4)Run the following command to verify the settings that are configured using previous steps:
$obj.SetSpecifiedLicenseServerList("PEVPS")Run the following command and you should see the server name in the output.
$obj.GetSpecifiedLicenseServerList()Reboot server