Umbraco - Reset the Admin Password via SQL Server
To reset the admin password of a Umbraco website.
1. In Sql server, run the following script on the database:
USE INSERT-YOUR-DATABASE-NAME-HERE
GO
UPDATE umbracoUser set userdisabled=0, userLogin='admin', userPassword='default' where id=0
2. In your web config file, find the "UsersMemnershipProvider" section, change the setting:
passwordFormat="Hashed"
to
passwordFormat="Clear"
You should now be able to login using the Username: Admin and the Password: default ("the two sweetest words in the english language").
1. In Sql server, run the following script on the database:
USE INSERT-YOUR-DATABASE-NAME-HERE
GO
UPDATE umbracoUser set userdisabled=0, userLogin='admin', userPassword='default' where id=0
2. In your web config file, find the "UsersMemnershipProvider" section, change the setting:
passwordFormat="Hashed"
to
passwordFormat="Clear"
You should now be able to login using the Username: Admin and the Password: default ("the two sweetest words in the english language").
Thanks Mark!
ReplyDeleteThanks! I followed same procedure, but used SQL Server Compact Toolbox (SQL CE) to edit userPassword directly before updating web.config. It worked!
ReplyDeleteThanks Mark..You saved my day...
ReplyDeletedont see where to run the sql syntax on umbraco user interface
ReplyDelete