When you use System Center Operations Manager 2007 to monitor Microsoft Windows Server 2008 and above-based domain controller that has the OpsMgr Active Directory Management Pack installed, the OpsMgr Replication health monitoring may fail.
When this problem occurs, the Windows Server 2008 and above-based domain controller reports an error event back to the OpsMgr Management Server, and the following events appear in the Alerts pane of the OpsMgr Operations Console:
The script ‘AD Replication monitoring’ encountered a runtime error. Failed to determine whether the WMI replication provider is installed. The error returned was: ‘Invalid Parameter’ (0x80041008)
AD Remote Topology Discovery cannot determine whether the WMI Replication Provider is installed. The error returned was: ‘Invalid Parameter’ (0x80041008).
This problem occurs when the Replprov.dll file tries to access a pointer that is not valid. The Replprov.dll file is used by the OpsMgr Active Directory Management Pack to retrieve Active Directory replication-related information, including replication status. When this problem occurs, the Replprov.dll file cannot determine the replication status of the domain controller, and the error messages are generated.
For details on the WMI Replication Provider in the MOM context see: http://www.microsoft.com/technet/prodtechnol/mom/mom2005/maintain/dirmgmtpackmom_4.mspx