This article has been archived. It is offered "as is" and will no longer be updated.
Important This article contains information about editing the metabase. Before you edit the metabase, verify that you have a backup copy that you can restore if a problem occurs. For information about how to do this, see the "Configuration Backup/Restore" Help topic in Microsoft Management Console (MMC).
You experience various problems when you use the Password Change pages that are included with Microsoft Windows 2000 Server Service Pack 4 (SP4). You can resolve these problems by installing the hotfix that is described in this article.
You may experience various problems when you use the Password Change pages that are included with Microsoft Windows 2000 Server Service Pack 4 (SP4):
The first letter of the account name for the user is truncated.
You cannot change passwords for users whose passwords must be changed at the next logon.
You cannot change passwords for users whose passwords have expired.
You cannot change passwords across forests.
You cannot use user names in an UPN format.
The Password Change Pages that are included with Windows 2000 Server Service Pack 4 use Active Server Pages (ASP) technology and Active Directory Service Interfaces (ADSI) technology to change user passwords. Technological limitations of ADSI cause most of the problems that are associated with the Password Change Pages.
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Windows 2000 service pack that contains this hotfix.
To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.
You must install Windows 2000 Service Pack 4 before you apply this hotfix.
You do not have to restart your computer after you apply this hotfix.
Hotfix replacement information
This hotfix does not replace any other hotfixes.
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Warning If you edit the metabase incorrectly, you can cause serious problems that may require you to reinstall any product that uses the metabase. Microsoft cannot guarantee that problems that result if you incorrectly edit the metabase can be solved. Edit the metabase at your own risk.
Note Always back up the metabase before you edit it.
After you apply the hotfix to update the files in the Iisadmpwd directory, follow these steps:
Register the Iispwchg.dll file in the Iisadmpwd directory. To do this, click Start, click Run, type regsvr32 c:\winnt\system32\inetsrv\iisadmpwd\iispwchg.dll, and then click OK.
Configure the PasswordChangeFlags property in the metabase to make sure that the Password Change functionality is enabled. To do this, follow these steps:
Click Start, click Run, type cmd, and then click OK.
Locate the C:\Inetpub\Adminscripts directory.
Type the following command, and then press ENTER:
cscript.exe adsutil.vbs set w3svc/passwordchangeflags Value
Note In this sample command, Value is a placeholder for the value that you want to set for the PasswordChangeFlags property.
The following list includes the possible values for the PasswordChangeFlags property. You can use a combination of these values.
This value is the default value. This value indicates that you must use a Secure Sockets Layer (SSL) connection when you change the password.
This value permits password changes on non-secure ports. This value is useful if SSL is not enabled.
This value disables the Password Change functionality.
This value disables the advance notification of password expiration.
Make sure that the virtual directory for the Iisadmpwd directory is correctly created and that the virtual directory points to the correct location. The correct location is System32\Inetsrv\Iisadmpwd. There is no requirement to have Anonymous Authentication enabled on the virtual directory. We recommend that you use the same authentication on this virtual directory as that of the application that redirects users to the virtual directory.
Make sure that the .htr files are mapped to the Asp.dll file in the "AppMappings" section for the Iisadmpwd directory. To do this, follow these steps:
In IIS Manager Microsoft Management Console (MMC), right-click the iisadmpwd directory, and then click Properties.
Click the Virtual Directory tab.
On the Virtual Directory tab, click Configuration.
In the AppMappings section, look for a line that has .htr. That line is listed in the Extension field. Verify that the executable file that is listed to the right points to the Asp.dll file. If the link that has .htr that is listed in the Extension field does not exist, you must add it. If you must add this extension, click Add. If you must edit this extension, select the extension, and then click Edit.
For the executable file, click Browse, and then locate the Asp.dll file in the System32\Inetsrv directory.
In the Extension field, type .htr.
Set the Limit verbs to GET,POST.
Click OK to save the changes, and then close all Properties windows.
Verify that the following metabase entries are correctly set:
If the Password Expiration Notification functionality is enabled, this page is displayed when SSL is not enabled or when SSL is not used.
Metabase entry: PasswordExpirePreNotifyDays
This metabase entry specifies the number of days that remain before the password of the client expires. This metabase entry also indicates when a password pre-notification message is sent.
By default, the metabase entries that are related to the pages that are previously described are located at the W3SVC level in the registry and do not have to be modified. However, if the metabase entries have to be changed or have to be verified, the application Mdutil.exe can be used as follows. The application Mdutil.exe is available on the Windows 2000 Support CD.
Copy Mdutil.exe to the server that is running IIS.
Open a CMD window.
Locate the folder that contains Mdutil.exe.
To verify the current value in the metabase, you can use the following:
Mdutil.exe get w3svc/MetabaseKey.
For example, type the following:
Mdutil.exe get w3svc/AuthChangeUrl
To change the value, you can use the command just as you previously did. However, replace "get" with "set." Also, specify the value at the end.
If you have to change either PasswordChangeFlags or PasswordExpirePreNotifyDays, you have to use the Adsutil.vbs script to configure these metabase entries. The Adsutil.vbs script is located in the Inetpub\Adminscripts directory on your system. To use the Adsutil.vbs script to configure these metabase entries, follow these steps:
Open a CMD window.
Locate the C:\Inetpub\Adminscripts folder.
To set the values, you can use the following:
Cscript.exe adsutil.vbs set w3svc/MetabaseKey
For example, type the following:
Cscript.exe adsutil.vbs set w3svc/PasswordChangeFlags 1
To examine the values, you can use the same command as you previously used. However, replace "set" with "get." Do not appended the value at the end.
iisadmpwd htr asp owa password change
For additional information, see the IIS 5.0 Help documentation. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
269082 IISADMPWD virtual directory is not created during clean install of IIS 5.0
For more information about the naming schema for Windows software updates, click the following article number to view the article in the Microsoft Knowledge Base:
816915 New file naming schema for Microsoft Windows software update packages
For more information about the terminology that is used to describe Microsoft product updates, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates