You are on page 1of 3

8/10/2015

4WaystoResetSAPasswordinSqlServerwikiHow

HowtoResetSAPasswordinSql
Server
FourMethods:

ChangeSQLSApasswordfromacommandprompt

ResetSApasswordwithSQLPasswordRecoveryTool

ResetSApasswordusingSSMS

WhenYouHaveSADisabled

SAuser(abbreviationfor"SystemAdministrator")istheadministrativeloginfor
MSSQLServer.WhatdoyoudoifyouforgotSQLServerSApassword?
ReinstallMSSQLServerorjustdropeverythingandwalkoutofhere?For
whateverreason,ifyouforgotyourSQLServerSApasswordandthewindows
accounttoldyoudonthavethepermissionstochangeit,thisarticlewill
demonstrateseveraloptionsforresettingyourSQLSApassword.
ThesestepsworkforSQLServer2005,2008,2012andlater.

Method1of4:ChangeSQLSApasswordfromacommandprompt

Gotothecommandpromptoftheserverandtypeincommandpromptosql

CopyfullnameofSQLServerandtype:OSQLS<insert_servername_here>E

Executethefollowingquery:sp_passwordNULL,

GO

<insert_new_password_here>,sa

Method2of4:ResetSApasswordusingSSMS

OpenSSMSmanagementconsole.ThisisusuallyunderStart>AllPrograms>

ConnecttoyourinstanceofSQLServerviaWindowsAuthentication.

Onceopen,navigatetoLoginsobjectundertheSecurity.Onceexpanded,

MicrosoftSQLServer2005>SQLServerManagementStudioExpress.

rightclickontheSAuser,andchooseProperties.

http://www.wikihow.com/ResetSAPasswordinSqlServer

1/3

8/10/2015

4WaystoResetSAPasswordinSqlServerwikiHow

Now,enterdesiredpasswordinfrontofPasswordandConfirm
PasswordfieldandclickOK.

Method3of4:ResetSApasswordwithSQLPasswordRecoveryTool

RuntheSQLPasswordRecoveryprogramandthenclickOpentoloadthe

SelectSAusernametoresettheforgottenSApassword,orselectanyother

master.mdffile.

usernamewhichyouforgotthepassword.ClickChangePasswordtoreset

password.

EnterthepreferentialpasswordandclickOK.

Method4of4:WhenYouHaveSADisabled

ItsanextratrickyscenariosometimesSAisdisabled.

StartSQLserverassingleuserusingmflagviacommandline.

RunasAdministrator

OntheServerRolespage,selectsysadminandresetpassword.

Wecouldreallyuseyourhelp!
Canyoutellusabout

Canyoutellusabout

Canyoutellusabout

Canyoutellusabout

Adobe
Photoshop?

Loveand
Romance?

CakeMaking?

cooking?

Yes

No

http://www.wikihow.com/ResetSAPasswordinSqlServer

Yes

No

Yes

No

Yes

No
2/3

8/10/2015

4WaystoResetSAPasswordinSqlServerwikiHow

Tips
TheeasiestandmostefficientwaytoresetSApasswordistotake
useofSQLPasswordRecoveryTool.YoucanusesomeSQL
PasswordRecoverytooltoresetSQLSApasswordsuccessfulon
SQL.SuchasSQLPasswordGeeker,SQLPasswordRescuer.

ArticleInfo

Categories:Databases
Inotherlanguages:
:SASqlServer,Portugus:RedefiniraSenhade
AdministradordoSistemanoSQLServer,Italiano:ReimpostarelaPassword
dell'UtenteSAinSqlServer,Espaol:restaurarlacontraseaSAenelservidor
SQL,Deutsch:DasSAPassworteinesSQLServerszurcksetzen

Thankstoallauthorsforcreatingapagethathasbeenread266,802times.

http://www.wikihow.com/ResetSAPasswordinSqlServer

3/3

You might also like