This is a follow up to an issue I have had for the last six months, ever since I deployed Windows Server 2019. Once a month around the same time users get this message:
“There is a problem with your remote desktop license and your session will be disconnected in 60 minutes. Contact your Administrator to fix this problem.”
A reboot of the affected session server fixes this, but this is unacceptable in our environment.
I have a Windows Server 2019 farm comprised of the following servers:
Sever1: Running the broker, gateway, web, and licensing server (has 120 Windows Server 2019 user CALs)
Server2: Session for Desktop collection
Server3: Session for Desktop collection
Server4: Session for Application collection
A GPO sets the license server to Server1 for the other servers.
The problem affects either Server2 or Server3, not at the same time.
The "RD License Diagnoser" tool shows all is well on the afflicted server when users are receiving this error. Per User licensing is shown as set here.
Sometime running the following in an Admin powershell fixes the problem:
Remove-Item HKLM:\Software\Microsoft\MSLicensing -Recurse -Force
regsvr32.exe /s mstscax.dll
However, this doesn't appear to be working this month.
Any help with debuging this issue would be greatly appreciated.