Partager via


Event ID 54 — 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: 54
Source: Microsoft-Windows-TerminalServices-Licensing
Version: 6.1
Symbolic Name: TLS_E_RESTOREDBFILE_OPENFAIL_SAVED
Message: Can't open restored database file. A copy of the restored database file has been saved as %1!s!. TS Licensing will use the existing database file.

Resolve

No further action is required because the existing database will be used

Remote Desktop Licensing could not open the restored RD Licensing database file. The existing RD Licensing database file will be used instead.

If you want to try to restore the RD Licensing database file again, ensure the following:

  • The file is located in the RD Licensing database folder.
  • SYSTEM, NETWORK SERVICE, Administrators, and TermServLicensing each have Full Control permissions to the file.

To perform these tasks, refer to the following sections.

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

Locate the RD Licensing database

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 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 Dsesktop 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.

Check permissions to the RD Licensing database file

To check permissions to the database file:

  1. On the license sever, use Windows Explorer to navigate to the folder containing the RD Licensing database.

  2. In the RD Licensing database folder, right-click tslic.edb, and then click Properties.

  3. On the Security tab, ensure that SYSTEM, NETWORK SERVICE, Administrators, and TermServLicensing each have Full Control permissions to the file.

  4. If the permissions need to be changed, click Edit, change the permissions as needed, and then click OK.

    Note:  To add TermServLicensing, ensure that the computer name is listed in From this location, and then in the Enter the object name to select box, type NT Service\TermServLicensing.

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