1

I have a Windows XP Embedded machine which runs a remote desktop server. For some reason, if the physical ethernet connection drops out, it appears to log off the current user.

Is there any way to prevent this from happening?

[Edit] I've tried looking at group policies but don't appear to have matching options. I'm fairly sure Windows Remote Shell isn't the same thing is it?

enter image description here

Jon Cage
  • 2,627

1 Answers1

0

When the network connection drops, the RDP session becomes 'disconnected'.

Check local (or domain, if one one) policies (gpedit.msc) and examine how the RDP session timeout options are set.

Specifically check out these policy branches:

  • Computer Configuration\Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Session Time Limits
  • User Configuration\Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Session Time Limits

For example, if "Terminate session when time limits are reached" is enabled, and "Set time limit for disconnected sessions" is configured (especially if set to a low value, like 1 min.), then after being in a "Disconnected" state for that amount of time the session will be ended:

If you enable this policy setting, disconnected sessions are deleted from the server after the specified amount of time. To enforce the default behavior that disconnected sessions are maintained for an unlimited time, select "Never". If you have a console session, disconnected session time limits do not apply.

You may want to look into configuring the time limit policy as "Never", so that it maintains the disconnected session indefinitely.