Monday, September 3, 2012

Password Registration URL in FIM Portal

Recently, I've had a customer ask the question and I've also seen a few similar questions in the FIM 2010 forum.

How do I change the URL for the 'Register for password reset' link in the portal?


If you look at the default link in the FIM portal, it just says 'javascript:PwdRegister()', so changing it through the administrative settings in the portal does seem to do the trick - although I have seen some clever javascript typed into the "Home Page Resources" under the "Administration" menu and selected "Register for password reset" where the default setting was changed to javascript:void(window.open('http://servername:port/default.aspx'));

Though this might work, I'm not sure if this is actually supported; so I dug a little deeper to figure out exactly where the default 'javascript:PwdRegister()' gets it's URL from.

It seems that it actually reads from the registry under the hive HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Forefront Identity Manager\2010\Portal and there it reads the value of the key 'RegistrationPortalUrl'. The proper way to change this would certainly be to go through the Setup program for FIM, but if you need to change this without going through the setup again, you could change this value in the registry. And you won't have to fiddle around with javascripting.

Please note that you need to do an IIS Reset after changing the value.

2 comments:

  1. It is a extraordinary article. I wish to suggest you that please preserve on sharing such kind of information with us. I quite located it to a lot informative. It's what i was once looking from many days. Well job and thanks for sharing. best resume writing service

    ReplyDelete
  2. I did it the same way as you did , removing the unwanted javascript and putting my own. Good thinking and i dont see any side effects. Going through your blog, great articles . Keep sharing

    ReplyDelete