This forum topic shows 2 methods to help you change or reset forgotten SA password for your SQL Server 2000/2005/2008/2012/2014 database installation.
Method 1: Using SQL Management Studio:
- Login into SQL Server using Windows Authentication.
- In Object Explorer, open Security folder, open Logins folder. Right click on SA account and go to Properties.
- Change SA password, and confirm it. Click OK.
Method 2: Using SQL Script
- Open the SQL Server Management Studio.
Copy, paste, and execute the following:
GO
ALTER LOGIN [sa] WITH DEFAULT_DATABASE=[master]
GO
USE [master]
GO
ALTER LOGIN [sa] WITH PASSWORD=N'NewPassword'
GO
where NewPassword is the password you wish to use for the sa account.
Posted by Admin (administrator) on 29 January 2019 at 05:55. Edited by Admin (administrator) on 29 January 2019 at 06:11. |
|