Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Working :

...

Troubleshooting:

The first step is to download the Microsoft WMIDiag Tool. It will analyze WMI and give you a report with any issues it finds. Unfortunately Microsoft has removed the WMIDiag tool so we can no longer use this tool.

When you run the downloaded .EXE it will ask you where to extract the files. Once extracted right click the WMIDiag VBScript and click Open with Command Prompt

...

Once finished check WMIMGMT.MSC to see if it is populating the Properties correctly.

...

Rebuild the WMI Repository

If needed we can fully rebuild the WMI Repository. We do not do this on any computer that is out of warranty and/or did not come from us. We can send these instructions to their IT techs.

These instructions came from

https://serverfault.com/questions/795583/wmic-os-alias-not-found

It bases this on a failed WMIDiag tool response but as the tool is no longer available we will presume that the WMI repository is not healthy or giving false healthy responses.

To fully rebuild the WMI Repository follow these steps:

  1. Disable and stop the winmgmt service

  2. Remove or rename C:\Windows\System32\wbem\repository

  3. Enable and start the winmgmt service

  4. Open a CMD prompt as Administrator

  5. In the CMD prompt Navigate to C:\Windows\System32\wbem\

  6. Run the following command:

    for /f %s in ('dir /b *.mof') do mofcomp %s

Note: This will take a minute or so to complete.

  1. Now run the command:

    for /f %s in ('dir /b en-us\*.mfl') do mofcomp en-us\%s

  2. Reboot the computer