You are currently offline, waiting for your internet to reconnect

Your browser is out-of-date

You need to update your browser to use the site.

Update to the latest version of Internet Explorer

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
SYMPTOMS
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.
WORKAROUND
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:
  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate the following registry subkey:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon
  3. Right-click ForceAutoLogon, and then click Delete.
  4. In the Confirm Value Deletedialog box, click Yes.
Note Deleting this registry value will disable Autologon.
STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
MORE INFORMATION
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
Properties

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
Feedback