Skip navigation

The Windows Management Instrumentation (WMI) service is returning an error related to initialization of core parts. How can I resolve this error?

A. The full error that appears in the Event Viewer is

WinMgmt could not initialize the core parts. 
This could be due to a badly installed version of WinMgmt, WinMgmt repository upgrade failure, insufficient disk space or insufficient memory.

To resolve this error and recreate any missing or corrupt registry entries, perform the following steps:

  1. Start a command-line session.
  2. Unregister any WMI service (also known as WinMgmt) performance libraries by typing
    winmgmt /clearadap 
  3. Stop all running copies of the WMI service by typing
    winmgmt /kill 
  4. Unregister the WMI service by typing
    winmgmt /unregserver 
  5. Register the WMI service by typing
    winmgmt /regserver 
  6. Register any WMI service performance libraries by typing
    winmgmt /resyncperf

Learn more from "An Introduction to WMI" and"Scripting with WMI."

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish