When you try to create remote desktop sessions by using the original local administrator account or the domain administrator account in Windows Server 2008, in Windows Server 2008 R2, or in Windows 7, you receive the following error message:
The remote session was disconnected because another user has connected to the session.
This problem occurs when Autologon (that is, the "single session per user" policy) is enabled.
For example, you log on as the local administrator when Autologon is enabled. When you create a remote connection to the computer by using the local administrator’s credentials, the existing glass session appears for several seconds, and then the session is disconnected.Note
Other members of the Administrators group may not experience this issue.
Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require you to reinstall the operating system. Microsoft cannot guarantee that these problems can be resolved. Modify the registry at your own risk.
To work around this issue, delete the ForceAutoLogon registry value. To do this, follow these steps:
- Click Start, click Run, type regedit, and then click OK.
- Locate the following registry subkey:
- Right-click ForceAutoLogon, and then click Delete.
- In the Confirm Value Deletedialog box, click Yes.
Deleting this registry value will disable Autologon.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
How to turn on automatic logon in Windows XP
How to turn on automatic logon in Windows