We help IT Professionals succeed at work.

Can't install SQL Server 2005 SP2: Error 29512 - Unable Add User To Local Group

Last Modified: 2010-05-14
There is already an EE question on this topic but my situation is different.  I've also noticed at least five other posts on the web with this problem with no solutions given.

When installing SP2 for SQL Server 2005 I get this error message:

MSI (s) (E0!68) [09:02:25:673]: Product: Microsoft SQL Server 2005 (64-bit) -- Error 29512. SQL Server Setup was unable add user OUR-LAN-DOMAIN\OUR-SERVICE-ACCOUNT to local group OUR-LAN-DOMAIN\SQLServer2005SQLAgentUser$OUR-DATABASE-SERVER-NAME$MSSQLSERVER.

The error message seems to contradict itself: it says "local group" which seems to me to mean the group on the database server itself YET the group name is prefixed with our LAN domain name.  So which one is it?

Also, I'm not sure if this message means there is a problem in Active Directory or in the security model of SQL Server itself.  I don't think it means SQL Server itself because I don't think SQL Server has groups... it only has Roles, right?

We looked in Active Directory and the user above does indeed exist in the domain-level group mentioned.

Please help!
Watch Question

here is the kb on it...


good luck with that


UPDATE: To our server, I added the local group without the domain prefix:


Then added the domain user OUR-SERVICE-ACCOUNT to it.

Funny: I attempt to install SP2 and it still fails, BUT, the install removes OUR-SERVICE-ACCOUNT from the group above !!!  Weird!

Incidentally, I found the exact location of the failure in the SP2 install log:

<Func Name='Do_sqlGroupMember'>
Failure adding user OUR-SERVICE-ACCOUNT to local group OUR-LAN-DOMAIN\SQLServer2005SQLAgentUser$OUR-SERVER$MSSQLSERVER (5)
Error Code: 0x80070005 (5)
Windows Error Text: Access is denied.
Source File Name: sqlca\sqlsecurityca.cpp
Compiler Timestamp: Sat Oct  7 09:43:41 2006
Function Name: Do_sqlGroupMember
Source Line Number: 1132

I still have a feeling that the reason it's failing is because it's trying to create a local group PREFIXED with OUR-LAN-DOMAIN\

Local groups can't be prefixed with a DOMAIN\, right?

Why is SP2 doing this?
Unlock this solution and get a sample of our free trial.
(No credit card required)


Ok, just received an email from Experts-Exchange requesting that I do something with this open question... ironically, we had asked Experts-Exchange how to simply retract, or close out a questions some time ago and never received a response.

Basically in this case, none of the input we received was helpful in solving our issue, and we ultimately solved it ourselves.  We posted what we found/did back here or the benefit of the community, but how do we actually simply close this question?


PAQ'd and 500 points refunded

Cleanup Admin

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.