SQL 2008 Hosting : Easy Steps to recover SA password on Microsoft SQL Server 2008 R2

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

Steps to recover the SA password

  • Start SQL Server Configuration Manager
    Easy Steps to recover SA password on Microsoft SQL Server 2008 R2
  • Stop the SQL services
    Easy Steps to recover SA password on Microsoft SQL Server 2008 R22
  • Edit the properties of the SQL Service
    Easy Steps to recover SA password on Microsoft SQL Server 2008 R23
  • Change the startup parameters of the SQL service by adding a –m; in front of the existing parameters
    Easy Steps to recover SA password on Microsoft SQL Server 2008 R24

    Easy Steps to recover SA password on Microsoft SQL Server 2008 R25

  • Start the SQL services. These are now running in Single User Mode.
  • Start CMD on tthe SQL server
  • Start the SQLCMD command. Now you will see following screen
    Easy Steps to recover SA password on Microsoft SQL Server 2008 R26
  • Now we create a new user. Enter following commands
    • CREATE LOGIN recovery WITH PASSWORD = ‘TopSecret 1′ (Remember SQL server has default strong password policy
    • Go
      • Now this user is created
  • Now we grant the user a SYSADMIN roles using the same SQLCMD window.
    • sp_addsrvrolemember ‘recovery’, ‘sysadmin’
    • go
  • Stop the SQL service again
  • Change the SQL service properties back to the default settings
    Easy Steps to recover SA password on Microsoft SQL Server 2008 R27
  • 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.
    Easy Steps to recover SA password on Microsoft SQL Server 2008 R28
  • Now write down the new SA password

Best SQL 2016 Hosting Recommendation

ASPHostPortal.com

ASPHostPortal.com provides its customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server. ASPHostPortal.com offers SQL 2016 hosting starts from $5/month only. They also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable SQL 2016 Hosting, ASPHostPortal.com should be your best choice.