Reset Umbraco admin password

forgotten admin password? Three simple steps to recovery..


Posted on 26 Jun 2021


For Umbraco 7.x & 8.x

1. web.config, Clear the configuration status.

We need to trigger the intsallation wizard.
In web.config appSettings remove the version number in the key "Umbraco.Core.ConfigurationStatus"

<appSettings>
    <add key="Umbraco.Core.ConfigurationStatus" value="" />
</appSettings>


2. Update the database.
Connect to your sql server database. Withing the table umbracoUser. Update the user record where id = -1;  Clear the field userpassword , and set contents to 'default'.

3. Run the Installer

Navigate to your website, the installer launces. Enter your new new details and you should not have reset the password.

 

Notes

  • This will not work if you are already in an upgrade loop.
  • Ensure the user is not disabled or locked out. Check fields userDisabled and userNoConsole. (should be set to false)

Umbraco
Umbraco Certified Expert