Reset the password for sa user in SQL Server

osql -S “SERVER_NAME\INSTANCE_NAME” -E -Q “exec sp_password NULL, ‘NewPassword’,’sa'”

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.