RE: Reg: Terminal Server Licensing
I agree with cendrars that running Terminal Services on your Domain
Controller isn't recommended.
That said, here's an answer to your question:
From
http://ts.veranoest.net/ts_faq_licensing.htm#monitor_licenses
Q: How can I monitor my TS license database and get a warning when
I'm running out of available licenses?
Note: the procedure listed here works only with "Per Device" TS
CALs!
A: One thing you can do is to schedule lsreport from the Resource
Kit to run, say once a week, and have it generate a report
containing all temporary licenses which are issued. If the list of
temporary licenses grows, it's time to check on your available
licenses.
Or let lsreport only list Active licenses, and post-process the
output file by counting the lines in the file. That will give you
the number of Issued licenses.
Example: if the output file from lsreport is located in C:\temp
\lsreport.out, use the following command:
find /C "your_LS_server_name" C:\temp\lsreport.out >> C:\temp
\lsreport.out
This will add the following line to the lsreport.out file:
---------- C:\TEMP\LSREPORT.OUT: xx
where xx is the number of Active (Issued) licenses.
Then use a 3rd party utility like blat to email the report to you.
http://www.blat.net/194/
Note that you always will see some temporary licenses, since the
very first connection of a new client always uses a temporary
license. On the second connection, a permanent license is issued.
317592 - HOW TO: Use the Terminal Services Licensing Reporter Tool
(Lsreport.exe)
http://support.microsoft.com/?kbid=317592
_________________________________________________________
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
TS troubleshooting:
http://ts.veranoest.net
___ please respond in newsgroup, NOT by private email ___
=?Utf-8?B?Y2VuZHJhcnM=?= <cendrars@discussions.microsoft.com>
wrote on 23 okt 2007 in
microsoft.public.windows.terminal_services:
> Hello,
>
> Please remove the terminal service driver (terminal service)
> from the domain controller. Standard users are not generally
> allowed to logon locally to domain controllers, and as the
> ability to logon locally to the terminal server is required to
> access the terminal service driver features, you will encounter
> ongoing difficulty with your chosen configuration.
>
> Did I read this correctly? Thanks.
>
> "Sterling_hari" wrote:
>
>> Hi All,
>>
>> We have installed Terminal server on the domain controller and
>> have selected per device in the licensing mode. currently our
>> licenses are going to expire and we are going to procure more
>> licenses.
>>
>> Currently we are looking in to monitoring the CAL licenses and
>> if the licenses are going to expire then the adminsitrator
>> should receive a mail with the number of licenses left on the
>> terminal server.
>>
>> Any help is highly appreciated
>> --
>> Thanks & Regards
>> Sterling