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.
Here is the reference for 'How to Configure Windows Server 2008 for Configuration Manager 2007 Site Systems'