Article ID: 947714 - Last Review: March 14, 2008 - Revision: 1.0

You cannot create a remote desktop session as an administrator when Autologon is enabled in Windows Server 2008

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  (http://support.microsoft.com/kb/322756/ ) How to back up and restore the registry in Windows XP and Windows Vista
Expand all | Collapse all

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, 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 a few 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 that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. 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 key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon
  3. Right-click ForceAutoLogon, and then click Delete.
  4. In the Confirm Value Delete dialog 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 number to view the article in the Microsoft Knowledge Base:
315231  (http://support.microsoft.com/kb/315231/ ) How to turn on automatic logon in Windows XP
324737  (http://support.microsoft.com/kb/324737/ ) How to turn on automatic logon in Windows

APPLIES TO
  • Windows Server 2008 Enterprise
  • Windows Server 2008 Datacenter
  • Windows Server 2008 Standard
Keywords: 
kbpubtypekc kbtshoot kberrmsg kbexpertiseadvanced kbprb KB947714
 

Article Translations

 

Related Support Centers