Solved

question about ssms access sql server

Posted on 2016-08-29
4
46 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 40

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 50

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.

739 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