Last post Dec 28, 2017 09:24 AM by Fcarenborn
Dec 15, 2017 08:29 AM|Fcarenborn|LINK
We use IISADMPWD webapplication to allow users to change their AD account password.
Some of our AD accounts dont have the same UPN as mail, but we are changing that for the new users. So the new users now have the same on both UPN and mail.
Can I somehow add or modify IISADMPWD so it accept users e-mailaddress when changing password?
Today it only works with UPN,
I believe the development of this feature should be made in the achg.asp file
I found this vbscript
But dont know how to implement it in a .asp file.
Tried just to paste the script into <% %> but got Internal error 500.
Can anyone help me with this?
Or is there another method that's better for me? I dont know how to code ASP C# ASP.NET.
But Im comfy with powershell, lokal VBScript and PHP.
Dec 18, 2017 08:31 AM|Brando ZWZ|LINK
According to your description, I suggest you could firstly searching the user's e-mail address according to its username.
Then you could write a logic to allow user changing the the password by checking the user has typed in the right email address.
More details about how to search the email according to username, you could refer to this
Dec 18, 2017 09:37 AM|PatriceSc|LINK
500 is just a server side message and you should have as well a VBScript error message with more details. Make sure you'll get some benefit. IMO it might be more confusing for users (ie to log they'll have to use the upn but to change the password they'll
have to use their main email instead ?)
Dec 18, 2017 08:17 PM|Fcarenborn|LINK
Im I understanding correct that you want me to check the Event viewer for VBScript error messages? I will check this and come back.
We use a 3:e part Identity provider solution where e-mail is the primary login name. This is set up after our demands.
So when communicating out to users we always use e-mail for log in guidance.
Users log in to device with e-mail, and they log in to webapps with e-mail.
Dec 18, 2017 08:22 PM|Fcarenborn|LINK
I have a working .vbs file that runs perfect and gives me the UPN from a E-mail account.
But I dont know how to run it on my IIS and .asp-file.
My idea is to modify achg.asp. Get the post for E-mail (the input from user) and use it to gather the user accounts UPN and then let the file continue it's stuff.
Dec 21, 2017 06:18 AM|gtscdsi|LINK
Dear forum user,
Your question falls into a category which requires a more in-depth level of support. Please visit the below link to see the various free and paid support options that are available to better meet your needs.
Please note that use the password change site is that this component is officially supported by Microsoft up to and including Windows 2003 and IIS 6. Thus when support ends for Windows 2003 support will end for this
component as well as stated on the Microsoft Support Site. The IISADMPWD functionality is not included with IIS 7.0 or above, it will NO LONGER be supported with Windows 2008 and IIS 7 or Windows 7 and IIS 7.5.
IISADMPWD is not an IIS component, though in IIS 5/6 it seems to be something shipped with IIS. Historically it was developed by Exchange guys to meet OWA needs, and became obsolete some time in 2007. Below article
mentions another feature ISA Server 2006 to replace IISADMPWD, please have a refer about it:
Dec 27, 2017 08:00 AM|Fcarenborn|LINK
Im well aware it's not supported. That's why im not seeking official support. But instead I'm looking for a professional who can suggest a workaround.
We have ISSADMPWD running fine on a Windows Server 2008 R2 though.
Dec 28, 2017 09:24 AM|Fcarenborn|LINK
This ended with me using this project instead