question

rvdli avatar image
0 Votes"
rvdli asked QbaC-7312 edited

RDS sessions disconnecting after 60 minutes

Hi all,

All the servers on my RDS farm are joined to a domain, the licensing server shows no errors on Licensing Diagnostics, but this message is being displayed on all sessions:

"There is a problem with your license for Remote Desktop and the session will end in 60 minutes."

RDS Licensing Server shows that the CALs were assigned to the user, but it keeps showing the error on the sessions, which are disconnected after 60 minutes.

The licensing mode is Per User. I've already set up on the Server Manager, enforced on GPO settings, but still shows the same error.

remote-desktop-services
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

is there any updating on this question?

0 Votes 0 ·

any updating on this question?

0 Votes 0 ·

Did anyone find a solution? I'm in the exact same place now

thanks

0 Votes 0 ·
yvonneyang-MSFT avatar image
0 Votes"
yvonneyang-MSFT answered yvonneyang-MSFT edited

hi,
l Have you ever set the session time limits for all user who logged on before?


If not, here a workaround is to go to Group Policy and try to set session time limit, details shown as below:
1. Cmd prompt, gpedit.msc
2. Computer Configuration->Admin Templates-> Windows Components-> Remote Desktop Services->Remote Desktop Session Host->Session Time Limits
16568-image.png


  1. Enable appropriate group policies and modify as needed

  2. We recommend setting this one because it will prevent disconnected sessions from consuming server resources — “Set time limit for disconnect sessions”
    16614-image.png

  3. After modifying group policies, you can force an update without rebooting by typing “gpupdate /force” at cmd prompt

plz. inform me if it works well after the setting. And if it’s convenient to you, a clean boot is another workaround we can try.


--please don't forget to Accept as answer if the reply is helpful--



image.png (99.8 KiB)
image.png (138.6 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

HomerSibayan-3006 avatar image
0 Votes"
HomerSibayan-3006 answered

Hi yvonneyang


Same Issue here we are encountered. my question is where do i need to go to edit the GPO ? Is it on the Licenses server of RDS ? or in the Session host Server ?

Thanks
Homer

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MooreTyler-9391 avatar image
0 Votes"
MooreTyler-9391 answered

If your system is in a domain, then you would go to the AD GPO policy for the OU your system is in and make the changes to the AD GPO, we have a specific OU for our terminal servers and a policy set to that OU, if you have the same, you should make the changes there (note, these changes will affect any other systems that are in that OU and will get the same GPO setting pushed down to them).

You could do it on the local system if you are not in a domain, you would run gpedit.msc (as is noted in step 1 above) on the local system/terminal and edit the local group policy however, if your domain is pushing the AD GPO, you should make the change there otherwise your domain AD GPO might overwrite your changes on the local system policy...anyone feel free to correct me if I am wrong or clarify if this is unclear....

Whether it is a Domain GPO or a local GPO you will edit it in the same place with the same setting as listed above.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DominikBednarski-1478 avatar image
0 Votes"
DominikBednarski-1478 answered QbaC-7312 converted comment to answer

I have the same problem but I do not have AD. On the Windows server 2016 version, it worked correctly with the same licenses.
Could the reason be the fact that earlier the server had a different naming than today. So I wonder if the license seems to be a different server so they do not want to cooperate?

In addition, this RDS server 2019 is a virtual machine on HyperV whether it changes anything.

after I got the time limits and it still doesn't work,

Please help.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

134386-obraz.png



dodakowa przesyła print scryna

0 Votes 0 ·
obraz.png (85.5 KiB)
cthivierge avatar image
0 Votes"
cthivierge answered cthivierge edited

To be able to use RDS with User CAL, the RDSH and the RD License Server must be joined to an Active Directory Domain.

The Licensing Server must be member of the Active Directory "Builtin\Terminal Server License Servers" group.

The License Server must be activated and must have RDS CAL that match (or newer) the RDSH server version.
Ex: A Windows 2012 RDSH will require a RD RDS CAL 2012 or 2016 or 2019

The licensing server can manage RDS CAL that match the OS or a previous version
Ex: a license server running on a Windows 2016 server can support RDS CAL 2016 or 2012...

If you look in Active Directory users & Computers and open the user account that was supposed to receive the RDS CAL, if you click on the Attribute Editor tab, you should see several attributes starting with msTS...

Look for the following attributes:
msTSExpireDate --> The expiration date (Date -60 days should gives you when the user has receive the license)
msTSManagingLS --> This match the ProductID of your License Server


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

QbaC-7312 avatar image
0 Votes"
QbaC-7312 answered QbaC-7312 edited

I had the same problem too. The server is in a workgroup, not a domain.

In the Remote Desktop license manager, I converted the license from "per user" to "per device" and modified the settings in gpedit as well. This message no longer appears.

Of course, you have to reckon with the fact that we have replaced you with a license.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.