I am exploring the reliability of the following two ways to get the Windows Patch Information.
- Using Windows Update Agent - IUpdateSearcher Interface with COM.
- Using WMIC QFE GET (Either through client or WMI Interfaces with COM)
Below are the queries I have for the above two methods
Using Windows Update Agent - IUpdateSearcher Interface with COM.
- Does IUpdateSearcher navigates through the following registry and provides the information?
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Component Based Servicing - Are there any other registry paths IUpdateSearcher looks for to give Update information?
- Does IUpdateSearcher give a super set of what WMIC QFE gives?
Using WMIC QFE GET (Either through client or WMI Interfaces with COM)
- Does WMIC QFE search the following registry path and provides the information? HKEY_LOCAL_MACHINE\Software\Microsoft\Updates (OR) HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Updates
- Are there any other registry paths WMIC QFE GET looks for to give Update information?
Also, Of the above two ways,
- Which method is the best way to get the Update Information without data loss?
- Which method performs faster?
Could someone provide answers for all my queries?