RDP-Clients disconnect when using VPN (PPTP), KeepAlive Settings

A

arno schoblocher

Hello,

I have a W2k-Terminal Server, SP3 incl. all updates without SP4. The client
PC is a Win2k SP4 or WinXP-Pro SP1, all with latest updates.

The Terminal Server is also the server for RAS/VPN (PPTP).

When I connect to the server with VPN then my TerminalServer Sessions
disconnect after a few seconds or afther 40 minutes (and anythin between).
The VPN session is still active, only the TS-session disconnects. In the
event-log i get the message stated below (tranlated from german)
event-type: Informationen
source: RemoteAccess
category: none
id: 20048
Date: 22.08.2003
time: 16:06:24
user: not applicable
Computer: server
description:
the user "server\user" had a connection to port VPN4-9 on 8/22/2003 at 3:25
disconnected at 22/8/2003 at 4:06. connection time 41 min, 0Bytes were sent,
0 bytes received. speed 10000000. The reason to the disconnection was: user
request.

I found the following KB-articles but no solution:
http://support.microsoft.com/default.aspx?scid=kb;EN-
US;282078
dated 4. june 2003

http://support.microsoft.com/default.aspx?scid=kb;EN-
US;313560
dated 23. july 2003 ??? but i think this one is not for me as it discusses
two vpn-SERVERS (and not server-pc)

In Google advanced newsgroup search i found articles that say it is
important to know if the server or the client requests the termination of
the session. This can be viewed in ppp.log. My ppp.log shows the following
entries, i think the client PC requests the disconnection:

[2828] 16:03:21:928: Packet received (18 bytes) for hPort
2
[2956] 16:03:21:928: >PPP packet received at 08/22/2003
14:03:21:928
[2956] 16:03:21:928: >Protocol = LCP, Type = Terminate-
Req, Length = 0x12, Id = 0xa, Port = 2

What can I do now that the connection does not disconnect? I did not set any
timeout, i can run the TS-sessions for hours, also if i do nothing (or not
much).

Shall I install SP4 on the server, but what das this help when the PC
requests the disconnection? I do not want to install SP4 if it is not
absolutely neccessary to solve that problem (i cannot risk printing
problems).

When I _do_not_ use VPN for the Termial Server session (so i directly
connect to port 3389) then I can work for hours without problems, so maybe
the problem of disconnecting is somehow related to VPN.

What I found in Newsgroups was:
HKLM\System\CurrentControlSet\Services\TCPIP\Parameters\TCPMaxDataRetransmis
sions:DWORD=0x06

could be set to improve the connection.
In KB 120642 (TCP/IP Parameters List) I could find some other registry keys
in the same path:

KeepAliveInterval and
KeepAliveTime

Can these parameters help to avoid disconnections? If yes, what settings
should I use?

Best regards

arno
 

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

Top