Event ID - 8193

Event Id8193
SourceMicrosoft-Windows-TerminalServices-Licensing
DescriptionThe Terminal Services license server could not be published in Active Directory Domain Services during the installation of TS Licensing. The action failed with Win32 error code %1!s!.
Event InformationAccording to Microsoft :
Cause :
This event is logged when the Terminal Services license server could not be published in Active Directory Domain Services during the installation of TS Licensing.
Resolution :
Publish the license server in Active Directory Domain Services
To resolve this issue, publish the Terminal Services license server in Active Directory Domain Services (AD DS).
You can publish the license server in AD DS either by using TS Licensing Manager or by using ADSI Edit. To perform these tasks, refer to the following sections.
Publish the license server by using TS Licensing Manager
To perform this procedure, you must have membership in the local Administrators group on the license server and membership in the Enterprise Admins group in AD DS, or you must have been delegated the appropriate authority.
  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. In the Configuration dialog box, click Publish in AD DS.
    Note : If Publish in AD DS does not appear in the Configuration dialog box, the license server is already published in AD DS and no further action is required.
  5. Click Continue, and then click OK.
Publish the license server by using ADSI Edit
To peform this procedure, you must have membership in the Enterprise Admins group in AD DS, or you must have been delegated the appropriate authority.
  1. Open ADSI Edit. To open ADSI Edit, log on to a computer where ADSI Edit is installed, click Start, click Run, type adsiedit.msc, and then click OK.
  2. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  3. On the Action menu, click Connect to.
  4. Under Connection Point, select Select a well known Naming Context, select Configuration from the drop-down list, and then click OK.
  5. Expand the Configuration container, and then expand the node that represents the domain in which the license server is a member.
  6. Expand CN=Sites, and then click the container for the AD DS site in which the license server is located.
  7. In the right pane, under Name, if there is an entry for CN=TS-Enterprise-License-Server, do the following:
    a.Right-click TS-Enterprise-License-Server, and then click Properties.
    b.Under Attributes, click siteServer, and then click Edit.
    c.Under Value to add, type in the name of the license server that you want to publish, click Add, and then click OK.
    d.Click OK to close the CN=TS-Enterprise-License-Server Properties dialog box.
  8. If under Name there is not an entry for CN=TS-Enterprise-License-Server, on the Action menu, point to New, and then click Object.
  9. In the Class Object dialog box, select licensingSiteSettings, and then click Next.
  10. In Value, type TS-Enterprise-License-Server, click Next, and then click Finish.
  11. Open Active Directory Sites and Services. To open Active Directory Sites and Services, log on to a computer where Active Directory Sites and Services is installed, click Start, click Run, type dssite.msc, and then click OK.
  12. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  13. Under Sites, locate the AD DS site in which the license server is located, and then click the name of the AD DS site.
  14. In the right pane, right-click TS-Enterprise-License-Server, and then click Properties.
  15. Under Licensing Computer, click Change.
  16. In the Enter the object name to select box, type the name of the license server, click OK, and then click OK.
Verify :
To verify the discovery scope configuration of the license server, use Review Configuration in TS Licensing Manager.
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 discovery scope configuration:
  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.
  4. In the right pane, in the Configuration column, an entry of OK should appear in the row for the license server.
  5. To review the configuration details of the license server, right-click the license server that you want to review, and then click Review Configuration.
  6. There should not be any error or warning messages related to discovery in the Configuration dialog box.
Note : To verify that the terminal server can discover (contact) the license server, use Licensing Diagnosis in the Terminal Services Configuration tool on the terminal server.
Reference LinksEvent ID 8193 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.