Techieshelp.com

Cannot Install Exchange 2013 on Windows 2012 Server

The cause of this issue is exactly the same as the store hanging in SBS 2011 only this time when you have Server 2012 and you try and install Exchange 2013 you see the error message below.

 

Error:
The following error was generated when “$error.Clear();
$maxWait = New-TimeSpan -Minutes 8
$timeout = Get-Date;
$timeout = $timeout.Add($maxWait);
$currTime = Get-Date;
$successfullySetConfigDC = $false;while($currTime -le $timeout)
{
$setSharedCDCErrors = @();
try
{
Set-SharedConfigDC -DomainController $RoleDomainController -ErrorVariable setSharedCDCErrors -ErrorAction SilentlyContinue;
$successfullySetConfigDC = ($setSharedCDCErrors.Count -eq 0);

if($successfullySetConfigDC)
{
break;
}
Write-ExchangeSetupLog -Info (“An error ocurred while setting shared config DC. Error: ” + $setSharedCDCErrors[0]);
}
catch
{
Write-ExchangeSetupLog -Info (“An exception ocurred while setting shared config DC. Exception: ” + $_.Exception.Message);
}

Write-ExchangeSetupLog -Info (“Waiting 30 seconds before attempting again.”);
Start-Sleep -Seconds 30;
$currTime = Get-Date;
}

if( -not $successfullySetConfigDC)
{
Write-ExchangeSetupLog -Error “Unable to set shared config DC.”;
}
” was run: “Unable to set shared config DC.”.

This error is because you have IPV6 disabled on you network interface cards.We need to enable it again before starting the installation of Exchange 2013. To do so drop to the desktop in Server 2012. In the bottom right hand corner right click the little monitor and select Open Network and Sharing Center, then select Change Adapter Settings.Then select your network card by right clicking it and selecting properties.

make sure as you can see below that IPV6 is selected and enabled, once done reboot the server and Exchange 2013 will install correctley.