• Home
  • Cisco
  • Exchange
  • Linux
  • Navision
  • Network
  • Virtualization
  • Windows
  • About
  •  

    The RD Licensing grace period has expired and Licensing mode for the Remote Desktop Session Host server has not been configured – Windows 2012 RDP

    May 21st, 2015

    Remove the 120 days time bomb.
    Remove this key:
    HKLM\System\CurrentControlSet\Control\Terminal Server\RCM
    GracePeriod
    Restart server.

    If you have a license server:
    $obj = gwmi -namespace “Root/CIMV2/TerminalServices” Win32_TerminalServiceSetting
    $obj.GetSpecifiedLicenseServerList()
    $obj.SetSpecifiedLicenseServerList(“server.dom.local”)
    $obj.GetSpecifiedLicenseServerList()

    Set lines mode, device or user:
    $obj = gwmi -namespace “Root/CIMV2/TerminalServices” Win32_TerminalServiceSetting
    $obj.ChangeMode(value)
    Value can be 2 (per Device) or 4 (Per user)
    $obj. LicensingType
    $obj.LicensingName


    Exit mobile version