SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SA Password


SA Password

Author
Message
Muhammad Haseeb Farhan
Muhammad Haseeb Farhan
SSC-Addicted
SSC-Addicted (478 reputation)SSC-Addicted (478 reputation)SSC-Addicted (478 reputation)SSC-Addicted (478 reputation)SSC-Addicted (478 reputation)SSC-Addicted (478 reputation)SSC-Addicted (478 reputation)SSC-Addicted (478 reputation)

Group: General Forum Members
Points: 478 Visits: 224
Hi all, is there any one who can help me in recovering my SA password. I m in deep trouble, is there any way by which i can recover my sa password. Currently i have not any other user with sys admin, security admin rights.
Jon-211045
Jon-211045
SSC Veteran
SSC Veteran (221 reputation)SSC Veteran (221 reputation)SSC Veteran (221 reputation)SSC Veteran (221 reputation)SSC Veteran (221 reputation)SSC Veteran (221 reputation)SSC Veteran (221 reputation)SSC Veteran (221 reputation)

Group: General Forum Members
Points: 221 Visits: 1
Didn't you write it down in a safe place??


Kindest Regards,

Jon
Free Cell Phone Games
athurgar
athurgar
Ten Centuries
Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)

Group: General Forum Members
Points: 1279 Visits: 162

Are you using integrated security or standard. I am assuming standard. If so then change the security mode to mixed (this can be done via the registry - it has been posted before). Make sure you are in the admins group and then you can change the sa password.





Tim Morrison
Tim Morrison
Old Hand
Old Hand (384 reputation)Old Hand (384 reputation)Old Hand (384 reputation)Old Hand (384 reputation)Old Hand (384 reputation)Old Hand (384 reputation)Old Hand (384 reputation)Old Hand (384 reputation)

Group: General Forum Members
Points: 384 Visits: 18

Jon McMullin - You need to read the rulles before posting unhelpful comments.

People need to know that they can post their problem here without people sneering at them - we've all done silly things, but hopefully we learn by them.


David Jackson
David Jackson
Hall of Fame
Hall of Fame (3.1K reputation)Hall of Fame (3.1K reputation)Hall of Fame (3.1K reputation)Hall of Fame (3.1K reputation)Hall of Fame (3.1K reputation)Hall of Fame (3.1K reputation)Hall of Fame (3.1K reputation)Hall of Fame (3.1K reputation)

Group: General Forum Members
Points: 3064 Visits: 2060
Take a look at http://www.ngssoftware.com/sqlcrack.htm


http://glossopian.co.uk/
"I don't know what I don't know."
fhanlon
fhanlon
SSCertifiable
SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)SSCertifiable (7.1K reputation)

Group: General Forum Members
Points: 7070 Visits: 2333

In case you can't use the sqlcrack program (I believe you must be sysadmin to run this software) you may need to think about another method. Do you have access to either EM or QA where via a sysadmin id where the password was saved? If so you could create yourself an id and change the sa password.

If there really is nothing, you may need to think about reinstalling. using the latest backups of the user databases and the msdb database. This is a fair bit a work, so you may not want to do this without eliminating all other options.





Francis
Kevin Michael Bayson
Kevin Michael Bayson
Old Hand
Old Hand (398 reputation)Old Hand (398 reputation)Old Hand (398 reputation)Old Hand (398 reputation)Old Hand (398 reputation)Old Hand (398 reputation)Old Hand (398 reputation)Old Hand (398 reputation)

Group: General Forum Members
Points: 398 Visits: 1

1. Log in to the OS as administrator.

2. If yours is a default instance of SQL Server, check the following value to make sure it set to a 0 (if you change this value, you must restart SQL Server):

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\MSSQLServer\LoginMode

3. Run this from the command line to update the 'sa' password to NULL:

osql -E -Q "EXEC sp_password NULL, NULL, 'sa'"





sensanjay
sensanjay
Valued Member
Valued Member (56 reputation)Valued Member (56 reputation)Valued Member (56 reputation)Valued Member (56 reputation)Valued Member (56 reputation)Valued Member (56 reputation)Valued Member (56 reputation)Valued Member (56 reputation)

Group: General Forum Members
Points: 56 Visits: 3
You can also try this: register the SQL Server in the Enterprise Manager with Windows Authentication. Ensure that the Windows login you are using is a member of the Administrators group of the SQL Server machine. Then you can change the sa password from the EM, by accessing 'Logins' under 'Security'.

Hope this helps.



Francisco Javier Valdebenito
Francisco Javier Valdebenito
SSC-Enthusiastic
SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)SSC-Enthusiastic (168 reputation)

Group: General Forum Members
Points: 168 Visits: 49

Here is another procedure

1- Stop MSSQL Server Service

2- Copy all system datafiles to a new folder

3- rebuild your master database, at this point you'll get access to SQL Server with sysadmin rights

4- Start MSSQL Server Service

5- attach old master database, the one backed up on step 2, using the name master_old

6- Execute the foloowing procedure on master_old databases

http://support.microsoft.com/kb/246133/en-usYou

you will get an script with all the logins in the server with the same sid and password ecrypted.

7- Execute The script from step 6.

8- Attach all users databases

9- set the right default database to every single login.

10- set the rights server roles for every single login.

11- detach master_old database

12- stop mssqlserver service and replaces the datafiles for msdb db with the ones backed up in step 2

13- start mssqlserver service

14- check that everything it's ok, and do a full backup, and also store in a secure place the new credentials for sa

Sorry for my poor english and good luck

Francisco Valdebenito


Jon-211045
Jon-211045
SSC Veteran
SSC Veteran (221 reputation)SSC Veteran (221 reputation)SSC Veteran (221 reputation)SSC Veteran (221 reputation)SSC Veteran (221 reputation)SSC Veteran (221 reputation)SSC Veteran (221 reputation)SSC Veteran (221 reputation)

Group: General Forum Members
Points: 221 Visits: 1

You are right . I am sorry for not considering context of how my post would be taken . I was more feeling panic for him not trying to make fun of him . Next time I will be more constructive !

These guys sure know how to get to the solution quick! Can you take my full name out of the post please?




Kindest Regards,

Jon
Free Cell Phone Games
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search