I got a clean installation of Windows Server 2008 Enterprise R2 from my hosting provider. When I try to add a Actice Directory Domain Services role to the server I get a message that the installation is not successfull and the server needs to restart in order to revert all changes. Here's what I have in the server log:

[CbsUIHandler]              Error: -2147021879 : 
[CbsUIHandler]              Terminate: 
[InstallationProgressPage]  Verifying installation...
[CBS]                       ...done installing 'DirectoryServices-DomainController '. Status: -2147021879 (80070bc9)
[Provider]                  Skipped configuration of 'Active Directory Domain Controller' because install operation failed.

I have installed all updates and SP1 - it didn't help. Does anyone have a suggestion how to fix this problem?

EDIT: By recommendation I have run a check with System Update Readiness tool - it shows no problems.

link|improve this question
Is the DNS role installed? – duenni May 11 '11 at 13:05
It was not, but after I have installed it now and tried to install AD DS - it failed again. – FourTonMantis May 11 '11 at 13:43
Did you just install it or have you configured it also? – duenni May 12 '11 at 6:22
Can you run Windows Update? I frequently see this error code associated with failed Windows Updates. – vcsjones Aug 25 '11 at 23:37
feedback

4 Answers

my problem was Remote Registry service with startup type = disable. Modified in startup type = automatic, problem was resolved.

link|improve this answer
Did you mean to post to this Question? The Remote Registry service doesn't affect the installation of the ADDS Role. – Chris S Aug 9 '11 at 2:52
feedback

Sometimes you will see this error if you have installed "Active Directory Lightweight Directory Services" before installing the ADDS role. Remove the ADLDS role then install the ADDS role first and reinstall ADLDS.

link|improve this answer
feedback

This is a tipical issue when you have problems with a system package, when an update did not install correctly.

If you see your event viewer is very likely to see you have a package error when trying to install the role.

There is a tool from Microsoft, updated every month, called System Update Readiness Tool. This tool is to fix inconsistencies in the Windows servicing store which may prevent the successful installation of future updates, service packs, and software.

You can find the lasted update of tool here at Microsoft Donwload Center. The tool for Windows Server 2008 R2 for this month (agoust of 2011) is available here.

Reboot the server after the error. Run the tool. Reboot it again. If this doesn't work you can try manually advanced methods for fixing service corruption.

Regards.

link|improve this answer
feedback

Actually the Remote Registry Service has to do with this problem, please see the below blog for a thorough explanation and ways to resolve:

Active Directory Domain Services and Remote Registry Service

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.