Error: “The remote session was disconnected because there was no terminal server license server available to provide a license”

Windows 2003 Terminal Servers do not recognize the Windows 2000 Licensing server and the following error occurs:

“The remote session was disconnected because there was no terminal server license server available to provide a license.

User-added image

The following event ids are logged:

Event ID 1004: No Terminal Server licenses available.

Event ID 1011: There are no Terminal Server licenses available.

Users cannot log on to a session using either ICA or RDP.

Background

Microsoft stated that Windows 2003 Server serves the Windows 2003 Terminal Server licensing. In the old licensing scheme, the licensing was on an Active Directory controller but in Windows 2003 this is no longer a requirement.

Refer to Q279561 Microsoft technote to install a Windows 2003 Server and point all Terminal Server users to the installed license.

Note: Windows XP and pre-release client OS requires TS License of 2003. Vista, Windows 7 and later require license from 2008 Terminal Server.

Related:

  • No Related Posts

“An RDS Licensing mode has not been configured by the License Server with the Per User Client Access RDS Licensing type” warning on Citrix Cloud Monitor

Ensure that the RDS License Server is configured properly through GPO on the VDAs as per CTX238259 . You can run RSOP to verify that it is being applied.

If the configuration is correct, check the following registry entry:

Path: HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal ServerRCMLicensing Core

Key: Licensing Mode

The DWORD value needs to be 4 (if using Per User licenses) or 2 (if using Per Device Licenses)

If you find the value to be 5, change it to either 4 or 2 and start a new session to the VDA. A reboot is not usually required.

Related:

Citrix Director Displays “In Supplemental Grace Period Time until grace expires”

The site went over the number of licenses about 9 days ago which triggered the Supplemental Grace Period.

According to the Citrix Documentation: https://docs.citrix.com/en-us/licensing/11-14/technical-overview.html

“If all licenses are in use, the supplemental grace period enables users to connect to a product for a limited period of time allowing you to address the issue. The default supplemental grace period is 15 days. During this period there is no limit on connections. After it expires, normal (to the extent of license availability) connection limits are enforced. Users are not disconnected, but as they disconnect, no new connections occur until license levels return to normal. Supplemental grace periods are granted per product and edition and per Subscription Advantage Eligibility date (per product) and only for Retail licenses. For example, if you have two clients requesting XenDesktop Enterprise Concurrent, with different Subscription Advantage Eligibility dates, two supplemental grace periods are granted. Rearming the supplemental grace period – When you take corrective action (for example, installing an additional Retail license), the supplemental grace period is rearmed, and normal license limits are enforced again. If you take action while the supplemental grace period is in force, the License Server exits the supplemental grace period before rearming. When the supplemental grace period is rearmed, you can trigger a new 15 day supplemental grace period the next time you go over the license limit.”

So this behavior is normal and the only way to turn this off would be to follow –

1) Go To:C:Program Files (x86)CitrixLicensingMyFiles

2) Open the file: “CITRIX.opt” with Notepad.

3) At the bottom of that file, add

“#CITRIX SGPOFF”

4) Save

5) Restart all Citrix Services (or Reboot)

to remove supplemental all together or to add new license files.

It is worth noting that the Supplemental Grace Period is normal when a user goes over the allotted number of Citrix license. It is also normal for the error to show up in Director even after no SGP licenses are being used. The SGP is a one time grace period that last 15 days. After this there can be no more SGP licenses applied to uses but normal ICA licensing will occur. The idea is that you have 15 days to correct the issue before the SGP and only the SGP licenses expire. The only way to rearm is to buy more.

Related:

Citrix Service Provider license server not reporting due to SSL error

After an extended maintenance period in March 2020, some Citrix License Servers that were successfully reporting into the License Usage Insights Service (LUI) were impacted, and are now failing to report.

  • When admins access the License Usage Insights service in Citrix Cloud, an impacted license server will show as “not reporting” in the server-status view.

  • When the admin launches the License Administration Console on the Citrix License Server, they may find the following error displayed, “Previous upload to Citrix.com failed with code 7“.

  • Additionally, if the admin were to open the ‘Usage’ XML file under C:Program Files (x86)CitrixLicensingLSResources, they may find the following error message: CTX_UPLOAD_ERROR_NETWORK_SSL_OPEN

Related:

Working remotely Citrix COVID-19 Licensing FAQ

If you are looking to provide access for additional remote users working from home in response to COVID-19, please refer to our Business Continuity and Disaster Recovery Guidance.

The following are some of the questions we’ve received around Citrix licensing as it relates to increasing resources for remote users working from home:

How do I get assistance with Trial/Demo licenses?

  • Many of Citrix’s products are now offered as comprehensive, private, 1:1, expert-led demo experiences. Our Citrix experts will customize the demo to fit your needs, use cases and active projects. No downloads, no license or installation required and minimal set up needed to see an instant demo. After you see a demo, if you would like to proceed with a proof of concept or trial of a Citrix solution that leverages your services, our Citrix experts will be able to set that up. Details

How do I install new/renewed licenses?

Do I need to purchase additional licenses?

