Discussion:
Error in the licensing protocol
(too old to reply)
DH
2005-01-17 03:59:02 UTC
Permalink
hi,

My clients tried to connect to our TS (a W2K server with SP4) using RDP
client. On 2 identical built machines (e.g. Dell GX280) and both running
WinXP SP2, one can and one can't connect to this TS. The exact error message
is: "The remote computer disconnected the session because of an error in the
licensing protocol. Please try connecting to the remote computer again or
contact your server administrator."

I found from MS
http://www.microsoft.com/resources/documentation/WindowsServ/2003/standard/proddocs/en-us/Default.asp?url=/resources/documentation/WindowsServ/2003/standard/proddocs/en-us/mstsc_tshoot_lic.asp,
which got the exact error message. But, after tried the solution, problem
still there. I'm just wondering anyone can help.

Thanks,
Dom
Vera Noest [MVP]
2005-01-17 20:52:51 UTC
Permalink
Which Events do you see in the EventLog on the Terminal Server?

Note: I hope that you didn't follow the instructions about
hardcoding the name of the Licensing Server into the registry of
the Terminal Server.
The instructions on the page that you found are specific for
Windows 2003.
W2K uses a slightly different method:

239107 - Establishing Preferred Windows 2000 Terminal Services
License Server
http://support.microsoft.com/?kbid=239107

--
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
http://hem.fyristorg.com/vera/IT
--- please respond in newsgroup, NOT by private email ---
Post by DH
hi,
My clients tried to connect to our TS (a W2K server with SP4)
using RDP client. On 2 identical built machines (e.g. Dell
GX280) and both running WinXP SP2, one can and one can't connect
to this TS. The exact error message is: "The remote computer
disconnected the session because of an error in the licensing
protocol. Please try connecting to the remote computer again or
contact your server administrator."
I found from MS
http://www.microsoft.com/resources/documentation/WindowsServ/200
3
Post by DH
/standard/proddocs/en-us/Default.asp?
url=/resources/documentation
Post by DH
/WindowsServ/2003/standard/proddocs/en-us/mstsc_tshoot_lic.asp,
which got the exact error message. But, after tried the
solution, problem still there. I'm just wondering anyone can
help.
Thanks,
Dom
DH
2005-01-17 22:41:02 UTC
Permalink
Hi Vera,

Thanks for your response on this. The event ID is 1004 which means the
server failed to contact the license server to renew a license. However, the
event was generated only when a client failed to connect (the one got the
below error). If a client was successfully connected, this event won't be
generated.

I didn't hardcode the "DefaultLicenseServer" and there is no such key in the
registry. Would it be better to specify one? I also found that the key
"UseLicenseServer" set to '0' that means not being used. But, we definitely
installed a certificate for the server itself. This server is part of a
domain and we don't have a license server on any Domain Controller. The
person who set this up no longer with our company and I'm not sure how he
installed the licenses.

Any suggestion will be highly regarded.

Thanks,
Dom
Post by Vera Noest [MVP]
Which Events do you see in the EventLog on the Terminal Server?
Note: I hope that you didn't follow the instructions about
hardcoding the name of the Licensing Server into the registry of
the Terminal Server.
The instructions on the page that you found are specific for
Windows 2003.
239107 - Establishing Preferred Windows 2000 Terminal Services
License Server
http://support.microsoft.com/?kbid=239107
--
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
http://hem.fyristorg.com/vera/IT
--- please respond in newsgroup, NOT by private email ---
Post by DH
hi,
My clients tried to connect to our TS (a W2K server with SP4)
using RDP client. On 2 identical built machines (e.g. Dell
GX280) and both running WinXP SP2, one can and one can't connect
to this TS. The exact error message is: "The remote computer
disconnected the session because of an error in the licensing
protocol. Please try connecting to the remote computer again or
contact your server administrator."
I found from MS
http://www.microsoft.com/resources/documentation/WindowsServ/200
3
Post by DH
/standard/proddocs/en-us/Default.asp?
url=/resources/documentation
Post by DH
/WindowsServ/2003/standard/proddocs/en-us/mstsc_tshoot_lic.asp,
which got the exact error message. But, after tried the
solution, problem still there. I'm just wondering anyone can
help.
Thanks,
Dom
Vera Noest [MVP]
2005-01-18 20:44:50 UTC
Permalink
No, you should not have to hardcode the DefaultLicenseServer, I
only mentioned this because it is part of the troubleshooting tips
that you said you followed, and those are for 2003.
"we don't have a license server on any Domain Controller"
If so, that's your problem. You must install and activate a TS
Licensing Server, and it must run on one of your Domain
Controllers. As soon as it is activated, it will issue free TS
CALs to your W2K Pro and XP Pro clients, from the built-in pool of
licenses from the Licensing Server. All other clients need a
purchased TS CAL.

Windows 2000 Terminal Services Licensing FAQ
http://www.microsoft.com/windows2000/server/howtobuy/pricing/tsfaq
.asp

--
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
http://hem.fyristorg.com/vera/IT
--- please respond in newsgroup, NOT by private email ---
Hi Vera,
Thanks for your response on this. The event ID is 1004 which
means the server failed to contact the license server to renew a
license. However, the event was generated only when a client
failed to connect (the one got the below error). If a client
was successfully connected, this event won't be generated.
I didn't hardcode the "DefaultLicenseServer" and there is no
such key in the registry. Would it be better to specify one? I
also found that the key "UseLicenseServer" set to '0' that means
not being used. But, we definitely installed a certificate for
the server itself. This server is part of a domain and we don't
have a license server on any Domain Controller. The person who
set this up no longer with our company and I'm not sure how he
installed the licenses.
Any suggestion will be highly regarded.
Thanks,
Dom
Post by Vera Noest [MVP]
Which Events do you see in the EventLog on the Terminal Server?
Note: I hope that you didn't follow the instructions about
hardcoding the name of the Licensing Server into the registry
of the Terminal Server.
The instructions on the page that you found are specific for
Windows 2003.
239107 - Establishing Preferred Windows 2000 Terminal Services
License Server
http://support.microsoft.com/?kbid=239107
--
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
http://hem.fyristorg.com/vera/IT
--- please respond in newsgroup, NOT by private email ---
Post by DH
hi,
My clients tried to connect to our TS (a W2K server with SP4)
using RDP client. On 2 identical built machines (e.g. Dell
GX280) and both running WinXP SP2, one can and one can't
connect to this TS. The exact error message is: "The remote
computer disconnected the session because of an error in the
licensing protocol. Please try connecting to the remote
computer again or contact your server administrator."
I found from MS
http://www.microsoft.com/resources/documentation/WindowsServ/2
Post by Vera Noest [MVP]
Post by DH
00
3
Post by DH
/standard/proddocs/en-us/Default.asp?
url=/resources/documentation
Post by DH
/WindowsServ/2003/standard/proddocs/en-
us/mstsc_tshoot_lic.asp
Post by Vera Noest [MVP]
Post by DH
, which got the exact error message. But, after tried the
solution, problem still there. I'm just wondering anyone can
help.
Thanks,
Dom
DH
2005-01-19 04:21:02 UTC
Permalink
Thanks Vera. I thought so too. I guess when the guy set up the machine with
W2k server. He activated terminal service licenses on the server before
joining onto our domain (when it was in workgroup). But, the weird thing is
that it has been working for a year and a half like this.
The other question will be: If I set up a new Windows 2003 server with
terminal service licensing turned on and have my existing W2K TS server
hardcode to this w2k3 server for license, will this work?

