If you have followed a step by step guide for a bare installation of Windows Server 2008 Terminal Services role (TS Remote) or a similar how-to in our TechNet session in Makati last June 17 2008 on Deploying remote programs using Windows Server 2008 Terminal Services, we have not configured the licensing role services of the Terminal Services server role. I have been receiving emails and inquiries (including our own internal infrastructure group) about installing TS Licensing and the error "The remote computer disconnected the session because of an error in the licensing protocol. Please try connecting to the remote computer again or contract your sever administrator".
Note: You must be logged on as or can run as a member of the machine administrators group and domain administrators group. For this example, I will assume that you have already logged on as an admin.
To install TS Licensing role services
Go to the Server Manager, expand Roles and the Terminal Services Role. Right click Terminal Services and click Add Role Services.
On the Add Role Services window, check the TS Licensing, then click Next >
On the configure Discovery Scope for TS Licensing, I choose "The domain" then clicked Next >.
On the confirm installation Selections, click Install >
Takes about a few moments to install.
After the installation, we now need to configure the newly created role services.
To configure and to verify the install, go to Administrative tools, the expand Terminal Services and click TS Licensing Manager.
On the TS Licensing Manager Window, Expand the All Servers, then your Server Name, in this example I’m using the SANDBOX server.
Right click the server on the server list then click Activate Server.
On the welcome to the activate server wizard, click Next >
We need to activate our TS Server, I choose automatic connection just like activating your windows. Click Next >
Wizard now activates the Server thru Internet.
Install Licenses wizard options or selection depends on your Client Access Licenses, review your License program first if you are doing this on a production environment but for now for demo purposes, let us choose License pack (Retail Purchase). Click Next then Finish.
You may have to fill in two Info Forms.
We dont need to install the Licenses now, clear the Start Install Licenses Wizard now check box, and then click Finish.
Continuing our installation. on the Server Manager, Expand the Roles to Terminal Serves and the Terminal Services Configuration.
As you can see in the screen shot, I have highlighted the Terminal Services Licensing mode link, and it is labeled Not yet configured. Double click to activate.
For this demo, I will be configuring Per User for the Terminal Services licensing mode. Since we have installed the licensing server on the same server as the terminal services server, we can specify the license server as localhost. Click Ok
then that’s it, we have already configured the Terminal Serves Licensing Server.
You may now use the Terminal Services Remote Applications.