Created
July 25, 2017 08:41
-
-
Save aduzsardi/83b711b961b8058256077d4bcb4cb73e to your computer and use it in GitHub Desktop.
Licensing mode for the Remote Desktop Session Host is not configured
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How to fix RDS 2012r2 error: “Licensing mode for the Remote Desktop Session Host is not configured.” | |
To fix the problem, run the following commands in powershell to set the licensing server properly on the rd session host using the WMI CIM provider: | |
$obj = gwmi -namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSetting | |
$obj. SetSpecifiedLicenseServerList("licserver.domain.local") | |
Then, go into the registry and manually set the licensing mode: | |
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\Licensing Core\LicensingMode | |
You need to change the DWORD to 2 for Per Device or 4 for Per User. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment