How to make IISADMPWD work in MOSS 2007 website


In IIS5.0 or IIS6.0, with the IISADMPWD feature, we can easily change an expired user’s password via several ASP pages. For more information about this feature, please refer to


If you create the IISADMPWD virtual directory under a Sharepoint website, you may find the user name is missed on the changing password ASP page as the below picture.



Even you input the account name and new password, you will still fail after clicking “OK” button.

Root Cause

By default the WildCard of “C:\WINNT\Microsoft.NET\Framework\v2.0.50727\aspnet_filter.dll” is configured for Sharepoint website and it is required, and the IISADMPWD virtual directory will automatically inherit this configuration during the creation. In this situation, the behavior of these ASP pages will be affected by the ASP.NET filter. Actually, we don’t need this Wildcard configuration for IISADMPWD virtual directory.


Remove this Wildcard configuration for IISADMPWD virtual directory

1.       Right click the IISADMPWD virtual directory and select Properties

2.       On “Virtual Directory” tab, click “Configuration…” button

3.       Remove any items in “Wildcard application maps” section

More Information

You may still fail with error number 5 after you remove the wildcard for IISADMPWD virtual directory. Please refer to the following picture




This behavior is related to the PasswordChangeFlags parameter. The Sharepoint filter does not accept that value from root level W3SVC, even though we tried IISADMPWD for other site where it works. To make it work, we should explicitly set this value for the Sharepoint website.

cscript.exe adsutil.vbs set w3svc/<THE ID FOR SHAREPOINT SITE>/PasswordChangeFlags [value]


Installing Wildcard Application Mappings (IIS 6.0):

Setting Application Mappings (IIS 6.0):




ZhiXing Lv

Comments (1)

  1. JustIncase says:

    So a few years later than this post.  But have someone on WSS3.0 for MS Business Portal and this got IISADMPWD running!

    Thank you!!

Skip to main content