Setting up RDS on Windows 2012 without being on a domain
Install the RDS License Service and RDS Host role.
Launch the RD Licensing Manager. Right-click on the server and select “Activate Server”. Add the license key.
Once those steps are complete, do the following:
Configure the Remote Desktop Session Host role with to use the local Remote Desktop Licensing server. Follow these steps:
- Open an elevated Windows PowerShell prompt
- Type the following command on the PS prompt and press Enter:$obj = gwmi -namespace “Root/CIMV2/TerminalServices” Win32_TerminalServiceSetting
- Run the following command to set the licensing mode:
Note: Value = 2 for Per device, Value = 4 for Per User $obj.ChangeMode(value) - Run the following command to replace the machine name with License Server:$obj.SetSpecifiedLicenseServerList(“LicServer”)
- Run the following command to verify the settings that are configured using above mentioned steps:$obj.GetSpecifiedLicenseServerList()You should see the server name in the output.