How to Reset SQL SA password in SQL Server 2005?

Forgot MS SQL Server SA password, this article will demonstrate three options to reset SA password in SQL Server 2005
By: Michelle
 
June 17, 2011 - PRLog -- SA user (abbreviation for "System Administrator") is the administrative login for MS SQL Server. Have you ever thought about such situation: what will you do if you forgot SQL Server SA password ? Reinstall MS SQL Server or just drop everything and walk out of here. For whatever reason you forgot SQL Server SA password and the windows account told you don’t have the permissions to change SA password, this article will demonstrate Resetting SQL SA password for several options.

Options 1: Change SQL SA password From a Command Prompt

To change SQL SA password, you have to execute following commands from command prompt of your SQL server:

Change SQL SA password From a Command Prompt

  1. Go to the command prompt of the server and type in command prompt osql –L
  2. Copy full name of SQL Server and type:
     OSQL -S {insert_servername_here} -E
  3. Execute the following query:
     sp_password NULL, '{insert_new_password_here}', 'sa'
     GO

Now try to login to MS SQL using the new password. If you are bored of the old black screen (Command Prompt), you may like the graphical interface option below.


Options 2: Reset SA password Using SSMS

SSMS (MSSQL Server Management Studio) is the own database management tool of MSSQL. Here are steps to reset SA password by using SSAM:

Reset SA Password Using SQL Server Management Studio

  1. Open SSMS management console. This is usually under Start -> All Programs -> Microsoft SQL Server 2005 -> SQL Server Management Studio Express.
  2. Connect to your instance of SQL Server via Windows Authentication.
  3. Once open, navigate to "Logins" object under the "Security". Once expanded, right-click on the 'SA' user, and choose Properties.
  4. Now, enter desired password in front of "Password" and "Confirm Password" field and click OK.



That is all! You have now reset SA password for your instance of SQL Server 2005. Please note the password change for your records, as remote administration of your database relies heavily on this particular user.



Options 3: Reset SA password With SmartKey SQL Password Recovery



I think the easiest and most efficient way to reset SA password is to take use of SQL Password Recovery, which is designed to reset lost or forgotten user and administrator password for MS SQL server. I have used it to reset SQL SA password successful on SQL 2005. The whole process of resetting SAL SA password can be easily divided into three steps:

Reset SA password With SmartKey SQL Password Recovery

  1. Run the SQL Password Recovery program and then click "Open" to load the master .mdf file.
  2.  Select SA user name to reset the forgotten SA password, or select any other user name which you forgot the password. Click "Change Password" to reset password.
  3. Enter the preferential password and click "OK".

You can now user your newly reset SA password to login into the locked SQL Server.

Article Source:
http://recoverlostpassword.com/article/reset-sa-password-...

# # #

Password Recovery Bundle is a must-have toolkit to recover/remove/reset passwords for Windows, Excel, Word, Access, PowerPoint, Outlook, Outlook Express, PDF,RAR, ZIP, MSN, AOL, Google Talk, Paltalk, Trillian, Miranda, Opera, Firefox and IE Browser, etc.
End
password recovery PRs
Trending News
Most Viewed
Top Daily News



Like PRLog?
9K2K1K
Click to Share