SCCM 2012 Distribution Installation failed with Error code 1722

Issue

A  Lot of time I have seen most of the user face an issue while installing the SCCM 2012 Distribution point and find the thee error 1722.
that is generally issue with WMI namespace. 

Solution

there is very simple solution to avoid the issue and resolve the headache. when you start the troubleshooting then find everything is fine WMI is working on server, IIS is installed and configured service account is having enough permission and computer account is member of local admin group then where is the problem.
don't be panic, just go to you SCCM site server and navigate the following link.

\SCCM Installation directory\Program Files\Microsoft Configuration Manager\bin\X64\smsdpprov.mof

copy this smsdppro.mof file to your DP server and run the following command

mofcomp.exe  smsdpprov.mof
**

when you run this command you will get the result like

and after when you see you distmgr.log file, your issue is  gone and DP is installed. **