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