Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
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.
Warning 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.
Windows Server 2008 Enterprise, Windows Server 2008 Datacenter, Windows Server 2008 Standard, Windows Server 2008 R2 Datacenter, Windows Server 2008 R2 Enterprise, Windows Server 2008 R2 Foundation, Windows Server 2008 R2 Standard, Windows 7 Enterprise, Windows 7 Home Basic, Windows 7 Home Premium, Windows 7 Professional, Windows 7 Starter, Windows 7 Ultimate