1) Open Control Panel/Internet Icon Connection Tab/Advanced Button. Select
the option "Disconnect when connection may no longer be needed" and click
OK.
In that same location, select the "Disconnect if idle for" option and set
the value to 59min.
Test the disconnect function. if it works, stop here, if not then continue.
Always back up the registry before using regedit.
Go to start/ Run / type in regedit and press OK. This will open the
registry editor.
Navigate down to the following locations.
HKEY_CURRENT_USER\RemoteAccess\Profile\<Connection>
(Where <connection> is the default name for the connection you are using)
In the right side window you will see the following 2 Keys.
EnableExitDisconnect
EnableAutodisconnect
If either one has the data of 00 00 00 00
Right click the value and select Modify.
Change the data to 01 00 00 00
Select OK and press the F5 key after each change.
Next, go to this location
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet
Settings
In the right side window, look for the value:
EnableAutodisconnect
If this value has the data of 00 00 00 00
Change the data to 01 00 00 00
After you make this change select OK, press the F5 key and quit Registry
Editor.
Reboot the computer.
(courtesy Ronnie Vernon, MS MVP)