SIGN IN / UP
    opened image

    In this article, we will look at how to install a terminal server, or remote desktop services on Windows 2012, 2016 and 2019.

     

    Initial terminal settings in Windows Server 2012, 2016, 2019

     


    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.
     

     

    Installation of terminal server on Windows Server 2012, 2016, 2019


    Now select Manage from the menu and click Add Roles and Features.

     

    Role and Component Setup.

     

    Installation of terminal server on Windows Server 2012, 2016, 2019 -1

     


    Next, after launching the Add Roles and Features Wizard, click Next.

     

     

     Installation of terminal server on Windows Server 2012, 2016, 2019 -2


    Select / leave on Role-based or features-based installation and click Next.

     

    Installation of terminal server on Windows Server 2012, 2016, 2019-3

     


    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.

     

     

    Installation of terminal server on Windows Server 2012, 2016, 2019 -4

     


    In the Server Roles item, check the Remote Desktop Services checkbox and click Next.

     

     

    Installation of terminal server on Windows Server 2012, 2016, 2019 -5


    In the Features item, do not mark anything, and click Next and Next again.

     

    Installation of terminal server on Windows Server 2012, 2016, 2019 -6
     
     
    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.

     

     

    Installation of terminal server on Windows Server 2012, 2016, 2019 -7


    We also mark Remote Desktop Session Host, click Add Features and then click Next.

     

     

    Installation of terminal server on Windows Server 2012, 2016, 2019 -8


    Check the box, Restart the destination server automatically if required if you need to restart immediately after installing add-ons. And click Install.

     

     

    Installation of terminal server on Windows Server 2012, 2016, 2019 -9

     


    After restarting the server, we can observe a message about the successful installation.

     

     

    Installation of terminal server on Windows Server 2012, 2016, 2019 -10

     


    To check the licenses, run the Remote Desktop Licensing Diagnoser. To do this, select Tools => Remote Desktop => Remote Desktop Licensing Diagnoser.

     

    Adding licenses.

     

    Installation of terminal server on Windows Server 2012, 2016, 2019 -11

     


    As you can see, there are no licenses installed at the moment.

     

     

    Installation of terminal server on Windows Server 2012, 2016, 2019 -12

     


    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.

     

    Installation of terminal server on Windows Server 2012, 2016, 2019 -14

     


    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

     

     

    Installation of terminal server on Windows Server 2012, 2016, 2019 -15

     


    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.

     

     

    Installation of terminal server on Windows Server 2012, 2016, 2019 -16


    Now we change Set the Remote licensing mode. We translate the mode into Enabled. Remote Desktop Licensing Mode, select Per Device.

     

    Installation of terminal server on Windows Server 2012, 2016, 2019 -17
     

    Now you need to enable the license server. In order to do this, go to Tools => Terminal Services => Remote Desktop Licensing Manager.

     

    Installation of terminal server on Windows Server 2012, 2016, 2019 -18


    As you can see, the server status is Not Activated. To activate, right-click and select Activate Server.

     

    Installation of terminal server on Windows Server 2012, 2016, 2019 -19


    In the activation wizard, click Next, leave the Connection method as Automatic connection. Fill in the required fields about the organization and click Next.

     

     

    Installation of terminal server on Windows Server 2012, 2016, 2019 -20


    In the next window, it is not necessary to enter data, click Next. And we start the installation of licenses.

     

    Installation of terminal server on Windows Server 2012, 2016, 2019 -21

     


    On the start page of the Installation Wizard, click Next.

     

    Installation of terminal server on Windows Server 2012, 2016, 2019 -22


    And in the new window, select the Enterprise Agreement license. And click Next.

     

    Installation of terminal server on Windows Server 2012, 2016, 2019 -23

     

    Enter the agreement number and click Next.

     

    Installation of terminal server on Windows Server 2012, 2016, 2019 -24


    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.

     

    Installation of terminal server on Windows Server 2012, 2016, 2019 -25


    And then we wait for the installation to finish.

     

    Installation of terminal server on Windows Server 2012, 2016, 2019 -26
     

    Now, to check the licenses, let's run the Remote Desktop Licensing Diagnoser. To do this, select Tools => Remote Desktop => Remote Desktop Licensing Diagnoser.

     

     

    Installation of terminal server on Windows Server 2012, 2016, 2019 -276

     

    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.