RPC error remote Event Viewer/remote dcdiag

Hi All,

I am writing a code to perform active directory health check. When I perform dcdiag /s:<server name> /test:kccevent i get results for 80% of servers. While on few Domain controller it shows failed with RPC error. While the same test is passed locally. All  other results except FRSevent, KCCevent and DFSRevent are fine.

I want to be more prepared before i reach to the network guy to open port (135) for few sites where issue is occurring. Can you guys tell me the if anything else can cause this? 

Also if I will appreciate, any suggestion on any other important test result to be added here, except dcdiag?

Thanks - Alok


  • Edited by Alok-Sharma Friday, August 28, 2015 2:43 PM
August 28th, 2015 2:42pm

is this being ran from a domain admin account, system account, or another level account?
 Have you looked at the elevated part or the UAC part of the script that can affect this?
Free Windows Admin Tool Kit Click here and download it now
August 28th, 2015 3:14pm

Yes, It is being run using domain admin and elevated command prompt.
August 28th, 2015 3:25pm

Are you using Win RM?

Can you post the code/ script?

Free Windows Admin Tool Kit Click here and download it now
August 28th, 2015 3:38pm

Hello Alok,

Can you run the following command and provide the output.

REPADMIN /REPLSUM /Errorsonly

August 28th, 2015 5:09pm

No, I am using C# to get it.. it's LDAP
Free Windows Admin Tool Kit Click here and download it now
August 30th, 2015 9:54pm

Hi Alok-Sharma,

What's your operating system and the environment?

Could you please run DCDIAG.EXE /E (or /A or /C) and post the specific error message?

Please also refer to the following article to have a check.

https://technet.microsoft.com/en-us/library/Cc731968.aspx?f=255&MSPPError=-2147217396

https://support.microsoft.com/en-us/kb/2512643

Best Regards,

Mary Dong

August 31st, 2015 1:42am

No error, all smooth, maximum delta in 20 mins
Free Windows Admin Tool Kit Click here and download it now
August 31st, 2015 3:39am

Thi dong,  https://support.microsoft.com/en-us/kb/2512643 seems to be more related to what error i am getting.

I will make the required changes and post updates - thanks

August 31st, 2015 3:45am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics