Exchange 2013 – update CU 10 to CU 15 failed at 16 of 17 Steps

Exchange 2013 – update CU 10 to CU 15 failed at 16 of 17 Steps failed with the following error:

Error:
The following error was generated when “$error.Clear();
$dependentAssemblyGeneratorExePath = [System.IO.Path]::Combine($RoleInstallPath, “bin”, “DependentAssemblyGenerator.exe”);
$exchangeBinPath = [System.IO.Path]::Combine($RoleInstallPath, “bin”);
$frontEndPath = [System.IO.Path]::Combine($RoleInstallPath, “FrontEnd”);
$clientAccessPath = [System.IO.Path]::Combine($RoleInstallPath, “ClientAccess”);
$sharedWebConfig = [System.IO.Path]::Combine($RoleInstallPath, “FrontEnd”, “HttpProxy”, “SharedWebConfig.config”);

$a = &”$dependentAssemblyGeneratorExePath” -exchangePath “$exchangeBinPath” -exchangePath “$frontEndPath” -exchangePath “$clientAccessPath” -configFile “$sharedWebConfig”;
$a | % { if ($_.Length > 0) { Write-ExchangeSetupLog -Info “$_.ToString()” } }
Start-SetupProcess -Name “iisreset” -Args “/timeout:120”

Solution: I believe the IIS service didn’t stop fast enough which resulted in installation failure.  I manually stopped “IISADmin service” and re-ran the step and completed the upgrade successfully.