In SCCM 2012 I had issues when deploying the DP role to a Windows 7 x86 machine. When I checked the distmgr.log on the primary site server I saw:
CWmi::Connect() failed to connect to \\<<DPNAME>>\root\SCCMDP. Error = 0x800706BA
On the Windows 7 machine that I was trying to add the DP role to, the WMI Name space \root\SCCMDP did not exist.
After copying smsdpprov.mof from \Program Files\Microsoft Configuration Manager\bin\X64 I ran ‘mofcomp.exe smsdpprov.mof’ and this recreated the WMI name space and the DP role install continued.