You are currently offline, waiting for your internet to reconnect

VMM: "Needs Attention" host status after you rebuild the WMI repository

After you rebuild the WMI repository for a host that is running Windows Server 2012 or Windows Server 2012 R2, Microsoft System Center 2012 Virtual Machine Manager (SC 2012 R2 VMM) may report a Needs Attention status for the host. Also, host update jobs finish with error 2915 and with the hexadecimal code 0x80338000 while they are trying to connect to the following WMI resource:

An error similar to the following will be displayed in the VMM Admin Console:

Error (2915)The Windows Remote Management (WS-Management) service cannot process the request. The object was not found on the server ( URL: [], Verb: [GET], Resource: []Unknown error (0x80338000)Recommended ActionEnsure that the VMM agent is installed and running. If the error persists, restart the virtualization server ( and then try the operation again. 

Windows Server 2012 and Windows Server 2012 R2 have a known issue when they rebuild the WMI namespace. Specifically, both the removal MOF file and the installation MOF file are processed when the standard mofcomp command is issued to rebuild the WMI namespace. This can result in the installation MOF file being processed before the removal MOF file is processed. When this occurs, the WMI namespace is not present after the rebuild.
To resolve this issue use the following steps:

1. Open an elevated Command Prompt by right-clicking on the shortcut to Command Prompt and choosing Run As Administrator on the host computer.

2. Use the CD command to navigate to the %windir%\System32\Wbem directory.

3. Run the following command:

for /f %x in ('dir /b *.mof ^| findstr /v /i uninstall') do mofcomp %x
4. Return to the VMM Admin console and refresh the host computer.

These steps rebuild the WMI repository on the host. After the next host update in Virtual Machine Manager, the hosts should report that they are in the  Ready state.
More information
SCVMM 2012 VMM 2012 R2

Article ID: 2938227 - Last Review: 03/18/2015 03:18:00 - Revision: 4.0

Microsoft System Center 2012 R2 Virtual Machine Manager, Microsoft System Center 2012 Virtual Machine Manager

  • KB2938227
© 2016 Microsoft