Microsoft KB Archive/841300

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

Article ID: 841300

Article Last Modified on 1/24/2007

-

APPLIES TO


 * Microsoft Outlook 2002 Standard Edition
 * Microsoft Office Outlook 2003
 * Microsoft Office Outlook 2003 with Business Contact Manager
 * Microsoft Office Outlook 2007
 * Microsoft Office Outlook 2007 with Business Contact Manager

-





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 Description of the Microsoft Windows registry



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  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.



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  registry entry that is located in the following registry key to 1:

Outlook checks the registry to determine the value of the  entry. If the  registry entry is set to 1, you may experience the symptom that is described in the &quot;Symptoms&quot; section.



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)
 Click Start, and then click Run. Type regedit in the Open box, and then click OK. Locate and click the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

 In the right pane, right-click DontDisplayLastUserName, and then click Modify. Type 0 in the Value data box, and then click OK. Quit Registry Editor.</li></ol>

Note After you set the  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   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 &quot;Interactive Logon: Do not display last user name&quot; 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.

Additional query words: OL2007

Keywords: kbprb KB841300

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.