Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Eric 1 post 21 karma points
    Mar 16, 2012 @ 13:16
    Eric
    0

    I set a new admin user and can't get back in!

    Hi

    As our tech' guy has moved on I thought I'd better overwrite the admin user so I set a new username and a new password, unfortunately I now can't back into the CMS.  Can anyone help!

    Eric

  • Paul Kaplan 86 posts 139 karma points
    Mar 20, 2012 @ 12:15
    Paul Kaplan
    0

    This is what I have in my notes for resetting admin password:

    In MySql:

    UPDATE umbracoUser set userdisabled=0, userLogin='admin', userPassword='default' where id=0;

     

    in web.config

    search in web.config for the UsersMembershipProvider and change passwordFormat="Hashed"

    into Clear:

    passwordFormat="Clear"

     

    Now you should be able to login with admin / default

     

    Remain logged in, navigate to users page, open admin user

     

    Revert the change in the web.config and save the web.config.  Recycle app pool.

     

    Now change the admin password by using the umbraco-client (users/administrator/reset password)

     

    Check the database to see that the password is hashed again...

     

Please Sign in or register to post replies

Write your reply to:

Draft