Disabled the Group Policy which was set to set the execution policy to Unrestricted.
Ran the setup again and this time got the new error:
C:\Software\CU3>setup /Mode:Upgrade /IAcceptExchangeServerLicenseTerms
Welcome to Microsoft Exchange Server 2013 Cumulative Update 3 Unattended Setup
Copying Files...
File copy complete. Setup will now collect additional information needed for
installation.
Languages
Mailbox role: Transport service
Client Access role: Front End Transport service
Mailbox role: Client Access service
Mailbox role: Unified Messaging service
Mailbox role: Mailbox service
Management tools
Client Access role: Client Access Front End service
Performing Microsoft Exchange Server Prerequisite Check
Configuring Prerequisites COMPLETED
Prerequisite Analysis
COMPLETED
Configuring Microsoft Exchange Server
Preparing Setup
COMPLETED
Stopping Services
COMPLETED
Preparing Files
COMPLETED
Copying Exchange Files COMPLETED
Language Files
COMPLETED
Restoring Services
COMPLETED
Language Configuration COMPLETED
Mailbox role: Transport service FAILED
An unexpected error has occurred and a Watson dump is being generated: The foll
owing error was generated when "$error.Clear();
if ($RoleProductPlatform -eq "amd64")
{
$fastInstallConfigPath = Join-Path -Path $RoleBinPath -ChildPath
"Search\Ceres\Installer";
$command = Join-Path -Path $fastInstallConfigPath -ChildPath "In
stallConfig.ps1";
$dataFolderPath = Join-Path -Path $RoleBinPath -ChildPath "Searc
h\Ceres\HostController\Data";
# Remove previous SearchFoundation configuration
&$command -action u -silent;
try
{
if ([System.IO.Directory]::Exists($dataFolderPath))
{
[System.IO.Directory]::Delete($dataFolderPath, $true);
}
}
catch
{
$deleteErrorMsg = "Failure cleaning up SearchFoundation Data
folder. - " + $dataFolderPath + " - " + $_.Exception.Message;
Write-ExchangeSetupLog -Error $deleteErrorMsg;
}
# Re-add the SearchFoundation configuration
try
{
# the BasePort value MUST be kept in sync with dev\Search\sr
c\OperatorSchema\SearchConfig.cs
&$command -action i -baseport 3800 -dataFolder $dataFolderPa
th -silent;
}
catch
{
$errorMsg = "Failure configuring SearchFoundation through in
stallconfig.ps1 - " + $_.Exception.Message;
Write-ExchangeSetupLog -Error $errorMsg;
# Clean up the failed configuration attempt.
&$command -action u -silent;
try
{
if ([System.IO.Directory]::Exists($dataFolderPath))
{
[System.IO.Directory]::Delete($dataFolderPath, $true
);
}
}
catch
{
$deleteErrorMsg = "Failure cleaning up SearchFoundation
Data folder. - " + $dataFolderPath + " - " + $_.Exception.Message;
Write-ExchangeSetupLog -Error $deleteErrorMsg;
}
}
}
" was run: "Error occurred while uninstalling Search Foundation for Exch
ange.System.Exception: Cannot determine the product name registry subkey, neithe
r the 'RegistryProductName' application setting nor the 'CERES_REGISTRY_PRODUCT_
NAME' environment variable was set
at Microsoft.Ceres.Common.Utils.Registry.RegistryUtils.get_ProductKeyName()
at Microsoft.Ceres.Exchange.PostSetup.DeploymentManager.DeleteDataDirectory()
at Microsoft.Ceres.Exchange.PostSetup.DeploymentManager.Uninstall(String inst
allDirectory, String logFile)
at CallSite.Target(Closure , CallSite , Type , Object , Object )".
The following error was generated when "$error.Clear();
if ($RoleProductPlatform -eq "amd64")
{
$fastInstallConfigPath = Join-Path -Path $RoleBinPath -ChildPath
"Search\Ceres\Installer";
$command = Join-Path -Path $fastInstallConfigPath -ChildPath "In
stallConfig.ps1";
$dataFolderPath = Join-Path -Path $RoleBinPath -ChildPath "Searc
h\Ceres\HostController\Data";
# Remove previous SearchFoundation configuration
&$command -action u -silent;
try
{
if ([System.IO.Directory]::Exists($dataFolderPath))
{
[System.IO.Directory]::Delete($dataFolderPath, $true);
}
}
catch
{
$deleteErrorMsg = "Failure cleaning up SearchFoundation Data
folder. - " + $dataFolderPath + " - " + $_.Exception.Message;
Write-ExchangeSetupLog -Error $deleteErrorMsg;
}
# Re-add the SearchFoundation configuration
try
{
# the BasePort value MUST be kept in sync with dev\Search\sr
c\OperatorSchema\SearchConfig.cs
&$command -action i -baseport 3800 -dataFolder $dataFolderPa
th -silent;
}
catch
{
$errorMsg = "Failure configuring SearchFoundation through in
stallconfig.ps1 - " + $_.Exception.Message;
Write-ExchangeSetupLog -Error $errorMsg;
# Clean up the failed configuration attempt.
&$command -action u -silent;
try
{
if ([System.IO.Directory]::Exists($dataFolderPath))
{
[System.IO.Directory]::Delete($dataFolderPath, $true
);
}
}
catch
{
$deleteErrorMsg = "Failure cleaning up SearchFoundation
Data folder. - " + $dataFolderPath + " - " + $_.Exception.Message;
Write-ExchangeSetupLog -Error $deleteErrorMsg;
}
}
}
" was run: "Error occurred while uninstalling Search Foundation for Exch
ange.System.Exception: Cannot determine the product name registry subkey, neithe
r the 'RegistryProductName' application setting nor the 'CERES_REGISTRY_PRODUCT_
NAME' environment variable was set
at Microsoft.Ceres.Common.Utils.Registry.RegistryUtils.get_ProductKeyName()
at Microsoft.Ceres.Exchange.PostSetup.DeploymentManager.DeleteDataDirectory()
at Microsoft.Ceres.Exchange.PostSetup.DeploymentManager.Uninstall(String inst
allDirectory, String logFile)
at CallSite.Target(Closure , CallSite , Type , Object , Object )".
The Exchange Server setup operation didn't complete. More details can be found
in ExchangeSetup.log located in the <SystemDrive>:\ExchangeSetupLogs folder.
C:\Software\CU3>
The new Exchange Setup log is uploaded here:
https://onedrive.live.com/redir?resid=F3743C55DC76B1EE!1099&authkey=!AL40dKaAzl-_trc&ithint=folder%2c.log