Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way I can retrieve sa password in sql server 2005 [closed]

I just forgot the password. Can anyone help me how to get back the password.

like image 639
jbcedge Avatar asked Oct 12 '08 21:10

jbcedge


People also ask

How can I recover my SQL Server SA password?

Type sql server management studio into Start, then click Microsoft SQL Server Management Studio 17 at the top of the Start window. Select the correct authentication. Click the "Authentication" drop-down box, then click SQL Server Authentication in the menu. Log in with the new user's credentials.

Where is SA password stored?

The sa user is a SQL Server login and its password is encrypted and stored in the DMV sys. sql_logins (Database Management View) in the master database.

What is default password for sa user in SQL Server?

The remote instance of MS SQL / SQL Server has the default 'sa' account enabled without any password.


1 Answers

There is no way to get the old password back. Log into the SQL server management console as a machine or domain admin using integrated authentication, you can then change any password (including sa).

Start the SQL service again and use the new created login (recovery in my example) Go via the security panel to the properties and change the password of the SA account.

enter image description here

Now write down the new SA password.

like image 87
1800 INFORMATION Avatar answered Jan 03 '23 22:01

1800 INFORMATION