Resetting the SA (System Administrator) password in SQL Server is crucial from a security perspective. In this article, I will walk you through all the approaches to reset sa password in SQL Server 2019.
How To Reset SA Password In SQL Server
Let us discuss all the approaches individually.
Approach-1 Using SQL Server Management Studio (SSMS)
To reset sa password in SQL server, follow the below steps.
1. Open SQL Server Management Studio (SSMS) and connect to SQL server instance.
2. Expand the Security folder, then expand the Logins folder, and then Right click on the SA account and select the Properties option as shown in the screenshot below.

3. Click on the General tab, Enter a new password in the Password field, enter the same password for the Confirm password field, and then click on the OK button as shown in the screenshot below.

Approach-2: Using ALTER statement
We can also execute the below Alter query to change the SA account password.
ALTER LOGIN sa WITH PASSWORD = 'Rajkishore@12345';
After executing the above query, It executed successfully, and the password also changed successfully, as shown below.

Video Tutorial
Conclusion
Resetting the SA account password is so easy, as discussed in this article. You can either use the SQL Server Management Studio (SSMS) design approach, or you can also use the alter statement for this purpose. You can choose the right approach that suits your requirements.
You may also like following the articles below.
- Azure sql password validation failed
- How to Install SQL Server Management Studio [SSMS]
- How To Enable Query Store In SQL Server

Shivam Dogra is a cloud database developer and Team Lead at TSInfo Technologies, where he has worked since June 2021. He writes the SQL Server and Oracle tutorials on DatabaseFAQs.com, covering queries, joins, stored procedures, triggers and permissions. Shivam holds a Master of Computer Applications (MCA) from Chandigarh University.