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.
Also FYI there's an official way to reset credentials since 7.x ;) = clear version in web.config (keep conn string), open DB, change user 0 pword to 'default', start site, launches installer, enter new password. Good to go.— Shannon Deminick (@Shazwazza) June 20, 2019