Share via


Event ID 47 — Remote Desktop License Server Database Availability

Applies To: Windows Server 2008 R2

When the Remote Desktop Licensing role service is installed, a database is created in which to hold information about the Remote Desktop Services client access licenses (RDS CALs) that are installed onto the license server.

The location of the RD Licensing database can be specified during the Remote Desktop Licensing role service installation. The database location must be a local folder on the computer on which the Remote Desktop Licensing role service is being installed. By default, the RD Licensing database is located in the %systemroot%\system32\lserver folder, where %systemroot% is the folder in which the operating system is installed, which is, by default, c:\windows. You can confirm the location of the RD Licensing database by using Review Configuration in the Remote Desktop Licensing Manager tool.

Event Details

Product: Windows Operating System
ID: 47
Source: Microsoft-Windows-TerminalServices-Licensing
Version: 6.1
Symbolic Name: TLS_E_RENAME_DBFILE
Message: The RD Licensing database is corrupt. RD Licensing could not rename the RD Licensing database file "%1!s!" to create a backup. Rename the file manually and restart the Remote Desktop Licensing service. To reinstall the Remote Desktop Services client access licenses (RDS CALs), you will need to call the Microsoft Clearinghouse. When you call the Clearinghouse, ensure that your License Purchase Agreement information is readily available.

Resolve

Reinstall the RDS CALs onto the license server by using the telephone method

To resolve this issue, do the following on the Remote Desktop license server:

  • Rename the RD Licensing database file.
  • Start the Remote Desktop Licensing service.
  • Reinstall the Remote Desktop Services client access licenses (RDS CALs) by using the telephone method.

To perform these procedures, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.

Rename the RD Licensing database file

By default, the RD Licensing database (tslic.edb) is located in the %systemroot%\system32\lserver folder (where %systemroot% is the folder in which the operating system is installed, which is, by default, c:\windows).

To confirm the location of the RD Licensing database:

  1. On the license server, open Remote Desktop Licensing Manager. To open Remote Desktop Licensing Manager, click Start, point to Administrative Tools, point to Remote Desktop Services, and then click Remote Desktop Licensing Manager.
  2. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Yes.
  3. In the left pane, click All Servers, click the name of the license server, and then on the Action menu, click Review Configuration.
  4. The database location is listed at the top of the Configuration dialog box.

Use Windows Explorer to navigate to the folder containing the RD Licensing database and then rename the tslic.edb file.

Start the Remote Desktop Licensing service

To start the Remote Desktop Licensing service on the license server:

  1. On the license server, open the Services snap-in. To open the Services snap-in, click Start, point to Administrative Tools, and then click Services.
  2. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Yes.
  3. In the Services pane, right-click Remote Desktop Licensing, and then click Properties.
  4. On the General tab, ensure that Startup type is set to Automatic. If it is not, click Automatic, and then click Apply.
  5. Under Service status, click Start.
  6. Click OK to close the Remote Desktop Licensing Properties dialog box.
  7. Confirm that the Status column for the Remote Desktop Licensing service displays Started.

Reinstall the Remote Desktop Services client access licenses (RDS CALs) by using the telephone method

When you call the Microsoft Clearinghouse to reinstall the RDS CALs onto the license server, ensure that your License Purchase Agreement information is readily available.

To reinstall RDS CALs by using the telephone method:

  1. On the license server, open Remote Desktop Licensing Manager. To open Remote Desktop Licensing Manager, click Start, point to Administrative Tools, point to Remote Desktop Services, and then click Remote Desktop Licensing Manager.

  2. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Yes.

  3. In the left pane, click All Servers, click the name of the license server, and then on the View menu, click Properties.

  4. On the Connection Method tab, in the Connection method list, select Telephone.

  5. In the Select Country or Region list, select the appropriate country/region.

  6. Click OK to close the Properties dialog box.

  7. Right-click the license server and then click Install Licenses.

  8. Click Next.

  9. On the Obtain client license key pack page, use the telephone number that is displayed to call the Microsoft Clearinghouse, and give the representative your Remote Desktop license server ID and the required information for the licensing program through which you purchased your RDS CALs. The representative then processes your request to install RDS CALs, and gives you a unique ID for the RDS CALs. This unique ID is referred to as the license key pack ID.

    Important:  Retain a copy of the license key pack ID. Having this information with you will facilitate communications with the Microsoft Clearinghouse should you need assistance with recovering RDS CALs.

  10. In the Install Licenses Wizard, on the Obtain client license key pack page, enter the license key pack ID provided by the representative into the boxes provided, and then click Next. The RDS CALs are installed onto the license server.

  11. To complete the process, click Finish. The license server can now issue RDS CALs to clients that connect to a Remote Desktop Session Host server.

Verify

To verify the location of the RD Licensing database, use Review Configuration in the Remote Desktop Licensing Manager tool. By default, the RD Licensing database is located in the %systemroot%\system32\lserver folder (where %systemroot% is the folder in which the operating system is installed, which is, by default, c:\windows).

To perform this procedure, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.

To verify the location of the database folder:

  1. On the license server, open Remote Desktop Licensing Manager. To open Remote Desktop Licensing Manager, click Start, point to Administrative Tools, point to Remote Desktop Services, and then click Remote Desktop Licensing Manager.
  2. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Yes.
  3. In the left pane, click All Servers, click the name of the license server, and then on the Action menu, click Review Configuration.
  4. The database location is listed at the top of the Configuration dialog box.

Use Windows Explorer to navigate to the folder containing the RD Licensing database to confirm its existence and that it contains the tslic.edb file.

Remote Desktop License Server Database Availability

Remote Desktop Services