Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

User name of the last user who logged on to Exchange Server is not displayed in the logon dialog box when you start Outlook


View products that this article applies to.

Important This article contains information about how to modify the registry. Make sure to 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:
256986  (http://support.microsoft.com/kb/256986/ ) Description of the Microsoft Windows registry

↑ Back to the top


Symptoms

When you start Microsoft Office Outlook 2007, Microsoft Office Outlook 2003, or Microsoft Outlook 2002 Service Pack 3 (SP3) after you upgrade from an earlier version of Outlook, the user name and the domain name that you used when you previously logged on to Microsoft Exchange Server may not be displayed in the Connect to NameOfExchangeServerComputer dialog box that appears on the screen. Additionally, the user name and the domain name are not displayed in the User name box in the Log on to Windows dialog box when you log on to Windows.

↑ Back to the top


Cause

This behavior may occur if the Interactive Logon: Do not display last user name local security policy setting is enabled on the computer. When this local security policy setting is enabled, your user name and domain information is not stored in the Windows registry. Therefore, the user name and the domain name that you used when you previously logged on to Microsoft Exchange Server is not displayed in the Log On to Windows dialog box.

This local security policy setting sets the DontDisplayLastUserName registry entry that is located in the following registry key to 1:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
Outlook checks the registry to determine the value of the DontDisplayLastUserName entry. If the DontDisplayLastUserName registry entry is set to 1, you may experience the symptom that is described in the "Symptoms" section.

↑ Back to the top


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 your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To work around this behavior, use one of the following methods.

Method 1: Set the DontDisplayLastUserName registry entry to 0 (zero)

  1. Click Start, and then click Run.
  2. Type regedit in the Open box, and then click OK.
  3. Locate and click the following registry key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
  4. In the right pane, right-click DontDisplayLastUserName, and then click Modify.
  5. Type 0 in the Value data box, and then click OK.
  6. Quit Registry Editor.
Note After you set the DontDisplayLastUserName registry entry to 0 (zero), the user name and the domain name that you used when you previously logged on to Exchange Server are displayed in the Connect to NameOfExchangeServerComputer dialog box. Additionally, the name of the last user who logged on to Windows is displayed in the Log On to Windows dialog box when you log on to Windows.

Method 2: Turn off the "Interactive Logon: Do not display last user name" local security policy setting

  1. Start the Active Directory Users and Computers snap-in.
  2. Expand the Computer Configuration container.
  3. Expand Windows Settings.
  4. Expand Security Settings.
  5. In the right pane, double-click Interactive Logon: Do not display last user name.
  6. Click Disabled, and then click OK.

↑ Back to the top


Keywords: kbprb, KB841300, kbprb, KB841300

↑ Back to the top

Article Info
Article ID : 841300
Revision : 6
Created on : 1/24/2007
Published on : 1/24/2007
Exists online : False
Views : 400