SQL Server 2012 Express: How to get access to the DB when you have lost all passwords
It can happen that you lose all passwords or that you delete the users in a DB, so you have no access or limited access to the database instance.
There are many articles on the Internet that talk about SQL password crackers or other strange methods (some cost you money) to sort this out, but there is a much better and simpler method.
For this to work, you need access to the server console (for example via RDP). The trick is to activate and reset the password for the sa account, then login with Read more [...]