To start the installation, launch the Server Manager. This can be done using the servermanager.exe command in the Run window.
Press the key combination Win + R and in the Run window that appears, write servermanager.exe and click OK.
![](https://d2yrfjhgl9iu1v.cloudfront.net/uploads/media/blog/a48@server-panel.net/2022/10/01/medium_1667157504_1.png)
Now select Manage from the menu and click Add Roles and Features.
![](https://d2yrfjhgl9iu1v.cloudfront.net/uploads/media/blog/a48@server-panel.net/2022/10/01/medium_1667157541_2.png)
Next, after launching the Add Roles and Features Wizard, click Next.
![](https://d2yrfjhgl9iu1v.cloudfront.net/uploads/media/blog/a48@server-panel.net/2022/10/01/medium_1667157563_3.png)
Select / leave on Role-based or features-based installation and click Next.
![](https://d2yrfjhgl9iu1v.cloudfront.net/uploads/media/blog/a48@server-panel.net/2022/10/01/medium_1667157570_4.png)
Check the box, if not, Select a server from the server pool and in the Server pool window, select the desired server, and click Next.
![](https://d2yrfjhgl9iu1v.cloudfront.net/uploads/media/blog/a48@server-panel.net/2022/10/01/medium_1667157541_5.png)
In the Server Roles item, check the Remote Desktop Services checkbox and click Next.
![](https://d2yrfjhgl9iu1v.cloudfront.net/uploads/media/blog/a48@server-panel.net/2022/10/01/medium_1667157611_6.png)
In the Features item, do not mark anything, and click Next and Next again.
![](https://d2yrfjhgl9iu1v.cloudfront.net/uploads/media/blog/a48@server-panel.net/2022/10/01/medium_1667157566_7.png)
In the Role Services section, select the role services that we want to install. Remote Desktop Licensing and in the additional window click Add Features.
![](https://d2yrfjhgl9iu1v.cloudfront.net/uploads/media/blog/a48@server-panel.net/2022/10/01/medium_1667157632_8.png)
We also mark Remote Desktop Session Host, click Add Features and then click Next.
![](https://d2yrfjhgl9iu1v.cloudfront.net/uploads/media/blog/a48@server-panel.net/2022/10/01/medium_1667157589_9.png)
Check the box, Restart the destination server automatically if required if you need to restart immediately after installing add-ons. And click Install.
![](https://d2yrfjhgl9iu1v.cloudfront.net/uploads/media/blog/a48@server-panel.net/2022/10/01/medium_1667157604_10.png)
After restarting the server, we can observe a message about the successful installation.
![](https://d2yrfjhgl9iu1v.cloudfront.net/uploads/media/blog/a48@server-panel.net/2022/10/01/medium_1667157673_11.png)
To check the licenses, run the Remote Desktop Licensing Diagnoser. To do this, select Tools => Remote Desktop => Remote Desktop Licensing Diagnoser.
![](https://d2yrfjhgl9iu1v.cloudfront.net/uploads/media/blog/a48@server-panel.net/2022/10/01/medium_1667157676_12.png)
As you can see, there are no licenses installed at the moment.
![](https://d2yrfjhgl9iu1v.cloudfront.net/uploads/media/blog/a48@server-panel.net/2022/10/01/medium_1667157712_13.png)
Let's install them through group policies. Press the key combination Win + R and in the "Run" window that appears, write gpedit.msc
and press OK.
![](https://d2yrfjhgl9iu1v.cloudfront.net/uploads/media/blog/a48@server-panel.net/2022/10/01/thumbs_1667157780_14.png)
In the local group policy editor, go along the path: Computer Configuration => Administrative Templates => Windows Components => Remote Desktop Services => Remote Desktop Session Host => Licensing
We need to change Use the specified Remote Desktop license servers
![](https://d2yrfjhgl9iu1v.cloudfront.net/uploads/media/blog/a48@server-panel.net/2022/10/01/medium_1667157736_15.png)
We translate the mode into Enabled. Below we prescribe the license server. In this example, this is localhost. You can also specify IP 127.0.0.1, or hostname.
![](https://d2yrfjhgl9iu1v.cloudfront.net/uploads/media/blog/a48@server-panel.net/2022/10/01/medium_1667157828_16.png)
Now we change Set the Remote licensing mode. We translate the mode into Enabled. Remote Desktop Licensing Mode, select Per Device.
![](https://d2yrfjhgl9iu1v.cloudfront.net/uploads/media/blog/a48@server-panel.net/2022/10/01/medium_1667157771_17.png)
Now you need to enable the license server. In order to do this, go to Tools => Terminal Services => Remote Desktop Licensing Manager.
![](https://d2yrfjhgl9iu1v.cloudfront.net/uploads/media/blog/a48@server-panel.net/2022/10/01/medium_1667157805_18.png)
As you can see, the server status is Not Activated. To activate, right-click and select Activate Server.
![](https://d2yrfjhgl9iu1v.cloudfront.net/uploads/media/blog/a48@server-panel.net/2022/10/01/medium_1667157838_19.png)
In the activation wizard, click Next, leave the Connection method as Automatic connection. Fill in the required fields about the organization and click Next.
![](https://d2yrfjhgl9iu1v.cloudfront.net/uploads/media/blog/a48@server-panel.net/2022/10/01/medium_1667157833_20.png)
In the next window, it is not necessary to enter data, click Next. And we start the installation of licenses.
![](https://d2yrfjhgl9iu1v.cloudfront.net/uploads/media/blog/a48@server-panel.net/2022/10/01/medium_1667157944_21.png)
On the start page of the Installation Wizard, click Next.
![](https://d2yrfjhgl9iu1v.cloudfront.net/uploads/media/blog/a48@server-panel.net/2022/10/01/medium_1667157870_22.png)
And in the new window, select the Enterprise Agreement license. And click Next.
![](https://d2yrfjhgl9iu1v.cloudfront.net/uploads/media/blog/a48@server-panel.net/2022/10/01/medium_1667157892_23.png)
Enter the agreement number and click Next.
![](https://d2yrfjhgl9iu1v.cloudfront.net/uploads/media/blog/a48@server-panel.net/2022/10/01/medium_1667157967_24.png)
Specify the version, in our case Windows Server 2019, the type of license RDS Per Device CAL. And set the number of licenses, on example 500, and click Next.
![](https://d2yrfjhgl9iu1v.cloudfront.net/uploads/media/blog/a48@server-panel.net/2022/10/01/medium_1667157999_25.png)
And then we wait for the installation to finish.
![](https://d2yrfjhgl9iu1v.cloudfront.net/uploads/media/blog/a48@server-panel.net/2022/10/01/medium_1667157985_26.png)
Now, to check the licenses, let's run the Remote Desktop Licensing Diagnoser. To do this, select Tools => Remote Desktop => Remote Desktop Licensing Diagnoser.
![](https://d2yrfjhgl9iu1v.cloudfront.net/uploads/media/blog/a48@server-panel.net/2022/10/01/medium_1667158053_27.png)
As you can see everything is set.
After that, you can create the required number of users, in accordance with the performance of your server.