# Advanced Insights Inventory Extensions

*Applies to: Patch My PC Advanced and Patch Insights*

Several features of Advanced Insights (this is not relevant for Patch Insights) require the deployment of our Inventory Extensions. This process adds additional reports and functionality to Configuration Manager.

To setup the Inventory Extensions, there are **two** actions to complete:

***

## ⚙ Extend ConfigMgr's Hardware Inventory Schema

1. Navigate to the **Administration** > **Settings** page&#x20;
2. Select the **Advanced Insights Inventory Extensions** tab
3. Select whether to collect **Microsoft Update** Compliance Data [see here for more information](https://docs.patchmypc.com/patch-my-pc-insights/advanced-insights-and-microsoft-updates-inventory)
4. Click <mark style="color:green;">**Update Hardware Inventory via Advanced Insights**</mark>

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2Frcm3d0h5vTzKycKcvDx0%2FMicrosoftTeams-image%20(1).png?alt=media&#x26;token=de9a73bd-b298-40c3-9755-877a07b570a8" alt=""><figcaption><p>Advanced Insights Inventory Extensions</p></figcaption></figure>

***

### ⚙ Manual Steps to Extend Hardware Inventory Schema

{% hint style="warning" %}
Seeing this message suggests you need to configure [Configuration Manager Permissions](https://docs.patchmypc.com/patch-my-pc-insights/insights-configuration-manager-permission-requirements). We recommend configuring permissions instead of proceeding with a manual install.
{% endhint %}

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FhWbr7k0E0MllTlpTne3I%2Fimage002.png?alt=media&#x26;token=d411f1d2-c3af-494e-95b5-3d4bcdf83923" alt=""><figcaption></figcaption></figure>

{% file src="<https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2Fx8qIzYzvo03LMsMwqQcW%2FAdvancedInsights_SMS_DEF.mof?alt=media&token=85537cd8-82eb-4e7c-9ecc-a884782ffca1>" %}
For manual import of Inventory Extension Classes into Hardware Inventory
{% endfile %}

1. Download **AdvancedInsights\_SMS\_DEF.mof**
2. In the ConfigMgr Console, navigate to **Administration** > **Client Settings** > **Default Client Settings** > **Hardware Inventory** > **Set Classes...**
3. From this page click **Import...** and select the **AdvancedInsights\_SMS\_DEF.mof**
4. Tick/untick the imported Inventory Classes as required

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FNcNd8sHIZd3Fo3vVWibW%2Fimage.png?alt=media&#x26;token=324b9641-f833-4087-8dad-6c4a1c3958bb" alt=""><figcaption><p>Inventory Classes displayed In Hardware Inventory Client Settings</p></figcaption></figure>

***

## 💿 Deploy the Inventory Extensions MSI to clients

{% hint style="warning" %}
If you have previously deployed the "**PMPC Data Collection**" PowerShell Package, please ensure you delete its deployment before deploying the new **InventoryExtensions.msi**
{% endhint %}

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FLnsODgYocA7BK3hHc1xj%2Fimage.png?alt=media&#x26;token=d3c4203a-f72d-4a5e-855f-0ce342759ea9" alt=""><figcaption><p>ConfigMgr package "PMPC Data Collection (LEGACY)" to remove</p></figcaption></figure>

{% hint style="info" %}
After removing the deployment for the legacy PMPC Data Collection package, the **InventoryExtensions.msi** must be installed on clients you wish to collect inventory data from.
{% endhint %}

### Client-Side Requirements for the Inventory Extensions MSI

* Windows 10/11, Windows Server 2012 - 2022 (64-bit)
* .NET Framework 4.8

### To deploy the Advanced Insights Inventory Extensions from the Patch My PC Publisher

You can deploy the **Inventory Extensions** product via <mark style="color:green;">**Patch My PC Publishing Service**</mark>

1\. Open the Patch My PC Publisher, navigate to the ConfigMgr/Intune Apps tab and select **Patch My PC >** **Advanced Insights Inventory Extensions (MSI-x64)**

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FoREKpgFOJtU0yrjdzzAS%2Fimage.png?alt=media&#x26;token=279604bc-b24b-43f4-8491-c5cb3750d387" alt=""><figcaption><p>Advanced Insights Inventory Extensions app in the PMPC Publisher</p></figcaption></figure>

2\. To quickly sync this app to ConfigMgr/Intune without having to wait for all other selected apps and updates in the Publisher to evaluate and process, right click the **Advanced Insights Inventory Extensions (MSI-x64)** app and select **Publish this product during the next manual sync. (Selective sync).**

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FvOAwZFhSLM4u4cOSD3FX%2Fimage.png?alt=media&#x26;token=c9e18f40-885d-440f-9a5d-e7b3ceafe3af" alt="" width="375"><figcaption><p>Choose "Selective sync" to publish the MSI quickly to ConfigMgr</p></figcaption></figure>

3\. On the **Sync Schedule** tab, click **Run Publishing Service Sync.**

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2F2WoZesRhfhsCJv5yCIDI%2Fimage.png?alt=media&#x26;token=f3129915-043e-4d1d-82ee-a786a87d1bb5" alt="" width="375"><figcaption><p>Publisher Sync</p></figcaption></figure>

4\. Verify the **Inventory Extensions x.x.x.x (MSI-x64)** application was created and deploy it to your desired collection(s).

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FOCEyyxPO1BUqDdtOXUa5%2Fimage.png?alt=media&#x26;token=a2da7e82-851b-4d76-82e5-50a529c7e810" alt=""><figcaption><p>Inventory Extensions app created successfully</p></figcaption></figure>

{% hint style="info" %}
**Note**

We also recommend that you enable the Advanced Insights Inventory Extensions (MSI-x64) WSUS/Intune **UPDATE** to ensure your clients receive newer versions of the Inventory Extensions as they are released.
{% endhint %}

***

{% hint style="info" %}
**Note**

The Advanced Insights Inventory Extensions will add approximately 0.5 MB per-client to the Configuration Manager database. We recommend increasing the acceptable inventory file size from the default of 5MB to a minimum of 10MB.&#x20;

To do so, edit the below registry value on the ConfigMgr site server:

* **Registry key:** HKLM\Software\Microsoft\SMS\Components\SMS\_INVENTORY\_DATA\_LOADER
* **Registry value:** Max MIF Size&#x20;
* **Data:** 10485760 (decimal) / a00000 (hexadecimal)&#x20;
  {% endhint %}
