Must Enter Password Manually After You Set Password Synchronization
This article was previously published under Q259353
This article has been archived. It is offered "as is" and will no longer be updated.
We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 7.0 running on Microsoft Windows Server 2008. IIS 7.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:
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_<computer> 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_<computer> 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_<machinename>' due to the following error: Logon failure: unknown user name or bad password.
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.
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 = "IUSR_<COMPUTER>"
- AnonymousUserPass = "<Random Password>"
- 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.
- 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.
- 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.
For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:
253204 PRB: Error Message: The Server Was Unable to Logon the Windows NT Account IUSR_machinename
184730 Password Sync and IIS 4.0 Return FrontPage Error Message
iis 5 4
Article ID: 259353 - Last Review: 12/05/2015 19:37:32 - Revision: 3.1
Microsoft Internet Information Services 5.0, Microsoft Internet Information Server 4.0
- kbnosurvey kbarchive kbpending kbprb KB259353