Install solr locally for sitecore 9
January 23, 2018
1 min

I recently received a Sitecore database to perform an Information Architecture (IA) audit—but there was a small problem: I didn’t have the admin password.
If you ever find yourself in the same situation, here’s a quick and reliable way to reset the Sitecore admin password directly from the database.
You can run the following SQL query to reset the password to Sitecore’s default (typically b, but may vary depending on encryption settings):
USE [qwh_core]UPDATE [qwh_core].[dbo].[aspnet_Membership]SET[Password] = '8dC23rEIsvuttG3Np1L4hJmJAOA=',[PasswordSalt] = 'joeLPwcwMq6L7kyuVfVS7g=='WHERE UserId IN ('B09BBCDE-9B3C-4DCD-B69E-67F615CE01E9')
UPDATE [aspnet_Membership]SET[Password] = 'qOvF8m8F2IcWMvfOBjJYHmfLABc=',[PasswordSalt] = 'OM5gu45RQuJ76itRvkSPFw==',[IsApproved] = 1,[IsLockedOut] = 0WHERE UserId IN (SELECT UserId FROM dbo.aspnet_Users WHERE UserName = 'sitecore\Admin')
⚠️ Note: This assumes the default Sitecore encryption provider and password format. If your instance is customized, the above may not work as-is.
Hope this saves someone a headache in the future—Internet memory, you’re welcome. 😉
Quick Links
Legal Stuff