Resetting the Sitecore Admin Password: Quick Guide
Managing access to your Sitecore instance is essential, and sometimes you might need to reset the admin password. Here’s a quick guide to help you do that efficiently.
If you’ve forgotten the password, you can reset it directly through the Core database. Here’s the SQL query to reset the password for the sitecore\Admin
user:
UPDATE [aspnet_Membership]
SET
[Password] = 'qOvF8m8F2IcWMvfOBjJYHmfLABc=',
[PasswordSalt] = 'OM5gu45RQuJ76itRvkSPFw==',
[IsApproved] = '1',
[IsLockedOut] = '0'
WHERE UserId IN (
SELECT UserId FROM dbo.aspnet_Users WHERE UserName = 'sitecore\Admin'
);
After executing this query, you can log in using:
- Username: sitecore\Admin
- Password: b
This method works across all versions of Sitecore that use SQL Server as their database backend, including:
- Sitecore 6.x
- Sitecore 7.x
- Sitecore 8.x
- Sitecore 9.x
- Sitecore 10.x
The password hash and salt values remain consistent across versions since Sitecore uses the same hashing algorithm for backward compatibility.
Remember, a password reset is just a step away! 🚀💻
Keep your Sitecore secure and enjoy your content management journey! 🎉✨