Event ID 44 — 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: | 44 |
Source: | Microsoft-Windows-TerminalServices-Licensing |
Version: | 6.1 |
Symbolic Name: | TLS_E_DBGENERAL |
Message: | The following general database error has occurred: "%1!s!" |
Resolve
Check database folder permissions and reinstall the RDS CALs
To resolve this issue, do the following:
- Assign the appropriate permissions to the RD Licensing database folder on the Remote Desktop license server.
- Reinstall the Remote Desktop Services client access licenses (RDS CALs) onto the license server.
If the issue persists after assigning the appropriate permissions and reinstalling the RDS CALs, rebuild the RD Licensing database on the 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 RD Licensing Manager. To open RD 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.
Reinstall the RDS CALs onto the license server
To resolve this issue, purchase and install the appropriate type of Remote Desktop Services client access licenses (RDS CALs) onto the Remote Desktop license server. For more information about RDS CALs, see "Remote Desktop Services Client Access Licenses (RDS CALs)" in the RD Licensing Manager Help in the Windows Server 2008 R2 Technical Library (https://go.microsoft.com/fwlink/?LinkId=177732).
To perform this procedure, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.
To reinstall the RDS CALs:
- 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.
- Ensure that the connection method for the license server is set to Automatic connection (recommended) by right-clicking the license server on which you want to install RDS CALs, and then clicking Properties. On the Connection Method tab, change the connection method if necessary, and then click OK.
- Right-click the license server on which you want to install the RDS CALs, and then click Install Licenses. The Install Licenses Wizard starts.
- Click Next.
- On the License Program page, select the appropriate program through which you purchased your RDS CALs, and then click Next.
- The License Program that you selected on the previous page in the wizard will determine what information you will need to provide on this page. In most cases, you will have to provide either a license code or an agreement number. Consult the documentation provided when you purchased your RDS CALs.
- After you have entered the required information, click Next.
- On the Product Version and License Type page, select the appropriate product version, license type, and quantity of RDS CALs for your environment based on your RDS CAL purchase agreement, and then click Next.
- The Microsoft Clearinghouse is automatically contacted and processes your request. The RDS CALs are then automatically installed onto the license server.
- To complete the process, click Finish. The license server can now issue RDS CALs to clients that connect to an RD Session Host server.
If the issue persists after assigning the appropriate permissions and reinstalling the RDS CALs, rebuild the RD Licensing database on the license server.
Rebuild the RD Licensing database on the license server
To rebuild the RD Licensing database, locate the RD Licensing database, and then do the following:
- Stop the Remote Desktop Licensing service.
- Rename the folder that contains the RD Licensing database.
- Create a new folder for the RD Licensing database.
- Start the Remote Desktop Licensing service.
After the RD Licensing database is rebuilt, reinstall the Remote Desktop Services client access licenses (RDS CALs) onto the 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.
Rebuild the RD Licensing database
To rebuild the RD Licensing database:
- On the license server, close Remote Desktop Licensing Manager if it is open.
- 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.
- If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Yes.
- In the Services pane, right-click Remote Desktop Licensing, and then click Properties.
- Under Service status, click Stop.
- Confirm that the Services Status is listed as Stopped, and then click OK to close the Remote Desktop Licensing Properties dialog box.
- On the license sever, use Windows Explorer to navigate to the folder containing the RD Licensing database.
- Right-click the folder, click Rename, type lserverold, and then press ENTER.
- On the File menu, point to New, and then click Folder.
- Type the original name of the RD Licensing database folder (for example, lserver), and then press ENTER.
- Open the Services snap-in.
- If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Yes.
- In the Services pane, right-click Remote Desktop Licensing, and then click Properties.
- Under Service status, click Start.
- Confirm that the Services Status is listed as Started, and then click OK to close the Remote Desktop Licensing Properties dialog box.
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:
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 View menu, click Properties.
On the Connection Method tab, in the Connection method list, select Telephone.
In the Select Country or Region list, select the appropriate country/region.
Click OK to close the Properties dialog box.
Right-click the license server, and then click Install Licenses.
Click Next.
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.
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.
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:
- 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.