Hi,
We have 2 session host and 1 license server, 1 session host working properly grace period return0 , another session host still showing grace period 119 days.
we have checked forum based on that changed the configurations but still showing grace period 119 days.
wmic/namespace:\\root\CIMV2\TerminalServices PATH
Win32_TerminalServiceSetting WHERE (__CLASS!="")CALL GetGracePeriodDays
Executing (\\RDLicenseServer\root\CIMV2\TerminalServices:Win32_TerminalServiceSett
ing.ServerName="RDLicenseServer")->GetGracePeriodDays()
Method execution successful.
Out Parameters:
instance of __PARAMETERS
{
DaysLeft = 119;
ReturnValue = 0;
};
Group Policy :
Computer Configuration\ Administrative Templates\ Windows Components\ Remote Desktop Services\ Remote Desktop Session Host\ Licensing
Use the specified Remote Desktop license servers Enabled RDLicenseServer
Set the Remote Desktop licensing mode Enabled per user
Rebooted
Registry Value:
It was 5, changed to 4
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\Licencing Core - 4psexec -s -i regedit.exe
Deleted
HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\CONTROL\Terminal Server\RCM\GracePeriod
Rebooted, but when reboot again this folder creating and Showing in Grace period.
Powershell Cmd:
$obj.GetSpecifiedLicenseServerList()__GENUS : 2
__CLASS : __PARAMETERS
__SUPERCLASS :
__DYNASTY : __PARAMETERS
__RELPATH :
__PROPERTY_COUNT : 2
__DERIVATION : {}
__SERVER :
__NAMESPACE :
__PATH :
ReturnValue : 0
SpecifiedLSList : {RDLicenseServer}
PSComputerName :
Checked in rds license diagnoser , but no error / warning.
Please suggest on the same.
Regards,
Mani