Virtual Apps and Desktops:

Citrix Gateway:
  • Verify number of concurrent sessions allowed for universal licensing Details

I am getting licensing alerts – what do they mean?

  • Citrix Director Displays “In Supplemental Grace Period Time until grace expires” Details

I want to know more around Citrix Licensing

Related:

Error “The Customer Success Services expiry date in your license does not support this product version….. License Server and connections cannot be made.

1. How to Check Maintenance Program Expiration Dates:

To check current expiration dates using My Account, log on to My Account and complete one of the following procedures:

  1. From the Dashboard, select Renew and Manage Maintenance Programs.
  2. ​At the top of page, select Manage Renewal Contacts.
    • ​All current expiration dates are displayed in the Current Expiration column. Scroll down to view warranty and maintenance dates.
  3. Or, click View Certificates hyperlink
    • Select View Certificates and dates will be displayed
  4. Or,​ select the Overviewhyperlink, click LaunchDigital Online Transaction Interface button.

2. How to Reallocate a License File:

Instructions

To reallocate licenses using Licensing, complete the following procedure:

  1. Go to My Account and log on.

  2. Navigate to Licensing.

  3. Select All Licensing Tools.

  4. Click Reallocate toolbox.

    Note: You can also click the Reallocate tab available at the top of each page.

  5. Select the required licenses from the list and click Continue.

  6. Enter the following details in the configuration page and click Continue.

    1. Host ID Type – Select the appropriate Host ID type. Host ID type include hostname, IP address, MAC address, and fully qualified domain name.
    2. Host ID – Update the Host ID.
    3. Quantity/Available – If this is a partial reallocation, update this field. Enter the quantity of license you might allocate.

      Note: Some licenses do not allow partial allocation. In such scenarios, the Quantity/Available field cannot be edited.
  7. Click Confirm.

    Note: You can click Back, if you want to make any modifications in the Configuration page.

  8. Click OK.

    Note: You must manually remove the old license files from the license server.

  9. Select the required License file and click Download.

    Note: You can view the licenses that are allocated By Host, By Allocation, or by licenses that are recently renewed in the last 30 days.

  • In the By Host tab, you can view all the allocated licenses with License Server host.

  • In the By Allocation tab, you can view all allocations with license access code.

  • In the Recently Renewed tab, you can view all allocations that were renewed in the last 30 days.

  1. Click Save, to save the file in the local directory.

3. Refresh Studio and there will no longer be an error.

Related:

How to find Hostnames and HostID to allocate Citrix Licenses

A. How to find the hostname of the license server (Windows / VPX) while installing licenses on the license server

1. Login to the license server

2. Go to the command prompt

3. Run the command hostname

B. How to find the Hostid/MAC Address of the license server while installing licenses on the license server

1. Login to the license server

2. Go to the command prompt

3. Run the command “lmutil lmhostid”

C. How to find the MAC address of Citrix ADC

1. Login to Putty

2. Run the command “shell”

3. Run “lmutil lmhostid”

D. How to find the MAC address of Citrix ADM

1. Login to the ADM appliance

2. Go to Networks > Licenses

3. Copy the host id which is found under License Files

E. How to find the MAC address of Citrix SDWAN

1. Login to the NetScaler SDWAN

2. Go to Configuration > Licensing

3. Copy the license server hostid


F. How to find the hostname of the Citrix Gateway

1. Login to Citrix Gateway using Winscp

2. Go to root > nsconfig > rc.conf

3. Copy the hostname

Note : Create new rc.conf file, if it doesn’t exists and enter the hostname in the below format.

“hostname ” __________ ”

Related:

How to find Hostnames / HostID to allocate Citrix Licenses

A. How to find the hostname of the license server (Windows / VPX) while installing licenses on the license server

1. Login to the license server

2. Go to the command prompt

3. Run the command hostname

B. How to find the Hostid/MAC Address of the license server while installing licenses on the license server

1. Login to the license server

2. Go to the command prompt

3. Run the command hostname

C. How to find the MAC address of Citrix ADC

1. Login to Putty

2. Run the command “shell”

3. Run “lmutil lmhostid”

D. How to find the MAC address of Citrix ADM

1. Login to the ADM appliance

2. Go to Networks > Licenses

3. Copy the host id which is found under License Files

E. How to find the MAC address of Citrix SDWAN

1. Login to the NetScaler SDWAN

2. Go to Configuration > Licensing

3. Copy the license server hostid


F. How to find the hostname of the Citrix Gateway

1. Login to Citrix Gateway using Winscp

2. Go to root > nsconfig > rc.conf

3. Copy the hostname

Note : Create new rc.conf file, if it doesn’t exists and enter the hostname in the below format.

“hostname ” __________ ”

Related:

How to display or release licenses for users or devices by using udadmin in Citrix License Server

While the License Administration Console provides an easy method of accessing many licensing features, you can also perform licensing tasks using commands. You might use license administration commands when performing advanced operations on the license server that are not available in the console. Such operations include diagnosing check-out problems using lmdiag.

For more information, please refer to Citrix Docs .

Related: