Skip to content

Instantly share code, notes, and snippets.

@mawiseman
Created November 23, 2017 03:31
Show Gist options
  • Save mawiseman/05a4dcd63aec6a2e066a65f5d0509fef to your computer and use it in GitHub Desktop.
Save mawiseman/05a4dcd63aec6a2e066a65f5d0509fef to your computer and use it in GitHub Desktop.
Reset Sitecore admin account
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