Quantcast
Channel: Remote Desktop Services (Terminal Services) forum
Viewing all articles
Browse latest Browse all 21489

"Licensing timed out" when creating to Remote Desktop Connection

$
0
0

Our company have two site (SiteA and SiteB),  both have its own DC (SiteA.xx.local and SiteB.yy.local).  A Windows 2012 Server setup a Terminal Service.  All SiteB user will use remote desktop to connect to the Terminal Server.

Sometime it will prompted an error "A licensing error occurred while the client was attempting to connect (Licensing timed out).  Please try connecting to the remote computer again."   Before this error message shown, the connection box will show the status "Estimating connection quality" for a while (my last test this will stay for 2 min 30 sec. before Licensing timed out prompt). 

When we face this error,  the only way to solve it is to reboot the Terminal Server.  Once reboot,  everything will be fined,  all user can connect again.   But sometime later (no fixed time period, from two hours - two days), user will then have this problem.  But we need to reboot server again.

I can't found in what situation this error will happened.  But we do experienced the following situation.

1. Sometime the a RDS Connection just stopped directly.  Then try to reconnect but failed.  In this case,  all other users are still using it.  

2. I try to unplug a network connection for a client, it show the connection is lost and trying to reconnect.  After I plug the network back.  Cancel the reconnect process.  Then open the remote desktop again it will have the error.

3. there has two machine will never have this problem (we have this problem for 3 months).  no matter how the connection lost.  it can built up the connection once the connection is back

I followed some forum to enable the netlogon.log.  On the Server, I found:

1. [MISC] [872] In control handler (Opcode: 4):  This log must there when the problem happened.

Not sure if the following log help:

1. NetpDcGetName: SiteA.xx.local. using cached information ( NlDcCacheEntry = 0x000000DE96694D50 )

2.DsGetDcName function returns 0 (client PID=2088): Dom:SiteA Acct:(null) Flags: NETBIOS RET_DNS

3. NetpDcInitializeContext: DSGETDC_VALID_FLAGS is c03ffff1

4. DsGetDcName function called: client PID=23532, Dom:(null) Acct:(null) Flags: LDAPONLY RET_DNS  (I found some log will be Dom:SiteA install of Dom:(null)   )

5. NlTimeoutApiClientSession: Unbind from server \\SiteA-DC.Stingmars.hk.local (TCP) 0.

6. NlPrintRpcDebug: Couldn't get EEInfo for I_NetLogonSamLogonEx: 1761 (may be legitimate for 0xc000006e)

On the Client side:  Not sure if the log can help:

07/11 11:56:01 [MISC] DsGetDcName function called: Dom:(null) Acct:(null) Flags: DS

07/11 11:56:01 [DNS] NlDnsHasDnsServers: DNS Server is NOT configured on this machine.

07/11 11:56:01 [MISC] NetpDcInitializeContext: DSGETDC_VALID_FLAGS is c01ffff1

07/11 11:56:01 [MISC] NetpDcGetName: SiteB using cached information

07/11 11:56:01 [MISC] DsGetDcName function returns 0: Dom:(null) Acct:(null) Flags: DS

07/11 11:56:01 [MISC] DsGetDcName function called: Dom:(null) Acct:(null) Flags: FORCE DS

07/11 11:56:01 [DNS] NlDnsHasDnsServers: DNS Server is NOT configured on this machine.

07/11 11:56:01 [MISC] NetpDcInitializeContext: DSGETDC_VALID_FLAGS is c01ffff1

07/11 11:56:01 [MAILSLOT] Sent 'Sam Logon' message to SiteB[1C] on all transports.

07/11 11:56:01 [CRITICAL] NlBrowserSendDatagram: No transports available

07/11 11:56:01 [CRITICAL] NetpDcGetNameNetbios: SiteB: Cannot NlBrowserSendDatagram. (1C) 53

07/11 11:56:01 [MISC] NetpDcGetName: NetpDcGetNameNetbios returned 1355

07/11 11:56:01 [CRITICAL] NetpDcGetName: SiteB: IP and Netbios are both done.

07/11 11:56:01 [MISC] DsGetDcName function returns 1355: Dom:(null) Acct:(null) Flags: FORCE DS

07/11 11:56:02 [MISC] DsGetDcName function called: Dom:(null) Acct:(null) Flags: LDAPONLY RET_DNS

07/11 11:56:02 [DNS] NlDnsHasDnsServers: DNS Server is NOT configured on this machine.

07/11 11:56:02 [MISC] NetpDcInitializeContext: DSGETDC_VALID_FLAGS is c01ffff1

07/11 11:56:02 [MISC] NetpDcGetName: SiteB using cached information

07/11 11:56:02 [MISC] DsGetDcName function returns 0: Dom:(null) Acct:(null) Flags: LDAPONLY RET_DNS

07/11 11:56:03 [SESSION] V6 Winsock Addrs: fe80::bd63:1d49:d8fd:724%12 (1) V6WinsockPnpAddresses List used to be empty.

07/11 11:56:04 [MISC] NlPingDcNameWithContext: Ping response timeout for SiteB-DC.Stingmars.cn.local.

07/11 11:56:04 [CRITICAL] NlPingDcNameWithContext: Can't ping the DC SiteB-DC.Stingmars.cn.local.

07/11 11:56:04 [MISC] NetpDcInitializeContext: DSGETDC_VALID_FLAGS is c01ffff1

Thanks

Kenneth Lai


Viewing all articles
Browse latest Browse all 21489

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>