Setting License Server via PowerShell
  • 08 Feb 2023
  • 1 Minute to read
  • Dark
    Light

Setting License Server via PowerShell

  • Dark
    Light

Article summary

In some situations, you may be unable to set the license server correctly within Remote Desktop Session Host.

In these cases, you are able to override the configurations using PowerShell.

An example of the commands you would use, to set the License Server to "licenseserver.ad.local", is included below. Where of course "licenseserver.ad.local" can be replaced with the hostname/computer name related to your license server.

$obj = gwmi -namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSetting

$obj. SetSpecifiedLicenseServerList("licenseserver.ad.local")



Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Eddy AI, facilitating knowledge discovery through conversational intelligence