Query Optimize Win32_Product without Side-Effects
Warning Win32Product is not query optimized. Queries such as "select * from Win32Product where (name like 'Sniffer%')" require WMI to use the MSI provider to enumerate all of the installed products and then parse the full list sequentially to handle the “where” clause. This process also initiates a consistency check of packages installed, verifying and repairing the install. With an account with only user privileges, as the user account may not have access to quite a few locations, may cause delay in application launch and an event 11708 stating an installation failure. For more information, see KB Article 794524.
Querying installed applications is basic.
This should be optimized without side-effects.