RE: TS disconnects when minimized a couple minutes



Hi Ryan,

Thank you for posting in SBS newsgroup.

>From your description, I understand if you minimize the terminal session
for a couple minutes and restore it, you will get the error "The connection
to the remote computer was broken. This may have been caused by a network
error. Please try connecting to the remote computer again". If I have
misunderstood your concerns, please do not hesitate to let me know.

Would you please help me confirm you are using ISA2000 or ISA 2004?

If you are using ISA2000, may I know if this issue occurs when the TS
session is idle for about 15 minutes? If so, this may be the expected
result on ISA 2000. By default, the connection will be disconnected after
idle for 15 minutes. You can adjust the idle connection timeout value for
the SOCKS Proxy service in ISA. To do it, please refer to the following
steps:

1. Click Start, click Run, type "regedit" (without the quotation marks),
and then click OK.
2. View the following registry key:


HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3Proxy\Parameters\SOCK
S\SocketIoTimeoutSecs

3. Edit the value for the new timeout in seconds. Note that this value is
in hexadecimal format.
4. After you make the change, quit Registry Editor.

If you have installed ISA Server 2004, the setup process will change the
TCP timeout value to 5 minutes (300,000 ms) by modifying the following
DWORD value KeepAliveTime in the following registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters

Let us try the following steps to see if the problem could be resolved:

1. Modify the DWORD value KeepAliveTime. You may double click this value,
click Decimal, and then change it to 10 minutes (600,000ms).
2. Run "net stop fweng" to stop all ISA Services.
3. Open ISA Management to start all ISA services

Hope the information help and I look forward to your reply.

Best regards,

Crina Li (MSFT)

Microsoft CSS Online Newsgroup Support

Get Secure! - www.microsoft.com/security

=====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| Thread-Topic: TS disconnects when minimized a couple minutes
|| From: "=?Utf-8?B?Unlhbg==?=" <Ryan@xxxxxxxxxxxxxxxxxxxxxxxxx>
| Subject: TS disconnects when minimized a couple minutes
| Date: Thu, 30 Jun 2005 10:30:07 -0700
| | Newsgroups: microsoft.public.windows.server.sbs
| |
| I originally posted this question under the subject "TS disconnected after
| being minimized a few minutes" but I didn't get suggestions that I hadn't
| already tried, and it looks like people go after the questions with only 1
| post so I started a new question.
|
| When I open a remote desktop session from any computer within my SBS 2003
| domain to any server outside my SBS 2003 domain I can connect as expected
but
| when I minimize the session for a couple minutes and restore it I get "The
| connection to the remote computer was broken. This may have been caused
by a
| network error. Please try connecting to the remote computer again."
|
| This seems to have started when I installed SBS service pack 1. I
followed
| the guide on the smallbizserver site and my event logs are clean.
|
| As I mentioned in my last question, if the remote server is win2003 it
will
| pick up the broken connection after a few seconds, but windows 2000 will
NOT.
| Also, after the session is broken if I log back in (windows 2000) or once
| the connection is restored (windows 2003) it breaks the connection again
| after 20 to 30 seconds. But once again, 2003 will restore the
connection. I
| need to fix this so I can access the 2000 servers without being
disconnected.
|
| My SBS server and the remote 2000 servers have thekeepalives enabled in
the
| registry and their timeouts in TS configuration are set to never.
|
| It's obvious to me that my SBS 2003 server is to blame but i can't
pinpoint
| the problem. I can maintain a stable TS connection to the external
servers
| when minimizing only if I start the session from a computer outside my SBS
| 2003 domain. It also disconnects when I try to remote desktop as admin
so I
| doubt its a policy issue. My guess is that there is some sort of TS
setting
| I need to set in the registry or else it has to do with ISA.
|
| You'll be my hero if you can help me resolve this... Any takers?
|

.



Relevant Pages

  • Re: Cannot connect client to server 2003
    ... you need to reconfigure the IP schema of your SBS ... On the SBS 2003 Server open the Server Management console. ... On the Connection Type page, click Broadband, and then click Next. ... Alternate DNS server, type the IP addresses that are provided by your ISP ...
    (microsoft.public.windows.server.sbs)
  • Re: Urgent! New router and big disaster
    ... seleting full time broadband connection. ... Les Connor [SBS Community Member - SBS MVP] ... check the router as well and unless I missed a firewall setting on it, ... Anyway the Server Ipconfig /all is this... ...
    (microsoft.public.windows.server.sbs)
  • Re: Still cant connect to RWW or OWA remotely
    ... it certainly appears to be something about the SBS configuration. ... Meridian.local Ethernet adapter Local Area Connection: ... Windows SMALL BUSINESS SERVER 2003 Windows IP Configuration ... 192.168.254.254) directly to a port on the router and then ...
    (microsoft.public.windows.server.sbs)
  • Re: Urgent! New router and big disaster
    ... Anyway the Server Ipconfig /all is this... ... Server Local Area Connection: ... Les Connor [SBS Community Member - SBS MVP] ... First Page of the Internet Connection Wizard, ...
    (microsoft.public.windows.server.sbs)
  • Re: Still cant connect to RWW or OWA remotely
    ... it certainly appears to be something about the SBS configuration. ... Meridian.local Ethernet adapter Local Area Connection: ... Windows SMALL BUSINESS SERVER 2003 Windows IP Configuration ... 192.168.254.254) directly to a port on the router and then ...
    (microsoft.public.windows.server.sbs)