Thanks,
Dom
Post by Vera Noest [MVP]
No, you should not have to hardcode the DefaultLicenseServer, I
only mentioned this because it is part of the troubleshooting tips
that you said you followed, and those are for 2003.
"we don't have a license server on any Domain Controller"
If so, that's your problem. You must install and activate a TS
Licensing Server, and it must run on one of your Domain
Controllers. As soon as it is activated, it will issue free TS
CALs to your W2K Pro and XP Pro clients, from the built-in pool of
licenses from the Licensing Server. All other clients need a
purchased TS CAL.
Windows 2000 Terminal Services Licensing FAQ
http://www.microsoft.com/windows2000/server/howtobuy/pricing/tsfaq
..asp
--
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
http://hem.fyristorg.com/vera/IT
--- please respond in newsgroup, NOT by private email ---
Hi Vera,
Thanks for your response on this. The event ID is 1004 which
means the server failed to contact the license server to renew a
license. However, the event was generated only when a client
failed to connect (the one got the below error). If a client
was successfully connected, this event won't be generated.
I didn't hardcode the "DefaultLicenseServer" and there is no
such key in the registry. Would it be better to specify one? I
also found that the key "UseLicenseServer" set to '0' that means
not being used. But, we definitely installed a certificate for
the server itself. This server is part of a domain and we don't
have a license server on any Domain Controller. The person who
set this up no longer with our company and I'm not sure how he
installed the licenses.
Any suggestion will be highly regarded.
Thanks,
Dom
Post by Vera Noest [MVP]
Which Events do you see in the EventLog on the Terminal Server?
Note: I hope that you didn't follow the instructions about
hardcoding the name of the Licensing Server into the registry
of the Terminal Server.
The instructions on the page that you found are specific for
Windows 2003.
239107 - Establishing Preferred Windows 2000 Terminal Services
License Server
http://support.microsoft.com/?kbid=239107
--
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
http://hem.fyristorg.com/vera/IT
--- please respond in newsgroup, NOT by private email ---
Post by DH
hi,
My clients tried to connect to our TS (a W2K server with SP4)
using RDP client. On 2 identical built machines (e.g. Dell
GX280) and both running WinXP SP2, one can and one can't
connect to this TS. The exact error message is: "The remote
computer disconnected the session because of an error in the
licensing protocol. Please try connecting to the remote
computer again or contact your server administrator."
I found from MS
http://www.microsoft.com/resources/documentation/WindowsServ/2
Post by Vera Noest [MVP]
Post by DH
00
3
Post by DH
/standard/proddocs/en-us/Default.asp?
url=/resources/documentation
Post by DH
/WindowsServ/2003/standard/proddocs/en-
us/mstsc_tshoot_lic.asp
Post by Vera Noest [MVP]
Post by DH
, which got the exact error message. But, after tried the
solution, problem still there. I'm just wondering anyone can
help.
Thanks,
Dom
Vera Noest [MVP]
2005-01-19 20:57:52 UTC
Permalink
Yes, that should work without any problems.
A 2003 TS Licensing Server can handle both W2K and 2003 TS CALs.

In case you haven't seen the W2K version:

239107 - Establishing Preferred Windows 2000 Terminal Services
License Server
http://support.microsoft.com/?kbid=239107

--
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
http://hem.fyristorg.com/vera/IT
--- please respond in newsgroup, NOT by private email ---
Post by DH
Thanks Vera. I thought so too. I guess when the guy set up the
machine with W2k server. He activated terminal service licenses
on the server before joining onto our domain (when it was in
workgroup). But, the weird thing is that it has been working
for a year and a half like this. The other question will be: If
I set up a new Windows 2003 server with terminal service
licensing turned on and have my existing W2K TS server hardcode
to this w2k3 server for license, will this work?
Thanks,
Dom
Post by Vera Noest [MVP]
No, you should not have to hardcode the DefaultLicenseServer, I
only mentioned this because it is part of the troubleshooting
tips that you said you followed, and those are for 2003.
"we don't have a license server on any Domain Controller"
If so, that's your problem. You must install and activate a TS
Licensing Server, and it must run on one of your Domain
Controllers. As soon as it is activated, it will issue free TS
CALs to your W2K Pro and XP Pro clients, from the built-in pool
of licenses from the Licensing Server. All other clients need a
purchased TS CAL.
Windows 2000 Terminal Services Licensing FAQ
http://www.microsoft.com/windows2000/server/howtobuy/pricing/tsf
aq ..asp
--
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
http://hem.fyristorg.com/vera/IT
--- please respond in newsgroup, NOT by private email ---
Hi Vera,
Thanks for your response on this. The event ID is 1004 which
means the server failed to contact the license server to
renew a license. However, the event was generated only when
a client failed to connect (the one got the below error). If
a client was successfully connected, this event won't be
generated.
I didn't hardcode the "DefaultLicenseServer" and there is no
such key in the registry. Would it be better to specify one?
I also found that the key "UseLicenseServer" set to '0' that
means not being used. But, we definitely installed a
certificate for the server itself. This server is part of a
domain and we don't have a license server on any Domain
Controller. The person who set this up no longer with our
company and I'm not sure how he installed the licenses.
Any suggestion will be highly regarded.
Thanks,
Dom
Post by Vera Noest [MVP]
Which Events do you see in the EventLog on the Terminal
Server?
Note: I hope that you didn't follow the instructions about
hardcoding the name of the Licensing Server into the
registry of the Terminal Server.
The instructions on the page that you found are specific for
Windows 2003.
239107 - Establishing Preferred Windows 2000 Terminal
Services License Server
http://support.microsoft.com/?kbid=239107
--
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
http://hem.fyristorg.com/vera/IT
--- please respond in newsgroup, NOT by private email ---
Post by DH
hi,
My clients tried to connect to our TS (a W2K server with
SP4) using RDP client. On 2 identical built machines
(e.g. Dell GX280) and both running WinXP SP2, one can and
"The remote computer disconnected the session because of
an error in the licensing protocol. Please try connecting
to the remote computer again or contact your server
administrator."
I found from MS
http://www.microsoft.com/resources/documentation/WindowsServ/2
Post by Vera Noest [MVP]
Post by DH
00
3
Post by DH
/standard/proddocs/en-us/Default.asp?
url=/resources/documentation
Post by DH
/WindowsServ/2003/standard/proddocs/en-
us/mstsc_tshoot_lic.asp
Post by Vera Noest [MVP]
Post by DH
, which got the exact error message. But, after tried the
solution, problem still there. I'm just wondering anyone
can help.
Thanks,
Dom
DH
2005-01-19 23:07:03 UTC
Permalink
Thanks for your advice, Vera!
Post by Vera Noest [MVP]
Yes, that should work without any problems.
A 2003 TS Licensing Server can handle both W2K and 2003 TS CALs.
239107 - Establishing Preferred Windows 2000 Terminal Services
License Server
http://support.microsoft.com/?kbid=239107
--
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
http://hem.fyristorg.com/vera/IT
--- please respond in newsgroup, NOT by private email ---
Post by DH
Thanks Vera. I thought so too. I guess when the guy set up the
machine with W2k server. He activated terminal service licenses
on the server before joining onto our domain (when it was in
workgroup). But, the weird thing is that it has been working
for a year and a half like this. The other question will be: If
I set up a new Windows 2003 server with terminal service
licensing turned on and have my existing W2K TS server hardcode
to this w2k3 server for license, will this work?
Thanks,
Dom
Post by Vera Noest [MVP]
No, you should not have to hardcode the DefaultLicenseServer, I
only mentioned this because it is part of the troubleshooting
tips that you said you followed, and those are for 2003.
"we don't have a license server on any Domain Controller"
If so, that's your problem. You must install and activate a TS
Licensing Server, and it must run on one of your Domain
Controllers. As soon as it is activated, it will issue free TS
CALs to your W2K Pro and XP Pro clients, from the built-in pool
of licenses from the Licensing Server. All other clients need a
purchased TS CAL.
Windows 2000 Terminal Services Licensing FAQ
http://www.microsoft.com/windows2000/server/howtobuy/pricing/tsf
aq ..asp
--
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
http://hem.fyristorg.com/vera/IT
--- please respond in newsgroup, NOT by private email ---
Hi Vera,
Thanks for your response on this. The event ID is 1004 which
means the server failed to contact the license server to
renew a license. However, the event was generated only when
a client failed to connect (the one got the below error). If
a client was successfully connected, this event won't be
generated.
I didn't hardcode the "DefaultLicenseServer" and there is no
such key in the registry. Would it be better to specify one?
I also found that the key "UseLicenseServer" set to '0' that
means not being used. But, we definitely installed a
certificate for the server itself. This server is part of a
domain and we don't have a license server on any Domain
Controller. The person who set this up no longer with our
company and I'm not sure how he installed the licenses.
Any suggestion will be highly regarded.
Thanks,
Dom
Post by Vera Noest [MVP]
Which Events do you see in the EventLog on the Terminal
Server?
Note: I hope that you didn't follow the instructions about
hardcoding the name of the Licensing Server into the
registry of the Terminal Server.
The instructions on the page that you found are specific for
Windows 2003.
239107 - Establishing Preferred Windows 2000 Terminal
Services License Server
http://support.microsoft.com/?kbid=239107
--
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
http://hem.fyristorg.com/vera/IT
--- please respond in newsgroup, NOT by private email ---
Post by DH
hi,
My clients tried to connect to our TS (a W2K server with
SP4) using RDP client. On 2 identical built machines
(e.g. Dell GX280) and both running WinXP SP2, one can and
"The remote computer disconnected the session because of
an error in the licensing protocol. Please try connecting
to the remote computer again or contact your server
administrator."
I found from MS
http://www.microsoft.com/resources/documentation/WindowsServ/2
Post by Vera Noest [MVP]
Post by DH
00
3
Post by DH
/standard/proddocs/en-us/Default.asp?
url=/resources/documentation
Post by DH
/WindowsServ/2003/standard/proddocs/en-
us/mstsc_tshoot_lic.asp
Post by Vera Noest [MVP]
Post by DH
, which got the exact error message. But, after tried the
solution, problem still there. I'm just wondering anyone
can help.
Thanks,
Dom
Loading...