Event ID 51 — 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: | 51 |
Source: | Microsoft-Windows-TerminalServices-Licensing |
Version: | 6.1 |
Symbolic Name: | TLS_W_DBRESTORE_SAVEEXISTING |
Message: | A backup copy of the RD Licensing database cannot be created and the restored database file will be ignored. The Remote Desktop license server will start up with the existing database file. |
Resolve
Assign the appropriate permissions to the RD Licensing database folder
To resolve this issue, assign the appropriate permissions to the RD Licensing database folder on the Remote Desktop license server.
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:
- 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.
- If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Yes.
- In the left pane, click All Servers, click the name of the license server, and then on the Action menu, click Review Configuration.
- The database location is listed at the top of the Configuration dialog box.
Assign permissions to the RD Licensing database folder
To assign permissions to the database folder:
On the license sever, use Windows Explorer to navigate to the folder containing the RD Licensing database.
Right-click the folder, and then click Properties.
On the Security tab, click Advanced.
If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Yes.
Click either Add or Edit to change the permissions. SYSTEM, NETWORK SERVICE, Administrators, and TermServLicensing should each have Full Control permissions and those permissions must apply to This folder, subfolders and files.
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.
When you are finished assigning the correct permissions, click OK.
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:
- 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.
- If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Yes.
- In the left pane, click All Servers, click the name of the license server, and then on the Action menu, click Review Configuration.
- 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.