Microsoft KB Archive/259353

= Must Enter Password Manually After You Set Password Synchronization =

Article ID: 259353

Article Last Modified on 11/21/2006

-

APPLIES TO


 * Microsoft Internet Information Services 5.0
 * Microsoft Internet Information Server 4.0

-



This article was previously published under Q259353



We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:

http://www.microsoft.com/technet/security/prodtech/IIS.mspx



SYMPTOMS
In Internet Information Server (IIS) version 4.0, when you clear the Enable Automatic Password Synchronization check box (or the Allow IIS to control password check box in IIS version 5.0), use the Browse button to browse to the IUSR_ account, and then click to reselect the check box, the password field is blank and you must enter the password manually. However, when you just clear, select, and clear this setting, and you do not browse to the IUSR_ account, the password field retains the entry, and you are not required to enter the password manually.

In addition, if the password is not entered, the Event Viewer logs may contain the following error message:

The server was unable to logon the Windows NT account 'IUSR_ ' due to the following error: Logon failure: unknown user name or bad password.



CAUSE
By default, when in IIS you clear the Enable Automatic Password Synchronization or Allow IIS to control password check boxes, you are required to enter the password manually and anonymous authentication will fail until you do.



MORE INFORMATION
The following information details what occurs when you choose whether you want IIS to control the anonymous user password:  On a new installation of IIS, the following metabase entries are created:  AnonymousPasswordSync = 1 AnonymousUserName = &quot;IUSR_&quot; AnonymousUserPass = &quot;<Random Password>&quot;</li></ul>

</li> When you clear the Enable Automatic Password Synchronization or the Allow IIS to control password check box, the AnonymousPasswordSync value is set to 0. However, because the IIS metabase already contains the AnonymousUserPass setting, you are not required to enter the password.</li> When you next select the Enable Automatic Password Synchronization or the Allow IIS to control password check box, IIS sets the AnonymousPasswordSync setting to 1 and then deletes the AnonymousUserPass setting from the metabase.</li> When you clear the Enable Automatic Password Synchronization or the Allow IIS to control password check box again, the AnonymousPasswordSync value is set back to 0. However, because the metabase no longer contains the AnonymousUserPass setting, you must enter the password manually.</li></ol>

<div class="references_section">