Solved

question about ssms access sql server

Posted on 2016-08-29
4
40 Views
Last Modified: 2016-09-09
Lets say you lose your SA password and that was the only system admin account setup on the instance of sql server.
what type of windows user can login to the instance no matter what...

is it local admin for the server or does it need to be a domain admin.
i need to clear this up.
0
Comment
Question by:jamesmetcalf74
  • 2
4 Comments
 
LVL 39

Accepted Solution

by:
lcohan earned 250 total points
ID: 41774840
It depends on the version of Windows as since 2003 if I'm not mistaken a Local Admin or even domain admin no longer have SQL Server acces by default.
Check ins services and see if SQL is starting with specific domain account and if you have password for that one you can RDP into it using it and should be good to go.

Also next time please enable DAC in SQL so this kind of thing should not lock admin users out of the DB server.

https://www.brentozar.com/archive/2011/08/dedicated-admin-connection-why-want-when-need-how-tell-whos-using/
0
 
LVL 30

Assisted Solution

by:Rich Weissler
Rich Weissler earned 125 total points
ID: 41774847
Assume SQL 2008+, unless there was another user/group explicitly added... neither local admin nor domain admin can log into the instance.   I'll see if I can dig up the instructions to log in via single-user mode so that you can add a user/group.
0
 
LVL 30

Assisted Solution

by:Rich Weissler
Rich Weissler earned 125 total points
ID: 41774859
Here are a set of instructions to be able to add an administrator to SQL, if you didn't select one during installation.
http://blogs.ameriteach.com/chris-randall/2009/12/11/sql-server-2008-forgot-to-add-an-administrator-account.html
0
 
LVL 47

Assisted Solution

by:Vitor Montalvão
Vitor Montalvão earned 125 total points
ID: 41775913
You can always use SQL Server account to connect to the SQL Server instance. Of course this is only valid if you don't use Local System as SQL Server account.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question