What to do with machine account?
I'm trying to install Config Mgr 2007 on a Win2K3 Enterprise Server which will talk to a separate SQL 2005 box, and I'm getting this error:
The site server computer's machine account does not have Administrator's privileges on the SQL Server selected for site database installation. To install a Configuration Manager site, all servers must be in an Active Directory domain and the site server's machine account must have Administrator's privileges on the SQL Server.
How do I overcome this?
Thanks
September 27th, 2007 7:25am
When a Configuration Manager site server uses remote site systems, it needs to have administrative rights on the remote site systems in order to manage them. Not sure if your question is how do you get around having to grant the machine account local admin rights on the SQL server, or how do you go about granting the site server's computer account admin rights on the SQL server. If it's the latter, follow the steps below.
1. On the SQL Server, right-click My Computer and select Manage to open the Computer Management console.
2. Expand the Local Users and Groups node and select Groups.
3. Double-click Administrators in the right-hand pane of the Computer Management console.
4. Click the Add... button to open the Select Users, Computers and Groups dialog box.
5. Click the Object Types... button and ensure Computers is selected in the Object Types dialog box.Click OK to return to the Select Users, Computers and Groups dialog box.
6. If the From this location field in the Select Users, Computers and Groups dialog box does not show the domain that the Configuration Manager site server is in, click the Locations... button and select the correct domain.
7. In the field labelled Enter the object names to select, type the computer name of the Configuration Manager site server.Click the Check Names... button to confirm that the name has been recognised (it should appear underlined when confirmed).
8. Click OK.
Free Windows Admin Tool Kit Click here and download it now
September 27th, 2007 10:54am
this was it. thanks so much
September 27th, 2007 9:31pm
I am having the same exact issue... and I tried this and it didn't work for me. Do you have any other suggestions?
Free Windows Admin Tool Kit Click here and download it now
November 9th, 2007 12:10am
Seems like most ofthe time if you are having problems with a remote SQL server there is something with the Service Principal Name. See if this page helps:
http://technet.microsoft.com/en-us/library/bb735877.aspx
November 10th, 2007 1:11am
Dave Fuller wrote:
When a Configuration Manager site server uses remote site systems, it needs to have administrative rights on the remote site systems in order to manage them. Not sure if your question is how do you get around having to grant the machine account local admin rights on the SQL server, or how do you go about granting the site server's computer account admin rights on the SQL server. If it's the latter, follow the steps below.
1. On the SQL Server, right-click My Computer and select Manage to open the Computer Management console.
2. Expand the Local Users and Groups node and select Groups.
3. Double-click Administrators in the right-hand pane of the Computer Management console.
4. Click the Add... button to open the Select Users, Computers and Groups dialog box.
5. Click the Object Types... button and ensure Computers is selected in the Object Types dialog box.Click OK to return to the Select Users, Computers and Groups dialog box.
6. If the From this location field in the Select Users, Computers and Groups dialog box does not show the domain that the Configuration Manager site server is in, click the Locations... button and select the correct domain.
7. In the field labelled Enter the object names to select, type the computer name of the Configuration Manager site server.Click the Check Names... button to confirm that the name has been recognised (it should appear underlined when confirmed).
8. Click OK.
Free Windows Admin Tool Kit Click here and download it now
November 11th, 2007 2:04am
I have this already in place Dave. Thanks for the response. Any other ideas?
November 11th, 2007 2:28am
Cathy Moya [MSFT] wrote:
Seems like most ofthe time if you are having problems with a remote SQL server there is something with the Service Principal Name. See if this page helps:
http://technet.microsoft.com/en-us/library/bb735877.aspx
Still having issue Cathy... any other ideas? I am doing this from one VM server to another VM server... would this make any difference you think? I made an ODBC connection to the remote SQL server from the Configuration Server to verify I can connect and authenicate with the account I am using.
Free Windows Admin Tool Kit Click here and download it now
November 11th, 2007 2:32am
I appreciate everyone's help. I finally figured it out. I do not even want to tell you what I did wrong. When I setup the computer and joined it to the domain, the computer account was not created. Iremoved it from the domain and then rejoined and it created the account. I ran the prereq test again, and now all I have to do is the AD extend. Thanks again for the help everyone. I had to go back and visit Server Class 101.
November 13th, 2007 12:03am
Maddage field is auto
Free Windows Admin Tool Kit Click here and download it now
November 13th, 2007 1:48am
Can I add a twist...
We have exactly the same issue as the original poster, but, the sql server we are using is a Domain Controller so we can't get into local users to add an account...
Is there any way around this, or are we scuppered?
Rob
February 4th, 2008 5:37pm
You have to use Active Directory Users and Computers to add the computer account as an admin.
Free Windows Admin Tool Kit Click here and download it now
February 4th, 2008 7:46pm
So I'm adding the computer account into the domain administrators group?
Rob
February 5th, 2008 2:33pm
It wouldn't have to be Domain Admins, but could be the built-in Administrators group. But yes, you would have to make the account an administrator on the domain controller.
Free Windows Admin Tool Kit Click here and download it now
February 5th, 2008 7:36pm
Thanks Wally,
Sorted
February 25th, 2008 1:13pm
Hello,
I have the same problem, i tryed already the solutions presented, but nothing works.
The Computer is in the domain, the user is a domain administrator, the user is also a local administrator but the instalation still gives the same problem.
can anyone help me?
Free Windows Admin Tool Kit Click here and download it now
February 25th, 2008 4:18pm
I'm not sure I'm following you, sorry. Can you explain the problem and what you've done to try to fix it?
If it is the original problem, where the site server can't access SQL Server on a remote server, then it has nothing to do with "the user". The issue is that the site server computer account must be a local admin on the remote SQL Server computer.
February 25th, 2008 7:28pm
Hello,
i'm currently installing OPM and CFM with a seperate SQL Server.
On one server OPM works and hase a connection to the SQL Server
On the other server i'm installing CFM with a link to the SQL server. But when i'm installing CFM it gives me the following error :
The site server computer's machine account does not have Administrator's privileges on the SQL Server selected for site database installation. To install a Configuration Manager site, all servers must be in an Active Directory domain and the site server's machine account must have Administrator's privileges on the SQL Server.
The CFM user is domainAdministator on our domain. I have added hisuser localy to the administrators on the on the SQL server. All the servers are in the same domain.
can you help me?
Free Windows Admin Tool Kit Click here and download it now
February 26th, 2008 11:40am
I don't know what OPM and CFM are. If you are using CFM as Configuration Manager - again, as stated numerous times, the SITE SERVER COMPUTER ACCOUNT needs to be an admin on the SQL Server computer.
You keep mentioning a "user" - we are using the site server computer account.
Either that or I still am not understanding what you are asking :-(
February 26th, 2008 10:32pm
I have the same issue as the original poster. I have successfullyinstalled a SCCM 2007 SP1 site using a remote SQL instance (both of which are in the same domain). I am now trying to install a Child Primarysite that will use the same remote SQL instance for its database (the SQL server is in the same forest, but is in a different domain).
On this Child Primary Site server (it will be site code S01), I have successfully installed WSUS and it was able to install its database on the remote SQL server.
However when I try to install SCCM 2007 SP1 I receive the error "The site server computer's machine account does not have Administrator's priviledges on the SQL server..."
I have added the S01 server to the local admin group of the remote SQL server. I have created the necessary SQL service SPN's in the domain of the SQL server, but I still get the error that it is not an administrator on the SQL server box.
What am I missing? Do I need SPNs in the same domain as S01? If so, then why was WSUS able to install its database on the SQL server successfully?
Free Windows Admin Tool Kit Click here and download it now
July 18th, 2008 9:00pm
I had this problem to and your sugestion worked perfectly
Thank You So much
September 21st, 2008 11:36am
For Jeremy's post:
I have the same issue as the original poster. I have successfullyinstalled a SCCM 2007 SP1 site using a remote SQL instance (both of which are in the same domain). I am now trying to install a Child Primarysite that will use the same remote SQL instance for its database (the SQL server is in the same forest, but is in a different domain).
The answer is that this is completely unsupported. We require that the site server and SQL Server computers be in the same domain, not just same forest. This is documented here: http://technet.microsoft.com/en-us/library/bb694003.aspx
"All other site systems within a site that are not listed above must reside within the same Active Directory forest. They can be installed in different domains within the forest, with the exception of the site server, SMS Provider computer, reporting point, and site database server which must all reside in the same domain."
Free Windows Admin Tool Kit Click here and download it now
September 27th, 2008 1:11am
I have followed the steps listed above and still cannot seem to make the SCCM '07 SP1 machine account work with a stand-alone SQL Server. A brief rundown:
SCCM box - Server 2008; SQL box - Server 2003, SQL 2005
Both boxesare on same domain, SCCM box shows up as a computer account in ADUC
Open the Local Users and Group on the SQL server box - add SCCM computer name in the Administrators group
Prereq checker runs and says all
Start to install and get following error:
The site server computer's machine account does not have Administrator's privileges on the SQL Server selected for site database installation. To install a Configuration Manager site, all servers must be in an Active Directory domain and the site server's machine account must have Administrator's privileges on the SQL Server.
Any ideas as to what could cause this? Like I said, computer account is already listed in teh local admin group. Is there anything in the SQL Server software itself that needs permissions setup?
Thanks.
P
November 8th, 2008 1:05am
Running in a VM environment...make sure to reboot both boxes after making the security change, and try again.
Free Windows Admin Tool Kit Click here and download it now
December 26th, 2008 12:21am
Hi, i have the same problem of the original poster. Now that i know the answer, i need to know if the site server computer account needs to be local admin on the sql box for just the installation, or the computer account must remain local admin for the correct functioning of ConfigMgr.Can i remove the site servercomputer accountafter installing ConfigMgr?Best Regards.
January 14th, 2009 7:41pm
Wally is exactly right here. You need to add the server you want the site on into the local admins group on the server running SQL. Example:ServerA.mydomain.com is running SQL.ServerB.mydomain.com is the server you want the site installed on.ServerBMUST be an Administrator in order for this to work.
Free Windows Admin Tool Kit Click here and download it now
July 20th, 2009 5:48pm
If you're like me you don't like to apply permissions using individual user or computer accounts so I created a group, SCCMComputers which contains all computers in my SCCM environment. I then add this group to all local admins on all SCCM machines. I was still having the issues listed above. Just for the heck of it, I explicitly added the Site Server's machine account to the SQL Server's Local admin account and that was it. How freaking stupid! I bet this is a bug in the SCCM installer and not the actual security model.
December 14th, 2009 9:35pm
My problem was also that I had created a domain group named SCCM Site Servers and added my site server's computer account (Server10) to this group, then added the group to the Local Administrator's group on the SQL 2008 machine. Only when I removed the SCCM Site Servers group from the Local Administrator's on the SQL box and added just the Server10 machine domain account did the pre-req checker accept that the machine was a Local Administrator.
Free Windows Admin Tool Kit Click here and download it now
January 24th, 2010 6:48pm