Umbraco admin password reset
# help-with-umbraco
k
What's the best way to reset admin password in Umbraco without knowing the pass?
a
This is the easiest usually
However, i lately often have that even if i clear the string, you still wont get the setup..
k
I found this in stack overflow but didnt really try yet, umbraco 8 is not a recent version but i think it might work too and thank you for the support
Copy code
This solution works for Umbraco 8

Find an admin user in your database

Update their password to:

WRNIcp5OKxjowAwyBbdXJw==uHFH281pvI0UQJgRdJb95T9gPT1sVXBHKhYcoW5L8LI=

To log in, use their username and that hashed password up there is actually: MyUmbracoPassword1

I came up with this because I tried the answer above and received an error that

"Cannot use ASP.Net Identity with UmbracoMembersUserStore when the password format is not Hashed"

So if you don't want to use my HASH then install a blank umbraco of the same version and setup your admin user with a password and then grab whatever the hash is for your brand new user from the database and feed it back into the system you actually want to get in to.
I'm preparing for a presentation in school and they might ask me that about Umbraco
a
I believe that doesnt work anymore for v9 and up.
l
I tend to use the built-in password reset feature. Emails you a link to reset the password. If it's localhost, then I use something like the Papercut app to pick up local SMTP.
a
+1 to @leekelleher response... I take a look in the Users database table and then request a password reset for the top most admin user, and intercept the email with papercut
m
or smtp4dev (seem to remember having issues with papercut on some win11 builds) You can also use
SpecifiedPickupDirectory
though a bit more of a faff to trawl through html.
Copy code
"Smtp": {
  "DeliveryMethod": "SpecifiedPickupDirectory",
  "PickupDirectoryLocation": "c:/temp"
 }
k
Thank you for helping @User @User @leekelleher @User
s
+1 for Papercut and it had a bit of trouble on 1 win11 release, but it has worked on every other release (and I'm on the beta channel, go figure). I prefer it over smtp4dev as indeed that's.. "a bit of faff"
14 Views