RPC Client Access Service keeps restarting in Exchange 2013
Let’s see how to address and issue where RPC Client Access Service keeps restarting on Exchange 2013 server with / without CU1.
Event log will show the below error:
The Microsoft Exchange RPC Client Access service terminated unexpectedly. It has done this 1 time(s). The following corrective action will be taken in 5000 milliseconds: Restart the service.
The service restarts by itself but it becomes annoying for the users because they will get an offline/online popup box in outlook.
This is an issue which occurs in only few environments and not in every environment so this might not occur in your environment.
There is no need of applying this fix until you face this issue.
Solution:
1. This can be fixed by adding the following registry key. Here are the steps:
- On windows 2008 à Click on start à Run or on windows 2012 open command prompt with run as administrator
- Type regedit and hit enter
-
Go to the following location
HKEY_LOCAL_MACHINESoftwarePoliciesMicrosoftWindows NT
- Right Click and select new Dword Value
- Type MinimumConnectionTimeout with the decimal value 120
- Close regedit and restart the server.
or
2. This can also be fixed by the below solution:
Change the log on account of MS Exchange RPC Client Access service from “system account” to “Netwotk Service” account.
or
3. Another fix for this issue is here:
Stop and Start the Microsoft Exchange Health Manager service.
Issue should get fixed. **use at your own risk**
Prabhat Nigam
Microsoft MVP | Exchange Server
Team @MSExchangeGuru
June 18th, 2013 at 6:08 am
HI I had this issue and I solved it by changing the MS Exchange RPC Client Access to log on using the system account instead on the NEtwotk Service account.
June 18th, 2013 at 10:16 am
Thank you Larry for the update. I have updated your fix in the document as well.
June 18th, 2013 at 7:48 pm
Neither of these fixes worked for me on a server with CU1 installed. Stopping the Microsoft Exchage Health Manager service stopped the crashes.
June 18th, 2013 at 8:51 pm
Thank you Scott for the update. I have updated this fix as well
July 20th, 2013 at 5:59 am
Can anyone confirm if this issue is fixed in CU2?
July 21st, 2013 at 12:48 am
@Marc
This issue is not hitting all setups so it might be tough to fix. Also you can see there are multiple fix for the same issue.
Anyways, as of now I have not heard any update from MS if they have it fixed in CU2. I will share as soon as I get any update.
August 12th, 2013 at 11:19 am
Prabhat,
Shouldn’t the registry path be “HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\RPC”?
Ivailo
August 14th, 2013 at 12:46 pm
Ivailo,
Have you got same issue fixed by that?
August 27th, 2013 at 9:20 am
2012 Server, Ex. 2013 CU1: +1 for stopping the exchange health manager service… it solved the issue instantly.
October 30th, 2013 at 12:31 pm
I done it didn’t work but stopping Exchange Health Manager resolved issue for me
October 30th, 2013 at 12:52 pm
@Dave and Pratheesh
Am I correct in saying 3rd solution worked for you?
December 19th, 2013 at 1:28 pm
Can anyone tell me exactly what the Health Manager Service does?
December 19th, 2013 at 1:42 pm
Hey Robert – Exchange 2013 introduced “managed availability process” which monitors the server and performs automated troubleshooting tasks if it finds an issue with any of the components. MA runs within the Microsoft Exchange Health Manager service. Play with Get-ServerComponentState –Identity ServerName to know about Server Components and its current state.
December 19th, 2013 at 1:44 pm
Gotcha,
So basically, the service thinks it found something wrong with RPC so it’s restarting the service altogether? That doesn’t bode well for everyone connected. Oh well, let’s hope this issue is handled when CU2 comes out. I can’t of much else to do and I’m bothered by the fact that I have manually stop a service that sounds like it will actually help things in the long run.
December 19th, 2013 at 1:47 pm
To be very honest with you, I’ve had several issues with MA in CU2 and earlier versions. After installing CU3 system is been stable for almost one week – 0 problems… apply it with confidence…
December 19th, 2013 at 1:56 pm
Awesome, thanks for the genuine experience sharing. I confidently do everything after taking vm snapshots!
March 12th, 2014 at 5:50 am
Hello,
In my case, stopping the exchange health manager service solved the issue, but i wasn`t so happy to stop an exchange service.
Last week I apply SP1 for Exchange. Before that, I start the exchange health manager service. Now everything works perfect.
Be careful!! In case you are using third-party or custom-developed transport agents (in my case Kaspersky 8 for Microsoft Exchange), after applying SP1 for Exchange, Microsoft Exchange Transport service will no longer start. To solve the issue you must apply the fix from MS KB2938053 http://support.microsoft.com/kb/2938053/en-us
Good luck!
March 12th, 2014 at 6:56 am
Thank you for sharing the update.
June 4th, 2014 at 11:39 am
Hello, I have a bit different issue where all my services are shutdown and reconnected at around the same time every day.
Application event 1002 msexchange Front End HTTP Proxy is found on the CAS server. It says Autodiscover,OAB,Web Services shutting down.
I tried disabling HM service , but the issue still occurs .Prabhat , do you think your fixes above will apply to me?
June 4th, 2014 at 2:08 pm
@Jovin
If you are on SP1 then this issue has been taken care.
I would need more info to see what is the issue. Managed availability might have restart app pools if they were being hung or got some issue.
Run Exbpa and review more logs. Also check the task manager.
June 6th, 2014 at 1:53 am
Hi Prabhat, I have disabled Health Manager service(Managed Availability) . So Autorecovery & responder should not function. Somehow it is not related to that. It is something else causing Application pool restarts. The information in the Client Access :-
Log Name: Application
Source: MSExchange Front End HTTP Proxy
Date: 06/06/14 8:28:08 AM
Event ID: 1002
Task Category: Core
Level: Information
Keywords: Classic
User: N/A
Computer: PRD-CAS-01.BANKING.QA
Description:
[Autodiscover] Application shutting down.
Event Xml:
1002
4
1
0x80000000000000
322847
Application
PRD-CAS-01.BANKING.QA
Autodiscover
The same events for OAB,EWS,EAS. Task manager shows everything is fine and this happens for less than a minute everyday . ExBPA only shows setting MaxUserPort to 60000 related to the problem.
June 6th, 2014 at 1:54 am
Forgot to add ,I’m on SP1
October 26th, 2015 at 7:56 pm
Been awhile since the last post, but…
I’ve run into this issue as well. MSE RPC Service stops and restarts every few minutes.
In Eventvwr: “Microsoft Exchange RPC service manager encountered an unexpected error while starting. Error details: The wait operation timed out (258)”
On Exchange 2013, CU9, Co-existence.
I’ve tried the three fixes suggested without success.
October 28th, 2015 at 4:19 pm
Guys, log your issue at
https://social.technet.microsoft.com/Forums/en-US/home?category=exchangeserver&filter=alltypes&sort=lastpostdesc
or open a ticket with Microsoft. if it is a bug then Microsoft issue then you should not be charged.
—–
Just verify after a restarting server with only Microsoft service (disable all 3rd part service and restart).
February 28th, 2017 at 12:07 am
third solution is helpful with my case