Event ID - 51

Event Id51
SourceMicrosoft-Windows-TerminalServices-Licensing
DescriptionA backup copy of the TS Licensing database cannot be created and the restored database file will be ignored. The Terminal Services license server will start up with the existing database file.
Event InformationAccording to Microsoft :
Cause :
This event is logged when a backup copy of the TS Licensing database cannot be created and the restored database file will be ignored.
Resolution :
Assign the appropriate permissions to the TS Licensing database folder
To resolve this issue, assign the appropriate permissions to the TS Licensing database folder on the Terminal Services 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 TS Licensing database
By default, the TS 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 TS Licensing database:
  1. On the license server, open TS Licensing Manager. To open TS Licensing Manager, click Start, point to Administrative Tools, point to Terminal Services, and then click TS Licensing Manager.
  2. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  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.
Assign permissions to the TS Licensing database folder
To assign permissions to the database folder:
  1. On the license sever, use Windows Explorer to navigate to the folder containing the TS Licensing database.
  2. Right-click the folder, and then click Properties.
  3. On the Security tab, click Advanced.
  4. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  5. 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.
  6. When you are finished assigning the correct permissions, click OK
Verify :
To verify the location of the TS Licensing database, use Review Configuration in the TS Licensing Manager tool. By default, the TS 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 TS Licensing Manager. To open TS Licensing Manager, click Start, point to Administrative Tools, point to Terminal Services, and then click TS Licensing Manager.
  2. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  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 TS Licensing database to confirm its existence and that it contains the tslic.edb file.
Reference LinksEvent ID 51 from Source Microsoft-Windows-TerminalServices-Licensing

Catch threats immediately

We work side-by-side with you to rapidly detect cyberthreats
and thwart attacks before they cause damage.

See what we caught

Did this information help you to resolve the problem?

Yes: My problem was resolved.
No: The information was not helpful / Partially helpful.