Terminal Server License Registry

I’ve been asked several times since XenDesktop 7 was released when Windows Server 2012 R1 and R2 were supported operating systems about how can a Remote Desktop Services License server be defined from a application server with a Windows Server 2012 R1 or R2 as the base OS:

Remote Desktop licensing mode is not configured.

Remote Desktop Services will stop working in xx days. On the RD Connection Broker server, use Server Manager to specify the Remote Desktop licensing mode and the license server.

Windows Server 2008 R2 doesn’t have this problem because is a Remote Desktop Session Host Configuration console is included during the install of the RDS services:

Jun 16, 2018  New licensing registry keys will be created the next time you try to access launching your applications, thus allowing the Citrix Receiver to successfully virtualize your application thereafter. If you haven't done so already, please consider creating a system restore point prior to proceeding.

  1. Mar 05, 2018  Query the remaining days of grace period and extend/reset it to next 120 days in case needed. When it is installed, by default if no RDS or TS Licensing server is specified via either GPO or Registry, it is in default Grace period which is 120 days and it works fine untill then.
  2. Apr 17, 2013  Grace Period has expired even though RD Licensing is properly configured, see Eric Verdumen No remote Desktop Licence Server availible on RD Session Host server 2012. The solution was to delete the REGBINARY in.

… but Windows Server 2012’s Remote Desktop Session Host:

… does not include any graphical consoles:

The only way to get a graphical user interface to configure the licensing server is to actually install the Remote Desktop Connection Broker:

I’ve always been reluctant to install additional components on Citrix servers so get around this issue, I use an Active Directory Group Policy to configure these settings as shown in the following TechNet article:

Terminal server license registry key windows 7

Specify the Remote Desktop Licensing Mode on an RD Session Host Server
http://technet.microsoft.com/en-ca/library/cc754487.aspx

The GPO configuration setting is located at the following path:

Computer ConfigurationPoliciesAdministrative TemplatesWindows ComponentsRemote Desktop ServicesRemote Desktop Session HostLicensing

Configure the settings:

  • Use the specified Remote Desktop license servers
  • Set the Remote Desktop licensing mode

Once the policy has been applied to the servers, you can confirm that the licensing server has been set by either logging onto another server with the RD Licensing Diagnoser installed to connect over:

Terminal

Or alternatively navigate to the following registry key on the server:

HKEY_LOCAL_MACHINE –> SOFTWARE –> Policies –> Microsoft –> Windows NT –> Terminal Services:

Note the configuration settings for:

  • LicenseServers
  • LicensingMode
-->

Important

This information is intended for administrators and IT Pros. For information about activating a personal copy of Office, see Activate Office.

Shared computer activation lets you to deploy Office 365 ProPlus to a computer in your organization that is accessed by multiple users. Here are some examples of supported scenarios for using shared computer activation:

  • Three workers at a factory share a computer, each worker using Office on that computer during their eight-hour shift.
  • Fifteen nurses at a hospital use Office on ten different computers throughout the day.
  • Five employees connect remotely to the same computer to run Office.
  • Multiple employees use Office on a computer that's located in a conference room or some other public space in the company.

The most common shared computer activation scenario is to deploy Office 365 ProPlus to shared computers by using Remote Desktop Services (RDS). By using RDS, multiple users can connect to the same remote computer at the same time. The users can each run Office 365 ProPlus programs, such as Word or Excel, at the same time on the remote computer.

Shared computer activation is used for situations where multiple users share the same computer and the users are logging in with their own account. If you have users who are assigned individual computers and no other users work on those computers, you use product key activation for Office 365 ProPlus.

Normally, users can install and activate Office 365 ProPlus only on a limited number of devices, such as 5 PCs. Using Office 365 ProPlus with shared computer activation enabled doesn't count against that limit.

How to enable shared computer activation for Office 365 ProPlus

If you have an Office 365 plan that includes Office 365 ProPlus, you can use shared computer activation. Make sure you assign each user a license for Office 365 ProPlus and that users log on to the shared computer with their own user account.

Note

Shared computer activation is also available for the following:

  • Subscription versions of Project and Visio. For example, if you have the Project Online Professional plan or Visio Online Plan 2.
  • Microsoft 365 Business subscribers, whose version of Office is Office 365 Business. But, Microsoft 365 Business subscribers won't be able to use Group Policy to enable shared computer activation, because Office 365 Business doesn't support the use of Group Policy.

Shared computer activation isn't available for Office for Mac.

To enable shared computer activation when you deploy Office 365 ProPlus, you need the current version of the Office Deployment Tool, which is available for free from the Microsoft Download Center.

The Office Deployment Tool, combined with a simple text file, is used to install Office 365 ProPlus on the shared computer, and to enable shared computer activation for that computer. Add the following lines when you create the text file.

After Office 365 ProPlus is installed, you can verify that shared computer activation is enabled on that computer.

Note

If you've already deployed Office 365 ProPlus, you can enable shared computer activation on a computer by using Registry Editor to add a string value of SharedComputerLicensing with a setting of 1 under HKEY_LOCAL_MACHINESOFTWAREMicrosoftOfficeClickToRunConfiguration.
If you're using Microsoft Application Virtualization (App-V) to deploy Office 365 ProPlus, the registry location is HKEY_LOCAL_MACHINESOFTWAREMicrosoftOffice16.0CommonLicensing and it's a DWORD value.
You can also enable shared computer activation by using Group Policy. If you're using Group Policy, download the most current Administrative Template files (ADMX/ADML) for Office and enable the 'Use shared computer activation' policy setting. This policy setting is found under Computer ConfigurationPoliciesAdministrative TemplatesMicrosoft Office 2016 (Machine)Licensing Settings.

