RVY200670: Known Issue: Zero-Touch Inventory task might initiate MSI repair on Windows devices

Affected versions: 

RayVentory Portal 11.X

RayVentory Scan Engine 12.X



When running a zero-touch Windows OS inventory, the scanner will query the WMI class "Win32_Product".

Microsoft has designed, that querying ”Win32_Product” initiates a consistency check of packages installed, verifying and repairing the install. For more information, see MSDN documentation.

If this standard behavior of the zero-touch inventory method might not be acceptable, you may decide to use the workaround described below.



In order to avoid this behavior, you need to exclude the class Win32_Product from the Windows zero-touch inventory scan.

Please keep in mind, that this workaround may not deliver a full list of every Windows Installer package (MSI) installed on your Windows devices.



1. Locate the file "example.xml" in you RVP or RVSE installation directory.
Make a copy of that file and use a different file name like "customscan.xml". You may change the file name as you like, just mind to change it accordingly, when referencing it in the RVP/RVSE settings.

2. Remove the folling line from your new "customscan.xml" file:

<Queries Mandatory="false" IsSoftware="true" WmiClass="Win32_Product" Namespace="\root\cimv2" Name="Name" />


If the file "example.xml" is not present then you can create one by running the command
'RemoteWmiInventory.exe example' 

on a command prompt in the RVP/RVSE installation directory.

3. Open the RVP/RVSE settings screen

4. Go to the tab Inventory->ZERO-TOUCH->WINDOWS and select the file "customscan.xml" for the setting in section 'Custom configuration' via the file browser.





Powered by Zendesk