Is it possible? I was playing around with Umbraco, got it started up last week (just got it up and running, didn't do anything beyond that) and by Monday I'd forgotten the password. I looked here, but none of the suggestions seem to work. Changing the membership provider to Clear
here:
<add name="UmbracoMembershipProvider" type="Umbraco.Web.Security.Providers.MembersMembershipProvider, Umbraco" minRequiredNonalphanumericCharacters="0" minRequiredPasswordLength="8" useLegacyEncoding="true" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" defaultMemberTypeAlias="Member" passwordFormat="Hashed" />
<add name="UsersMembershipProvider" type="Umbraco.Web.Security.Providers.UsersMembershipProvider, Umbraco" minRequiredNonalphanumericCharacters="0" minRequiredPasswordLength="8" useLegacyEncoding="true" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" passwordFormat="Hashed" />
If I change UmbracoMembershipProvider
to Clear
, it doesn't seem to do anything. If I change UserMembershipProvider
to Clear
then the whole site breaks (it complains that you can only use Umbraco with ASP.NET identity if it's set to Hashed
).
All the suggested hashes to replace the userPassword
don't seem to work. Setting the userPassword
to an empty string doesn't work because the UI won't allow an empty string as a password, and the backend will check it and complain too.
Is there any simple, fool-proof way to reset the damn thing without uninstalling and starting over?
We had this issue receiving an Umbraco install from a 3rd party but no credentials. This is for Umbraco 7.6.1
• Modify UsersMembershipProvider set useLegacyEncoding="true" In web.config then restart iis
use the usual script to set the admin password the old way
UPDATE umbracoUser set userdisabled=0, userNoConsole=0, userLogin='admin', failedLoginAttempts=0, userPassword='bnWxWyFdCueCcKrqniYK9iAS+7E=' where id=0
• Log in as admin/default
• Navigate to the admin user
• Modify UsersMembershipProvider set useLegacyEncoding="false" then restart iis again
• CTRL-F5 to reload web.config (you should still be logged in via cookie)
• Select “Change Your Password”
• Check the “Reset Password” checkbox
• Click Save
• You will get a green dialog with the new password
• Copy the new password to clipboard
• Click “Change Password” again
• Paste into the “Current Password” field
• Enter admin123456 as new password
• Enter admin123456 as confirm password
• Click Save
To check restart iis, log in as admin/admin123456