Windows Server 2003 includes the Automatic Reconnection feature for terminal services. You can use this feature to automatically reconnect to the same session without re-typing logon credentials if the session is disconnected because of dropped packets on the network or a network error. By default, a maximum of twenty reconnection attempts are made at five-second intervals. You can turn on the Automatic Reconnection feature in Windows Server 2003 either in the Remote Desktop Connection tool or through a group policy.
By default, the Automatic Reconnection feature is turned on in Windows XP Service Pack 1 (SP1). You can turn the Automatic Reconnection feature off by editing the registry.
When a client loses network connectivity, Automatic Reconnection informs you that it is trying to reconnect to the broken session. The session appears in grayscale, and you receive the following reconnecting message:
In Windows XP SP1, the following behaviors indicate a loss of network connectivity:
- Your session appears in a grayscale.
- You receive a small blinking square icon with a computer network connection marked with a red X.
How to Turn on Automatic Reconnection in Windows Server 2003
- Start the Remote Desktop Connection tool (Mstsc.exe).
- Click the Experience tab.
- Make sure that the for Reconnect if Connection is Dropped option is selected.
- Set any other options you want to use, and then click
Connect to start the session.
How to Turn on Automatic Reconnection by Using a Group Policy
- Start the Microsoft Management Console (MMC), and then add the Group Policy snap-in.
- Click Local Computer Policy, click
Computer Configuration, and then click Administrative Templates.
- Open Windows Components, open
Terminal Services, double-click the Automatic Reconnection object in the right pane, and then click either
Enable, Disable, or Not Configure.
- If the status is set to Enable, Automatic Reconnection is attempted for all clients that are running Remote Desktop Connection whenever their network connection is lost. If the status is set to Disable, Automatic Reconnection of clients is turned off. If the status is set to Not Configured, Automatic Reconnection is not specified at the group policy level. By default, Automatic Reconnection is turned on in the operating system.
How to Configure Automatic Reconnection in Windows XP SP1
- By default, Automatic Reconnection is turned on in Windows XP SP1.
- Start Registry Editor, and then locate the following registry key:HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
- Add a new DWORD value that is named
fDisableAutoReconnect to this registry key.
- Set the fDisableAutoReconnect value data to either 1 or 0. A value of 1 means that Automatic Reconnection is turned off. A value of 0 means that Automatic Reconnection is turned on.
How to Configure Automatic Reconnection in the Default.rdp FileThe background file that contains the configuration settings for the Remote Desktop setting is the Default.rdp file in the My Documents folder. You can configure this file to allow or disallow automatic reconnection:
- Start Notepad, and then open Default.rdp.
- Add the following option to the list, where 1 is enable (0 is disable): autoreconnection enabled:i:1Note You can modify the default number of reconnection attempts by adding the following value:AutoReconnect Max Retries:i:number
ID do Artigo: 323258 - Última Revisão: 21 de mar de 2008 - Revisão: 1