Learn More





Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...How to reset user's password answer?How to reset user's password answer?
New Post
8/20/2015 6:13 PM

I have the password question and answer policy enabled on my DNN instance (7.4.0).  I recently had a user who forgot the answer to their password question.  There are therefore not able to login as they don't remember their password nor do they remember their password question's answer to reset the password.

I see no way to reset the user's password answer through the interface.  I also looked through the DNN core code, specifically the user controller code, and saw no public methods which would allow me to create a utility to programmaticlly reset the user's password question's answer.  All of the public methods required some piece of the missing information (password or answer) to reset the other piece.

So this means if a user forgets both their password and answer their account is totally hosed and they have to create an new account.  Am I missing something here, or does anyone else know of a way to to correct this issue?

New Post
8/20/2015 10:59 PM
An administrator can reset the password. After logging in, I think that the user should be able to change his question/answer.

Joe Craig
Patapsco Research Group, Ellicott City, MD
DotNetNuke Development and Services (
New Post
8/21/2015 4:13 PM

I'm sorry however that does not appear to be the case.  When I login as a super user, I select a user in the user roles and management module, go to the "Manage Password" tab, and a message states: Your configuration requires the user to enter a Question and Answer for the Password reminder. When this setting is applied Administrators are unable to change a user's password, so the feature has been disabled for this website.

When the password question and answer policy is enabled, I see no way as an administrator nor as a developer to reset either the password or the password question's answer.  Again, the problem here is that if the user has forgotten both their password and answer there appears to way to rescue the account.

New Post
8/22/2015 6:49 AM

this seems to be an oversight, please log this issue at

As a workaround for your current case, I created a new script, you may download from

After installing the script, you may create a new account and execute the following statement in Host > SQL menu item:

AspNet_TakeOverPassword [ToUsername], [FromUserName]
e.g. AspNet_TakeOverPassword 'userwhoforgothisanswer', 'nameoftemporaryuser'

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group   European Network of DotNetNuke Professionals

Speed up your DNN Websites with TurboDNN
New Post
8/23/2015 1:17 PM
this is not an oversight, simply the way that Microsofts API works i.e. if question and answer is enabled then it is required, as an admin will not know the Q&A we simply don't offer the option. Whilst it would be possible to "hack" a solution (as Sebastians script does), we're wary of adding too many "hacks" to membership as we hope to move to a more modern membership system ( identity) and each hack add's more complexity to that move

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...How to reset user's password answer?How to reset user's password answer?

These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
Try Evoq
For Free
Start Free Trial
a Demo
See Evoq Live
Need More Information?