Hello AskPerf! Michael Smith here with a quick post on what can cause Win32_QuickFixEngineering to return "No Instances Available". A captured Procmon log while running WMIC QFE or Enumerating Instances with WBEMTEST might reveal something similar to the below picture:
Here it appears that WMI calls into the Servicing stack to get information about installed updates, which makes sense. So what happened? We can see TrustedInstaller could not find the mum file for KB2618444 and it started writing to the CBS.log. Since this seems to indicate a problem with Servicing we should run the System Update Readiness Tool, aka CheckSUR, and check the following logs:
NOTE Sometimes simply running CheckSUR can resolve some of servicing issues it detects. In this particular case, CheckSUR could not find the mum files either.
Let's take a look at the CheckSUR.persist.log below:
Checking System Update Readiness.
Binary Version 6.1.7601.21645
Package Version 14.0
Checking Windows Servicing Packages
Checking Package Manifests and Catalogs
Checking Package Watchlist
Checking Component Watchlist
(f) CBS MUM Missing 0x00000002 servicing\Packages\Package_for_KB2618444~31bf3856ad364e35~amd64~~188.8.131.52.mum
(f) CBS MUM Missing 0x00000002 servicing\Packages\Package_for_KB2618451_RTM~31bf3856ad364e35~amd64~~184.108.40.206.mum
Checking Component Store
Seconds executed: 169
Found 2 errors
CBS MUM Missing Total count: 2
Unavailable repair files:
Here we can see that CheckSUR could not find these two mum files. So what do we do now? Fortunately, my colleague Joseph Conway, has a great blog on how to troubleshoot this issue. All we need to do is manually download the updates for KB2618444 and KB2618451 and copy the .msu files over to “%windir%\CheckSUR\Packages” (you will need to create this directory) and then run CheckSUR again which will take care of the rest!
After repairing the Servicing issue, WMI was able to return instances from Win32_QuickFixEngineering:
C:\>wmic path win32_quickfixengineering get HotFixID,InstalledOn /format:list
… (Truncated for brevity)
Hope you enjoyed this two minute drill.