Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|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

4 Answers 4

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

share|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
    
Also, make sure the temp folder is writeable. That's where mine broke. –  IguanaMinstrel May 19 '13 at 2:47

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.

share|improve this answer

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

share|improve this answer

This is a typical problem with a system package, where an update did not install correctly.

Check your Event Log for a package error when trying to install the role.

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

You can find the lasted version of the tool here at Microsoft Donwload Center. The tool for Windows Server 2008 R2 for this month (August 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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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