Avatar of dtwild
dtwild asked on

Error while installing Exchange 2013 CU3

When I try to install Exchange 2013 CU3 I receive the below error.

I try to install the error as I read about a fix in relation to an RPC error, that cause my Outlook clients to disconnect every now and then from the Exchange server. Unfortunately I can not apply the update due to the below error.

Is there anyone who has seen this before?

The environment is Windows Server 2012 in combination with Microsoft Exchange 2013.

Error:
The following error was generated when "$error.Clear();  
          try
          {
            $Target = $env:COMPUTERNAME
            try
            {
              $exSrv = get-ExchangeServer $Target -ErrorAction SilentlyContinue
            }
            catch
            {
              Write-ExchangeSetupLog -Warning "Unable to set monitoring and server state to inactive.  Setup will continue.";
            }

            if ($exSrv -eq $null)
            {
              Write-ExchangeSetupLog -Warning "$Target is not an Exchange Server. Unable to set monitoring and server state to inactive.  Setup will continue.";
              return
            }

            Set-ServerComponentState $Target -Component Monitoring -Requester Functional -State Inactive
            Write-ExchangeSetupLog -Info "Monitoring has been set to Inactive while setup is running."

            Set-ServerComponentState $Target -Component RecoveryActionsEnabled -Requester Functional -State Inactive
            Write-ExchangeSetupLog -Info "RecoveryActionsEnabled has been set to Inactive while setup is running."

            Set-ServerComponentState $Target -Component ServerWideOffline -Requester Functional -State InActive
            Write-ExchangeSetupLog -Info "The server state has been set to Inactive while setup is running."

            if (Get-Service | where { $_.Name -eq "MSExchangeTransport" })
            {
              stop-SetupService -ServiceName MSExchangeTransport
              Write-ExchangeSetupLog -Info "The hub transport service was stopped while setup is running."
            }

            if (Get-Service | where { $_.Name -eq "MSExchangeFrontendTransport" })
            {
              stop-SetupService -ServiceName MSExchangeFrontendTransport
              Write-ExchangeSetupLog -Info "The frontend transport service was stopped while setup is running."
            }
          }
          catch
          {
            Write-ExchangeSetupLog -Warning "Unable to set monitoring and server state to inactive.  Setup can not continue.";
            throw;
          }
        " was run: "Service 'MSExchangeTransport' failed to stop due to error:'Cannot stop MSExchangeTransport service on computer '.'.'.".
Microsoft Legacy OSExchange

Avatar of undefined
Last Comment
dtwild

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Joseph Nyaema

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
NetoMeter Screencasts

Did you try to restart the server, make sure that all requires services are running (Test-ServiceHealth in EMS), and then install CU3?

You can speed up the CU3 installation if you open Internet Eplorer/Advanced settings and uncheck the option "Check for Publisher's Certificate Revocation".
ASKER
dtwild

I killed the process and then installed the CU for MS Exchange.
I didn't like to do this, as I read about updates that crashed, however it went good here.

thanks
Your help has saved me hundreds of hours of internet surfing.
fblack61