Discussion Locked

Internet Connection Sharing

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

Dear all,

Recently I've met a question, on configuring the Internet Connection Sharing, with enabled demand dialling function.

While the client has established a connection through the server very succesfull. But the connection won't be able to disconnect automatically, after the client has closed down the application on the client PC.

Can any one of you teach me how to enable or configure such options. With automatically disconnect a connection on the server after the client don't wnat to use anymore.

Your sonnest reply will be much more appreciate.

Thanks & Regards,

Steven Tan

1 reply

by benyo

The "HangupTimer" registry string setting controls the time from when ICS starts a dialup connection to when it drops the connection after no activity from the client that requested the connection.

Here's what to do:

Remove all the network components (including DUN, all DUN profiles, and all ICS components) from the server's configuration.

Re-install all the necessary network components.

Open regedit and go to the following key:
[HKEY_LOCAL_MACHINE\System\CurrentControlSet
\Services\ICSharing\Settings\General]

Under this key, change the value for "HangupTimer" to the number of seconds after the last activity on a client machine that you want the dialup connection to drop.

Example: If you want to wait one minute after you stop using the connection to drop the dialup session, set this value to 60.

Close regedit.

Verify that the Internet Control Panel "advanced dial-up" settings (Connections > Settings> Advanced):
- "Disconnect if idle for xx minutes" and- "Disconnect when connection may no longer be needed"
are unchecked.

Not sure if you have to, but it's probably a good idea to reboot your machine before trying to see if the timout is fixed.

This discussion is closed to new replies.