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.
my problem was Remote Registry service with
startup type = disable
. Modified instartup type = automatic
, problem was resolved.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.
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.
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
I upgraded my server from 2008 to 2008 R2 and tried to install AD DS. In "C:\Windows\Logs\CBS\CBS.log" I noticed this error message:
This blog post lead me to the solution in my case: "...an orphaned registry key still needed to be deleted...after that, DFS installed successfully."
There is a key for the GUID (mentioned in the error message) in
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{564af62f-e581-4998-9991-c4bc18178815}"
. After deleting it, installation was successful.