Failed to connect to WMI and DCOM errors

Not sure if I'm asking this in the correct place, but here we go.

We monitor dfs replication using a script that runs dfsrdiag, and it has been failing with "Failed to connect to WMI Services on computer %RemoteComputerName%", if you check the System event log, when this fails there is a DCOM error 10028 "DCOM was unable to communicate with the computer %RemoteComputerName% using any of the configured protocols; requested by PID 10c8 (C:\Windows\system32\dsfrdiag.exe)

The computer that the script is running on is a Server 2012 R2 DC/file server. It has no FSMO roles. The far end server is a 2008 R2 file server. Neither server can communicate in this manner with each other. They are able to ping each other (on different sites/subnets), Windows firewalls are disabled and all traffic is permitted across the hardware firewalls in place.

If I reboot the 2012 server, I am able to successfully run the dfsrdiag command for a short period before it starts failing again. Please can someone point me in the right direction to get this fixed, I've not yet found anything that will resolve this issue.

May 21st, 2015 4:38pm

Hi,

You mentioned that after the issue occurs, neither server can communicate with each other.

Please help check:

1. Whether the connection issue will occur if you do not run the DFSRdiag script - just wait for some time after rebooting Windows Server 2012 R2 and see if issue will occur with no any action.

2. It seems that the connection issue occurs on the Windows 2012 R2 side, but still, when the issue occurs, please use a third server/client to find out which server lost connection.

For further analysis you can capture some traces to compare the connection with and without the issue.

How to use Network Monitor

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

You can share the catpured packages with uploading to an online drive such as OneDrive.

Note: Please noticed that files will be shared to public.

Free Windows Admin Tool Kit Click here and download it now
May 24th, 2015 2:45am

Sorry, I've not been able to look at this until today. I've downloaded network monitor, but the link on how to use it doesn't correspond to the version I have (3.4). Not sure if I'm being dense (possibly), but could you clarify what traffic I need to be capturing?
June 8th, 2015 3:47pm

Hi,

please first finish the tests in my 2 questions in reply above. I would like to know if it is a network connection issue, and whether it is caused by the DFSRdiag script. Also please share the script with us if possible.  

Free Windows Admin Tool Kit Click here and download it now
June 10th, 2015 3:23am

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

Other recent topics Other recent topics