hotfixSymptoms

When using Microsoft System Center Operations Manager 2007 (SCOM 2007), DNS 2008 Component Discovery Fails on Windows Server 2008. Below events are logged in the Operations Manager Event Log on the DNS Server.

Event 1

Log Name: Operations Manager
Source: Health Service Script
Date: <Event Time>
Event ID: 1155
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: <Computer Name>
Description:
DNS2008ComponentDiscovery : Unable to open WMI \root\default:StdRegProv.

Event 2

Log Name: Operations Manager
Source: Health Service Modules
Date: <Event Time>
Event ID: 21405
Task Category: None
Level: Warning
Keywords: Classic
User: N/A
Computer: <Computer Name>
Description:
The process started at <Time> failed to create System.Discovery.Data, no errors detected in the output. The process exited with 0
Command executed: "C:\Windows\system32\cscript.exe" /nologo "DNS2008ComponentDiscovery.vbs" <Script Parameters>

Working Directory: <Monitoring Host Temporary Files Location>

One or more workflows were affected by this.

Workflow name: Microsoft.Windows.DNSServer.2008.Discovery.Components
Instance name: <Computer Name>
Instance ID: {<GUID>}
Management group: <Management Group Name>

If you connect to WMI \root\default:StdRegProv directly using Windows Management Instrumentation Tester with required privileges you should be able to connect.

Cause

The DNS2008ComponentDiscovery.vbs script could not connect to the WMI Class MicrosoftDNS_Zone due to an unavailable Property Value in the class.

Resolution

This can be resolved by recreating the WMI values for DNS by recompiling the DNS mof files:

1. On the DNS Server, Open Administrator Command Prompt and execute the following commands:

mofcomp C:\Windows\System32\wbem\dnsetw.mof

and

mofcomp C:\Windows\System32\wbem\dnsprov.mof

Above commands will recreate the DNS information in the WMI repository. Once this is done the errors should no longer appear.

More Information

For More Information on DNS Management Pack and DNS Component Discovery, please refer to DNS Management Pack Documentation.

=====

For the most current version of this article please see the following:

2589504 : DNS2008ComponentDiscovery Fails with Event ID 1155 in System Center Operations Manager 2007

J.C. Hornbeck | System Center Knowledge Engineer

App-V Team blog: http://blogs.technet.com/appv/
AVIcode Team blog: http://blogs.technet.com/b/avicode
ConfigMgr Support Team blog: http://blogs.technet.com/configurationmgr/
DPM Team blog: http://blogs.technet.com/dpm/
MED-V Team blog: http://blogs.technet.com/medv/
OOB Support Team blog: http://blogs.technet.com/oob/
Opalis Team blog: http://blogs.technet.com/opalis
Orchestrator Support Team blog: http://blogs.technet.com/b/orchestrator/
OpsMgr Support Team blog: http://blogs.technet.com/operationsmgr/
SCMDM Support Team blog: http://blogs.technet.com/mdm/
SCVMM Team blog: http://blogs.technet.com/scvmm
Server App-V Team blog: http://blogs.technet.com/b/serverappv
Service Manager Team blog: http://blogs.technet.com/b/servicemanager
System Center Essentials Team blog: http://blogs.technet.com/b/systemcenteressentials
WSUS Support Team blog: http://blogs.technet.com/sus/

clip_image001 clip_image002