RDS 2012 R2 problem when configuring RD Licensing

Hello folks,

Yesterday, a costumer had problems in two RDS independent servers because the RD Licensing Diagnoser on the two servers show that the installed licenses was not available and also the licensing mode was not setup.

Here is the screen capture with the warning:


How I solved it? Doing the same that from the GUI but with powershell.

Follow this article:


Note The following commands must be ran from an Administrative PowerShell prompt.

  • To configure the license server on RDSH/RDVH:
  • $obj = gwmi -namespace “Root/CIMV2/TerminalServices” Win32_TerminalServiceSetting
  • $obj.SetSpecifiedLicenseServerList(“License.contoso.com”)

Note “License” is the name of the License Server in the environment

To verify the license server configuration on RDSH/RDVH:

  • $obj = gwmi -namespace “Root/CIMV2/TerminalServices” Win32_TerminalServiceSetting
  • $obj.GetSpecifiedLicenseServerList()

To change the licensing mode on RDSH/RDVH:

  • $obj = gwmi -namespace “Root/CIMV2/TerminalServices” Win32_TerminalServiceSetting
  • $obj.ChangeMode(value) – Value can be 2 – per Device, 4 – Per user

To validate the licensing mode:

  • $obj = gwmi -namespace “Root/CIMV2/TerminalServices” Win32_TerminalServiceSetting
  • $obj. LicensingType
  • $obj.LicensingName



Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s