What it comes down to is this:

  1. Install the Remote Desktop Licensing and Remote Desktop Session Host roles
  2. Activate the RD License server and add some CALs
  3. Run Powershell as an Administrator - has to be the 64bit version as the x86 version doesn't appear to work properly
  4. Enter the following commands:
  • $obj = gwmi -namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSetting
  • $obj.ChangeMode(TSMODE)
  • $obj.SetSpecifiedLicenseServerList("SERVERNAME")

Where TSMODE is either 2 for per device or 4 for per user. SERVERNAME is the hostname of the server you're configuring (or if you have the license server elsewhere, the name of it). You can check the license server has taken by running this command:


Which should return the license server you set.

Google AdSence

AUST IT - Computer help out of hours, when you need it most.

Find out why we do it for less.


AUST IT will help you resolve any technical support issues you are facing onsite or remotely via remote desktop 24/7. More...


Reservoir, Melbourne,
3073, VIC, Australia

Phone: 0422 348 882

This email address is being protected from spambots. You need JavaScript enabled to view it.

Sydney: 0481 837 077


Join us in social networks to be in touch.


Complete the form below, and we'll send you our emails with all the latest AUST IT news.