Discussion Locked

VPN Dsiconnect Problem

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I recently setup a "simple" NT 4.0 VPN server using the supplied PPP Tunneling protocol. I have (2) remote sites that login using DSL. These sites have a drive mapped to the server and they run a DOS app (sorry!) via the connection. Everything has been working fine, but my customer tells me that his VPN connection consistently drops after about 15 minutes. The Internet connection used stays up just fine, but the VPN connection has to be re-initiated. This can happen in the middle of the DOS app. Does anyone know exactly where in NT I can change the VPN connection settings? It seems to happen at about the same interval, leading me to believe it is an NT or client setting. The clients are running Win '98....

Thanks

1 reply

by vico

The operating system keeps different settings for Remote Access Services (RAS) and local area network (LAN) Autodisconnect. There are two ways to change the default time of the Autodisconnect feature for LAN. The first is by changing the registry value. Here's how:

Open the Registry Editor.
Go to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\.
Adjust the Autodisconnect parameter by typing in the number of minutes that the machine is allowed to be idle when it's connected to the Internet. If you type 30 for this value, all sessions will be disconnected after 30 minutes of inactivity.

The second way to change the default time of the LAN Autodisconnect feature is by using the Net command in the command prompt. Simply type net config server /autodisconnect:minutes. Replace minutes with a numerical number. To disable the Autodisconnect feature, insert -1, as in net config server /autodisconnect:-1.

When deciding which

This discussion is closed to new replies.