Loading...

How do I reset Sitecore admin password?

The easiest way to reset your Sitecore admin password (or password for any user) is to do it directly in the database. Sitecore uses .NET membership tables to store user data so to reset the admin password simply run following T-SQL statement in Microsoft SQL Server Management Studio.


UPDATE dbo.aspnet_Membership 
SET [Password]='qOvF8m8F2IcWMvfOBjJYHmfLABc=', [PasswordSalt]='OM5gu45RQuJ76itRvkSPFw==', 
[IsApproved] = '1', [IsLockedOut] = '0'
WHERE UserId IN (SELECT UserId FROM dbo.aspnet_Users WHERE UserName = 'sitecore\Admin')

This will reset your admin password back to b and also will make sure your account is unlocked in case you locked it out by unsuccessfully trying to login too many times.

Disclaimer
This is a personal blog. The opinions expressed here represent my own and not those of people, institutions or organizations that the owner may or may not be associated with in professional or personal capacity, unless explicitly stated.. In addition, my thoughts and opinions change from time to time I consider this a necessary consequence of having an open mind. This blog disclaimer is subject to change at anytime without notifications.