You cannot create a remote desktop session as an administrator when Autologon is enabled in Windows Server 2008, in Windows Server 2008 R2, or in Windows 7
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:
This problem occurs when Autologon (that is, the "single session per user" policy) is enabled.
The remote session was disconnected because another user has connected to the session.
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.
- Locate the following registry subkey:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon
- Right-click ForceAutoLogon, and then click Delete.
- In the Confirm Value Deletedialog box, click Yes.
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:
315231How to turn on automatic logon in Windows XP
324737 How to turn on automatic logon in Windows
Article ID: 947714 - Last Review: 07/28/2011 17:31:00 - Revision: 3.0
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
- kbPubTypeKC kbtshoot kberrmsg kbexpertiseadvanced kbprb KB947714