Solved

question about ssms access sql server

Posted on 2016-08-29
4
45 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 49

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Select Query help 1 37
Regarding Disk IO 3 43
Split string into 3 separate fields 5 20
SQL question - help with insert for missing info 5 19
Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
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…
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

749 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