Open your Server Manager.
image 703985
Click Remote Desktop Services on the left hand side.
image 707054
Select the Overview branch.
In Deployment Overview area, select Edit Deployment Properties from the Tasks menu.
image 708909
Select RD Licensing.
image 710880
Choose the licensing mode and enter the name of the license server, click Add and then click OK.