Environment

RDS Licensing Server on Windows Server (2016)

Problem

A customer wishing to activate his Microsoft RDS licenses over the phone, as it did not work (error message when trying to connect remotely) it retried several times, which caused the display in RD Licensing Manager of the same license several times.

Solution

To remove these licenses, nothing more simple with PowerShell …

  • Open the RD Licensing Manager and find the Keypack ID.
  • Open a PowerShell as Administrator console and type the command.
wmic / namespace : \\ root \ CIMV2 PATH Win32_TSLicenseKeyPack CALL UninstallLicenseKeyPackWithId <Keypack ID>