I came across the below error when I was distributing packages on one of the secondary site servers.
ERROR DPConnection::ConnectWMI() – Failed to connect to (servername). error = 0x8004100e SMS_DISTRIBUTION_MANAGER
( this is in distmgr.log)
This issue is because of wmi compatibility with IIS 6 and the solution I found was to add the IIS 6 WMI Compatibility service as shown in the below image. Hope this helps.