Re: Attach to a disconnected session

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



> I have a terminal session on Windows 2000 that I got disconnected from
> because of a drop in Internet connection. When I got the Internet back I
was
> not able to connect to the same session. If I connect to the server I get
a
> new session. I know the session is still running because I can see the
> applications running in the Task Manager. How can I connect back to the
same
> session? Thank you.

I think this is the same problem I ran into and posted about only earlier
today. The solution seems to be to enable keepalive support in Win2K
terminal Server.

Save this bit as "keepalive.reg" and open it to add it to the Registry:

-- begin keepalive.reg --
REGEDIT4

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]
"KeepAliveEnable"=dword:00000001
"KeepAliveInterval"=dword:00000001
-- end keepalive.reg --

Alternately, you could set the reg values manually as I did.

I haven't tried this on the troublesome server, but I tried it on a
nonproduction terminal server and it seems to behave as expected - it will
disconnect a lost connection after about a minute. You can then reconnect
to the original session.

--
PGP key (0x0AFA039E): <http://www.pan-am.ca/consulting@xxxxxxxxxxxxx>
Prevent problems before they happen and help others avoid bad design.
<http://www.pan-am.ca/antiwindowscatalog/>


.



Relevant Pages

  • Re: terminal session dropping out
    ... the rdp-tcp connection in terminal services configuration was set to override user settings and end a disconnected session in 5 minutes, disconnect an active connection after 1 day and an idle session of 3 hours. ... 216783 - Unable to Completely Disconnect a Terminal Server Connection ...
    (microsoft.public.windows.terminal_services)
  • Re: user sessions remain in disconnect state forever...
    ... policy on our backup win2K3 domain controller. ... Ultimately I would like to have those Terminal Server policy settings on the ... 216783 - You cannot completely disconnect a Terminal Server ... I have configured user session time limits etc... ...
    (microsoft.public.windows.terminal_services)
  • RE: Sessions timing out on Terminal Server
    ... How is the session listed in TS ... If they are disconnected after 15 minutes of idle time, ... MCSE, CCEA, Microsoft MVP - Terminal Server ... disconnect after a short idle time, ...
    (microsoft.public.windows.terminal_services)
  • Re: Users sessions get reset
    ... This setting can be found in the user account properties and the RDP-TCP properties on the terminal server itself. ... Not to sound like a Newbie, but I've seen in the GPO where I can disconnect a session after so many minutes and also seen I can log off a disconnected session ut I don;t recall seeing a reset option. ... "Jeff Pitsch" wrote: ...
    (microsoft.public.windows.terminal_services)
  • Re: Can I have two passwords for one user?
    ... internet connection failed, so the remote desktop session was disconnected ... unstable for any new session attempt. ... You have to set the option to reset connection after disconnect on the ...
    (microsoft.public.windows.server.security)