1)
Use SQL Server Management Studio, connect with
windows-Authentication to the server/instance
Under Security/Login, right-click on "sa", select "properties" and then you can change the password.
2)
USE [master]
GO
ALTER LOGIN [sa] WITH DEFAULT_DATABASE=[master],
DEFAULT_LANGUAGE=[us_english], CHECK_EXPIRATION=ON, CHECK_POLICY=ON
GO
USE [master]
GO
ALTER LOGIN [sa] WITH PASSWORD=N'blah' MUST_CHANGE
GO
3)
From a command shell (start > run > cmd)
OSQL -S <YOUR_SERVERNAME_GOES_HERE> -E
1> EXEC sp_password NULL, 'blah', 'sa'
2> GO