W2K3 TS License check



Does anyone have an idea as to how to check whether a W2K3 TS can actually
discover its preferred License server?

We have a domain mode TS Licensing server for all Child Domains and this is
set as the preferred license server for all Terminal Servers.

Our Terminal Servers are set up unattended and it would be nice to be able
to run a scripted test to see whether the TS can actually discover its
preferred license server. Once a TS discovers its Primary license server, is
it written anywhere?

Any help appreciated.

Vera Noest [MVP]

The Resource Kit contains several tools for TS Licensing:
lsreport, tstcst, lsview.

You can query the registry setting with a small script, but I
guess that is not really what you want.

If the license server is *not* detected, an Event is logged, I
think EventID 1010. You could search for that Event.



Thanks again for your response.
The ls* tools are ok for reporting, but I need a tool to check the discoery
process JUST after the server has been installed.

As for Event ID 1010, I'm not sure whether the event is first registered
once a User requests a valid license during logon, or every hour when the TS
tries to find its TS License server afterwards. When does the first discovery
take place after setup? Is it random?


Vera Noest [MVP]

It sounds as if your TS cannot locate the LS.

Windows Server 2003 Terminal Server Licensing White paper

The discovery process begins when the Terminal Server service
The terminal caches the names of license servers that it locates
in the following locations of the registry:
\EnterpriseServerMulti (Enterprise license servers)

\DomainLicenseServerMulti (Domain license servers)

If no license server is found, the terminal server attempts a
discovery once every hour. After a license server is located, no
discovery will be attempted until all of the cached license
servers in the Terminal Server registry are unavailable.

Vera Noest
MCSE,CCEA, Microsoft MVP - Terminal Server
*----------- Please reply in newsgroup -------------*

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question