How shared computer activation works for Office 365 ProPlus

Here's what happens after Office 365 ProPlus is installed on a computer that has shared computer activation enabled.

Terminal Server License Registry Key

  1. A user logs on to the computer with her account.

  2. The user starts an Office 365 ProPlus program, such as Word.

  3. Office 365 ProPlus contacts the Office Licensing Service on the Internet to obtain a licensing token for the user.

    To determine whether the user is licensed to use Office 365 ProPlus, the Office Licensing Service has to know the user's account for Office 365. In some cases, Office 365 ProPlus prompts the user to provide the information. For example, the user might see the Activate Office dialog box.

    If your environment is configured to synchronize Office 365 and network user accounts, then the user probably won't see any prompts. Office 365 ProPlus should automatically be able to get the necessary information about the user's account in Office 365.

  4. If the user is licensed for Office 365 ProPlus, a licensing token is stored on the computer in the user's profile folder, and Office 365 ProPlus is activated. The user can now use Office 365 ProPlus.

These steps are repeated for each user who logs on to the shared computer. Each user gets a unique licensing token. Just because one user activates Office 365 ProPlus on the computer doesn't mean Office 365 ProPlus is activated for all other users who log on to the computer.

If a user goes to another computer that also is enabled for shared computer activation, the same steps occur. There is a different licensing token for each computer that the user logs on to.

If a user logs on to a shared computer again, Office 365 ProPlus uses the same licensing token, if it is still valid.

Additional details about shared computer activation for Office 365 ProPlus

Licensing token renewal The licensing token that is stored on the shared computer is valid only for 30 days. As the expiration date for the licensing token nears, Office 365 ProPlus automatically attempts to renew the licensing token when the user is logged on to the computer and using Office 365 ProPlus.

If the user doesn't log on to the shared computer for 30 days, the licensing token can expire. The next time that the user tries to use Office 365 ProPlus, Office 365 ProPlus contacts the Office Licensing Service on the Internet to get a new licensing token.

Internet connectivity Because the shared computer has to contact the Office Licensing Service on the Internet to obtain or renew a licensing token, reliable connectivity between the shared computer and the Internet is necessary.

Reduced functionality mode If the user is not licensed for Office 365 ProPlus, or if the user closed the Activate Office dialog box, no licensing token is obtained and Office 365 ProPlus isn't activated. Office 365 ProPlus is now in reduced functionality mode. This means that the user can view and print Office 365 ProPlus documents, but can't create or edit documents. The user also sees a message in Office 365 ProPlus that most features are turned off.

Clear Terminal Server License Registry

Activation limits Normally, users can install and activate Office 365 ProPlus only on a limited number of devices, such as 5 PCs. Using Office 365 ProPlus with shared computer activation enabled doesn't count against that limit.

Windows Terminal Server License Registry Key

Microsoft allows a single user to activate Office 365 ProPlus on a reasonable number of shared computers in a given time period. The user gets an error message in the unlikely event the limit is exceeded.

Single sign-on recommended The use of single sign-on (SSO) is recommended to reduce how often users are prompted to sign in for activation. With single sign-on configured, Office is activated using the user credentials that the user provides to sign in to Windows, as long as the user has been assigned a license for Office 365 ProPlus. For more information, see Understanding Office 365 identity and Azure Active Directory.

If you don't use single sign-on, you should consider using roaming profiles and include the %localappdata%MicrosoftOffice16.0Licensing folder as part of the roaming profile.

Licensing token roaming Starting with Version 1704 of Office 365 ProPlus, you can configure the licensing token to roam with the user's profile or be located on a shared folder on the network. Previously, the licensing token was always saved to a specific folder on the local computer and was associated with that specific computer. In those cases, if the user signed in to a different computer, the user would be prompted to activate Office on that computer in order to get a new licensing token. The ability to roam the licensing token is especially helpful for non-persistent VDI scenarios.

To configure licensing token roaming, you can use either the Office Deployment Tool or Group Policy, or you can use Registry Editor to edit the registry. Whichever method you choose, you need to provide a folder location that is unique to the user. The folder location can either be part of the user's roaming profile or a shared folder on the network. Office needs to be able to write to that folder location. If you're using a shared folder on the network, be aware that network latency problems can adversely impact the time it takes to open Office.

  • If you're using Group Policy, download the most current Administrative Template files (ADMX/ADML) for Office and enable the 'Specify the location to save the licensing token used by shared computer activation' policy setting. This policy setting is found under Computer ConfigurationPoliciesAdministrative TemplatesMicrosoft Office 2016 (Machine)Licensing Settings.

  • If you're using the Office Deployment Tool, include the SCLCacheOverride and SCLCacheOverrideDirectory in the Property element of your configuration.xml file. For more information, see Configuration options for the Office Deployment Tool.

  • To edit the registry, go to HKEY_LOCAL_MACHINESOFTWAREMicrosoftOfficeClickToRunConfiguration, add a string value of SCLCacheOverride, and set the value to 1. Also, add a string value of SCLCacheOverrideDirectory and set the value to the path of the folder to save the licensing token.

    Note

    If you're using Microsoft Application Virtualization (App-V) to deploy Office 365 ProPlus, the registry location is HKEY_LOCAL_MACHINESOFTWAREMicrosoftOffice16.0CommonLicensing.

Related topics