I saw this in logins: computername/username
and I deleted it! Now I cannot log into SQL/Server Management Studio 2008. Mixed mode is not enabled, so I cannot use the sa account because it's disabled by default.
What should I do to bring the user login back now it has been deleted? I don't want to re-install everything.
Do you have a backup of master db?
If you have the sa password, you can change to mixed mode in this registry key:
If none of these, reinstall. And don't do it again ;-)
To regain the access lost by deleting the only user configured to login using windows authentication, when there are no other logins to use.
Do the following as described in the article on msdn
-login using single user mode.
-logout out
-change the settings back to multi user
-and login in using default account
IT WORKED!
i dont remember th link to the article so heres the copy paste i had.
How to: Configure Server Startup Options (SQL Server Configuration Manager) Use SQL Server Configuration Manager to configure startup options to be used each time the Database Engine starts. For a list of startup options, see Using the SQL Server Service Startup Options.
SQL Server Configuration Manager writes startup parameters to the registry. They take effect upon the next startup of the Database Engine.
Note
On a cluster, changes must be made on the active server while SQL Server is online, and will take effect when the Database Engine is restarted. The registry update of the startup options on the other node will occur upon the next failover. To configure startup options
In SQL Server Configuration Manager, click SQL Server Services.
In the right pane, right-click SQL Server (), and then clickProperties.
On the Advanced tab, in the Startup Parameters box, type the parameters separated by semicolons (;).
For example, to start in single-user mode, insert -m; in front of the existing startup options, and then restart the database. (When you start SQL Server in single-user mode, first stop SQL Server Agent. Otherwise, SQL Server Agent might connect first and prevent you from connecting as a second user.)
Important
After you are finished using single-user mode, you must remove the -m; from theStartup Parameters box before you can restart the server instance in the normal multi-user mode.
5. Restart the Database Engine.
after this i did
-logout out
-change the settings back to multi user
-and login in using default account
you could try rebuilding the master db: http://blogs.msdn.com/b/psssql/archive/2008/08/29/how-to-rebuild-system-databases-in-sql-server-2008.aspx
This will let you back in but you likely lose some configuration info. you databases should be fine