How to recover SA password on Microsoft SQL Server 2008 R2|| Forgot Password For Sql Server Recovery

Поделиться
HTML-код
  • Опубликовано: 13 май 2014
  • When you are using MS SQL Server in mixed mode, it is very important that you know your SA password.
    There can be different reasons you lost the password
    Person who installed the SQL Server knows the password but has left the building.
    You did not write down the password in your password file
    Password file is lost
    Command to use in cmd prompt:
    CREATE LOGIN recovery WITH PASSWORD = 'TopSecret 1′
    sp_addsrvrolemember 'recovery', 'sysadmin'
    copy paste and press enter ........
    Thank you for watching

Комментарии • 21

  • @superaijaz
    @superaijaz 8 лет назад

    Thanks for this really helpful video! I just recover one much needed sa password at work when one application team was waiting for this.

  • @5PYZ3R
    @5PYZ3R 9 лет назад +9

    This isn't a password recovery, it's a password reset.
    If it was recovery you would be getting the existing password.

  • @Trini2DeBone
    @Trini2DeBone 9 лет назад

    Thanks for this video. I'm using sql 2012 so one step is slightly different. But this video has been a great help

  • @marlitop30
    @marlitop30 6 лет назад

    Thanks for this video, I don´t use the command SQLCMD for create the new user because I gave error, but used the command OSQL ( osql -S NameServer\Instance -E can chance the password the user SA.

  • @mohamedyousufalimi9944
    @mohamedyousufalimi9944 8 лет назад

    Thank You..... Successfully done

  • @SushiSnackGaming
    @SushiSnackGaming 9 лет назад

    in cmd i am getting this error after putting in sqlcmd command
    message 18461,level 14,state 1,server HP-PC,line one
    login failed for user HP-PC\HP

    • @MixedMealTelugu
      @MixedMealTelugu 2 года назад

      You should be part of windows admin group

  • @chrisbassett6691
    @chrisbassett6691 8 лет назад +4

    This doesn't seem to work. There is a much simpler way to reset the sa password:
    Using SQLCMD, issue this command:
    sp_password @new = ’newpassword’, @loginame = ‘sa’
    Type "go" to execute the command
    Type 'exit' to exit SQLCMD
    This will reset the password to whatever you set for 'newpassword'

    • @rajukr2000
      @rajukr2000 2 года назад

      It worked. Thank you..

  • @wsgameplays2870
    @wsgameplays2870 6 лет назад

    Thanks guy, help very

  • @waf3yahahidk337
    @waf3yahahidk337 8 лет назад

    Do it but for iPhone can you

  • @gleyberantonio7907
    @gleyberantonio7907 11 месяцев назад

    Thanks you 🎉

  • @jackt6112
    @jackt6112 5 лет назад

    *** CLICK BAIT! *** This is password reset, not password recovery.

  • @nitheshk.p545
    @nitheshk.p545 9 лет назад

    thank you

  • @shumadev8334
    @shumadev8334 8 лет назад

    thanks that did it!

  • @keithcak
    @keithcak 8 лет назад

    if i want to reset database username and password can?

  •  8 лет назад

    Doesn't work

    • @johnsonwelch1224
      @johnsonwelch1224 7 лет назад

      In such situation you can take the help of third party SQL password recovery software www.sqlrecoverysoftware.net/sql-server-password-reset/