Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

SQL connection failing after changing windows built in domain administrators account

Posted on 2011-02-14
7
Medium Priority
?
518 Views
Last Modified: 2012-05-11
I disabled the built in domain administrator account in Active directory and now users cannot connect to a very important the SQL server application.  The application tries to establish a server connection on port 38113 and fails.  When I run the application locally on the server it fails with the error:
"socket connection failed (error code 10061)"
If I re-enable the ID and reboot the server, it works again...If I then disable the ID after that reboot, it continues to work untill the server is rebooted again, then it stops working.  I suspect a connection string needs to be modified somewhere but I don't know where and how to change it.
0
Comment
Question by:lanreo
[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
  • 4
  • 3
7 Comments
 
LVL 7

Expert Comment

by:lundnak
ID: 34892145
What userid are your SQL Server services configured to run under?
0
 

Author Comment

by:lanreo
ID: 34893397
MSSQLSERVER, MSSQLServerADHelper and SQLSERVERAGENT are all running under the Local System Account
0
 
LVL 7

Accepted Solution

by:
lundnak earned 2000 total points
ID: 34896737
Local system gets its privileges from BuiltIn\Administrators.  I would recommend creating domain user to run the services as.

Following the steps in this blog.

http://www.sqldbadiaries.com/2011/02/02/restirct-access-to-local-system-administrators-on-sql-server/
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:lanreo
ID: 34898195
I've done all the steps in the blog above except removing the "Builtin\Administrators" group from Systems admin role in SQL, I even rebooted the server and I still have the same problem, the client application still does not connect.  I have a feeling there's a file somewhere on the server where it's hardcoded to use a certain "domain\userid" to connect.....please help !!!
0
 

Author Comment

by:lanreo
ID: 34898586
I figured out the problem; the SQL client application was running under a service account that was using the disabled ID....I changed that ID and all worked fine, thanks for your help all the same ..
0
 
LVL 7

Expert Comment

by:lundnak
ID: 34899587
Good deal.  I didn't think about checking the client settings.
0
 

Author Closing Comment

by:lanreo
ID: 34925273
The hints you gave me led to my finding the solution for my issue
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Your data is at risk. Probably more today that at any other time in history. There are simply more people with more access to the Web with bad intentions.
In this blog post, we’ll look at how using thread_statistics can cause high memory usage.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

604 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