Remote Desktop License Issue (Disconnect in 60 minutes)
Please try the following to activate the license server. It is currently not activated automatically and the following steps are needed.
- Launch Local Group Policy Editor (gpedit.msc)
- In the left pane, navigate to Local Computer Policy->Computer Configuration->Administrative Templates->Windows Components->Remote Desktop Services->Remote Desktop Session Host->Licensing
- In the right pane, right click Use the specified Remote Desktop license servers and select Edit
- In the group policy editor dialog, select Enabled
- Enter the local computer name in the License servers to use: field.
- Select OK
- In the right pane, right click Set the Remote Desktop licensing mode and select Edit
- In the grou policy editor dialog, select Enabled
- Set the Licensing mode to Per Device/Per User
- Select OK
Once the Licensing mode on the RDSH role is configured properly, the notification about the grace period goes away.