Update your Windows to the current version. Open Server Manager. Click on Manage – Add Roles and Features.

Choose role-based or Feature-based installation.Example of installing and activating RDS on Windows Server 2019/2022. - Image 1

Choose a server and continue.

Example of installing and activating RDS on Windows Server 2019/2022. - Image 2

Choose Remote Desktop Services in the Server Roles.

Example of installing and activating RDS on Windows Server 2019/2022. - Image 3

Choose Role Services: Remote Desktop Licensing and Remote Desktop Session Host.

Example of installing and activating RDS on Windows Server 2019/2022. - Image 4

Press on next and wait for the installation to finish, reboot your server.

License activation.

In the Tools section appeared Remote Desktop Services, choose Remote Desktop Licensing Manager.

Example of installing and activating RDS on Windows Server 2019/2022. - Image 5

Choose your server, Right Mouse Button + Activate Server.

Example of installing and activating RDS on Windows Server 2019/2022. - Image 6

Installation Wizard appears.

Example of installing and activating RDS on Windows Server 2019/2022. - Image 7

Example of installing and activating RDS on Windows Server 2019/2022. - Image 8

Enter company information.

Example of installing and activating RDS on Windows Server 2019/2022. - Image 9

The next section can be left blank.

Example of installing and activating RDS on Windows Server 2019/2022. - Image 10

After activation, we can continue with license installation.

Example of installing and activating RDS on Windows Server 2019/2022. - Image 11

Choose a License program, in our case – Enterprise Agreement.

Example of installing and activating RDS on Windows Server 2019/2022. - Image 12

Enter the Agreement number.

Example of installing and activating RDS on Windows Server 2019/2022. - Image 13

Choose your Windows Server version, quantity, and type of RDS licenses.

Example of installing and activating RDS on Windows Server 2019/2022. - Image 14

Here is an example of the correct installation.

Example of installing and activating RDS on Windows Server 2019/2022. - Image 15

Checking for errors

In the Server Manager, Open Remote Desktop Licensing Diagnoser.

Example of installing and activating RDS on Windows Server 2019/2022. - Image 16

We notice a couple of errors typical for Windows Server 2019/2022. In our case, the cause of the problem is the server does not belong to the domain.

Example of installing and activating RDS on Windows Server 2019/2022. - Image 17

Back in the Server Manager choose the Local Server tab. Here we are copying the Name in the Computer Name cell.

Example of installing and activating RDS on Windows Server 2019/2022. - Image 18

Executing Run – gpedit.msc .

Example of installing and activating RDS on Windows Server 2019/2022. - Image 19

Local Group Policy Editor starts, in it follows this path: Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Session Host -> Licensing

Example of installing and activating RDS on Windows Server 2019/2022. - Image 20

Example of installing and activating RDS on Windows Server 2019/2022. - Image 21

We need to edit two policies:

1 – Use the specified Remote Desktop license servers. Choose Enable. Enter the computer’s name.

Example of installing and activating RDS on Windows Server 2019/2022. - Image 22

2 – Set the Remote Desktop licensing mode. Choose Enable. Choose the type of licensing, in our case, it is Per User.

Example of installing and activating RDS on Windows Server 2019/2022. - Image 23

After these changes, we need to reboot the Remote Desktop Licensing Service using gpupdate /force in PowerShell as the administrator

Example of installing and activating RDS on Windows Server 2019/2022. - Image 24

Check for errors in the Remote Desktop Licensing Diagnoser

Example of installing and activating RDS on Windows Server 2019/2022. - Image 25

As you can see, the licenses were installed correctly. You can also purchase licenses for MS Windows Server and MS SQL Server from us