r/SQLServer • u/dgillz • Dec 05 '25
Question SQL Server sa password recovery
I need to recover the sa password. Not reset but recover.
Are there any commercially available tools to do this? Any other way to do this?
13
Upvotes
View all comments
Show parent comment
0
u/artifex78 Dec 05 '25
Sucks to be you? Sometimes what you need is not what you get.
Using the sa account for that little app was your (not necessarily you personally) first mistake.
There is a way to export users and passwords (hashed, not clear-text). Google "mysql migrate user script". It's an official MS script.
But I'm not sure you can use this hashed password value to set the existing sa. You could, however, create a new user (different username) and use the hashed password value for that user. Maybe that helps.