Reset Search



KB19222 - Error when connecting to a Windows 7 or Windows 2008 Server with Windows Terminal Service (WTS) client

« Go Back


Last Modified Date12/3/2015 4:14 PM

This article describes the issue that occurs when connecting to a remote Windows 7 or Windows 2008 server with Windows Terminal Service (WTS) client.

Problem or Goal

The following error message is generated, when users access the Terminal Service Session:

Error: An internal state error has occurred. The remote session will be disconnected. Your local computer might be low on memory. Close some programs, and then try connecting to the remote computer again.


Based on the log analysis, the following information is obtained from the User Access log:
testuser(Users)[Users] - Logout from (session:00000000)
testuser(Users)[Users] - Closed connection to port 3389 after 0 seconds, with 19 bytes read (in 1 chunks) and 19 bytes written (in 1 chunks)
testuser(Users)[Users] - Connected to port 3389
testuser(Users)[Users] - Login succeeded for testuser/Users (session:00000000) from
testuser(Users)[] - Primary authentication successful for testuser/System Local from
From the policy trace:
testuser(Users)[Users] - Start Policy [HOSTPORT/WINTERMSERV] evaluation for resource
testuser(Users)[Users] - Applying Policy [test]...
testuser(Users)[Users] - Action [Allow access] is returned
testuser(Users)[Users] - Policy [test] applies to resource
From the Wireshark capture:
363 TCP 5840 34397 > ms-wbt-server [SYN] Seq=0 Win=5840 Len=0 MSS=1460 34397 ms-wbt-server
366 TCP 8192 ms-wbt-server > 34397 [SYN, ACK] Seq=0 Ack=1 Win=8192 Len=0 MSS=1460 ms-wbt-server 34397
367 TCP 5840 34397 > ms-wbt-server [ACK] Seq=1 Ack=1 Win=5840 Len=0 34397 ms-wbt-server
370 X.224 5840 Connection Request (0xe0) 34397 ms-wbt-server
371 TCP 64240 ms-wbt-server > 34397 [ACK] Seq=1 Ack=20 Win=64240 Len=0 ms-wbt-server 34397
372 X.224 64240 Connection Confirm (0xd0) ms-wbt-server 34397
373 TCP 5840 34397 > ms-wbt-server [ACK] Seq=20 Ack=20 Win=5840 Len=0 34397 ms-wbt-server
377 TCP 5840 34397 > ms-wbt-server [FIN, ACK] Seq=20 Ack=20 Win=5840 Len=0 34397 ms-wbt-server
379 TCP 64240 ms-wbt-server > 34397 [ACK] Seq=20 Ack=21 Win=64240 Len=0 ms-wbt-server 34397
380 TCP 0 ms-wbt-server > 34397 [RST, ACK] Seq=20 Ack=21 Win=0 Len=0 ms-wbt-server 34397
Where is the Terminal server and is the PCS internal interface.
This issue is resolved in 8.1R7 and 8.2R1.

To workaround this issue, perform the following procedure:

Right click My computer > Properties > Remote and select the Allow connections only from computers running any version of Remote Desktop (less secure) option.

Related Links
Attachment 1 
Created ByData Deployment



Was this article helpful?



Please tell us how we can make this article more useful.

Characters Remaining: 255