Windows Server 2012 comes with an option to support the ability to let users changes their password from within the RD Webaccess interface in case it's expired.
The password change option is made available in the new .aspx page in RD WebAccess called
password.aspx. This file exists in C:\Windows\Web\RDWeb\Pages\en-US.
Although the file is there after the installation of the RD WebAccess role, a configuration needs to be done before the page is operational. To achieve this open the IIS manager on the server(s) running your RD WebAccess. And browse to Sites;Default Web
Site;RDWeb;Pages and then select Application Settings.
Here you have the property PasswordChangeEnabled available. Change it to true.
When a user now open the RDWebaccess page and tries to logon using an expired password a link will appear which the user can use to reset his password.
You can also add a permanent link to the login page to let users also change their password when it's not expired. You can simply do this by adding a href to the login.aspx pointing to the password.aspx page. The result could look like the screenshot below.
When users open the password.aspx file this is what they will be presented:
The same could be done for RD WebAccess on Windows Server 2008 R2 after applying following hotfix:
. Although it is not explicitly described in the KB article, this update adds Password.aspx script, containing password changing logic.
To enable this you should follow instruction above modifying configuration of Sites;Default Web Site;RDWeb;Pages directory in IIS console. Alternatively you can directly edit Web.config file under C:\Windows\Web\RDWeb\Pages folder on RDWeb server. Note,
that you should manually add PasswordChangeEnabled entry in the IIS console or Web.config if it’s missing to TRUE. To do this:
1. Open the following file: %systemDrive%/windows/web/rdweb/pages/web.config
2. Set the following value to TRUE:
<!-- PasswordChangeEnabled: Provides password change page for users. Value must be "true" or "false" -->
<add key="PasswordChangeEnabled" value="false" />
3. Execute “iisreset” from an elevated command prompt
If the remote server is running in Azure you need create an endpoint for public port 443 in Azure management portal so that users can access the RD Web Access portal. See
http://azure.microsoft.com/en-us/documentation/articles/virtual-machines-set-up-endpoints/ for more information on creating end points. If the remote server is a Windows Server 2008 R2 server you need to install the following hotfix: 2648402 before making
the web.config change