Redirect users with failed authentication in IISADMPWD
You might want to configure an automatic routing for users who fail IIS authentication to the Change Password web application in IISADMPWD Replacement Tool. You can configure IIS 7 to redirect users with a custom Error Page for certain HTTP error responses.
- Grab the redirect-401-1-auth-failure.htm file from the IISADMPWD Replacement Tool installation package you downloaded.
- Open the file in an HTML or text editor.
- Change the URL redirect value in the meta tag and inline text to the URL for the IISADMPWD Replacement Tool Change Password web application.
- Save the file and open it in a browser to ensure the link works properly.
- Drop the HTML file into your web application so it can be referenced easily from IIS.
- Now open IIS 7 manager to hook up the HTTP error page.
- Navigate to the site you are protecting using IISADMPWD Replacement Tool.
- Open the Error Pages configuration from the IIS section.
- Add a page for HTTP 401.1 errors and set the status code to 401.1. This is the error that usually occurs when IIS rejects an authentication attempt because a user’s password needs to change.
- Set the file path or URL for the new error page to the page you customized earlier. You probably want to use the File option if you have a static HTML redirect file.
- Add the new page.
- Before testing redirection, ensure that you have the proper feature setting for the Error Page redirection. To check this, from the Error Pages page in IIS Manager, click Edit Feature Settings and make sure Custom error pages is checked if you are testing this from the web server itself. If you are testing remotely, you can leave Detailed errors for local requests and custom error pages for remote requests is checked.
Related Articles
Admin Page Access is denied in IISADMPWD Replacement Tool
IISADMPWD Replacement Tool may deny access to the Admin page with a message similar to the following. Server Error in ‘/’ Application. ——————————————————————————– Access is denied. Description: An error occurred while accessing the resources required ...
IISADMPWD Replacement Local Password Management
The IISADMPWD Replacement Tool will work with local passwords. (A fancier way to say this would be that it works with NT accounts in the SAM). Just set the Context type to Machine and set the Store name to the name of the machine (not the FQDN) on ...
Customize the look of the IISADMPWD
You can easily customize the look of the IISADMPWD Replacement tool. Open Windows Explorer. Navigate to the IISADMPWD Replacement Tool installation directory, typically at %Program Files%\WebActiveDirectory\IISADMPWDReplacementTool. Open each of the ...
Change the text on IISADMPWD Pages
You can easily change the text in IISADMPWD Replacement Tool pages. Simply edit the resource files containing the application’s text strings using the procedure below. This article applies to v2.2 and later. Open Windows Explorer. Navigate to the ...
The attribute syntax specified to the directory service is invalid error when updating users
PeopleUpdate cannot update user data and shows error log message: “The attribute syntax specified to the directory service is invalid.” This only seems to occur for random users. Issue Description When you try to update a user’s information in ...