Skip to content

Instantly share code, notes, and snippets.

@keyan1603
Created September 20, 2023 18:35
Show Gist options
  • Save keyan1603/e31f6c8d757de9a830dfe2438504b34a to your computer and use it in GitHub Desktop.
Save keyan1603/e31f6c8d757de9a830dfe2438504b34a to your computer and use it in GitHub Desktop.
Reset Sitecore Admin account password without logging into Sitecore
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'
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment