HOW TO: Configure the IISADMPWD Pages for Different Ports

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:For more information about IIS 7.0, visit the following Microsoft Web site:
This step-by-step article describes how to change passwords on a Web server that is running on a port other than 80.

back to the top


Internet Information Server (IIS) 4.0 and Internet Information Services (IIS) 5.0 include Administration Web pages that allow users to change passwords only when a Web server is running on the IIS default port of 80. This article describes how to modify these pages to work on other ports.

By default, the IIS installation creates a folder in the following location:
The following files are then copied to that folder:
back to the top

Configure the Pages for Different Ports

  1. Open each of the pages and search the text for the following string:
  2. For each occurrence of this text, if the URL begins with "http://<%iis.SERVER_NAME%>" change it to read "http://<%iis.SERVER_NAME%>:PORT1," where PORT1 is the port that the Web site is listening on.
  3. Likewise, change each URL that begins with "https://<%iis.SERVER_NAME%>" to read "https://<%iis.SERVER_NAME%>:PORT2," where PORT2 is the Secure Sockets Layer (SSL) port that the Web site is listening on.
back to the top


You may receive the following error message when you try to modify a password:
The parameter is incorrect.
For additional information about how to resolve this problem, click the article number below to view the article in the Microsoft Knowledge Base:
296617 Error When Password Changed After Password Change Utility Installed
back to the top
For additional information about this feature, click the article numbers below to view the articles in the Microsoft Knowledge Base:
184058 Unable to Change Password Using the IIS 4.0 Change Password Feature
269082 IISADMPWD Virtual Directory Is Not Created During Clean Install of IIS 5.0
back to the top

Article ID: 240654 - Last Review: 06/19/2014 06:12:00 - Revision: 7.0

  • kbnosurvey kbarchive kbhowtomaster KB240654