# Insights Custom Client Actions

*Applies to: Patch My PC Advanced Insights*

{% hint style="warning" %}
Advanced Insights must be granted the correct permissions to your SMS Provider for these actions to work. See [Configuration Manager Permissions](/patch-my-pc-insights/insights-configuration-manager-permission-requirements.md).
{% endhint %}

Clients with the Inventory Extensions MSI installed will support the use of our custom client actions:

<figure><img src="/files/s3EIxbhGlVk5KSDYzMuL" alt=""><figcaption></figcaption></figure>

### ⚙ Script Approval

If you see this message when using any of the custom client actions:

<figure><img src="/files/noky8MlkkNs8i4pPYLPW" alt=""><figcaption></figcaption></figure>

This means you have the "Additional Script Approver" setting enabled in ConfigMgr. To approve our script, please follow these steps:

<figure><img src="/files/Vzy7SwigVVXCOT1KeoOj" alt=""><figcaption></figcaption></figure>

1. Open your ConfigMgr Console
2. Go to Software Library > Scripts
3. Right click and approve the "Advanced Insights Client Actions" script

### Custom Action Descriptions

* Notify - Sends a message box to all users logged in on the client, this message includes the \
  ![](/files/GTElgvPy0MA0tddDR3kv)
* Install Updates - Installs all updates which are advertised to the device which are targeted as available or required. This is the same action as pressing Install All in the Software Center.
* Repair Client - Executes the ccmrepair.exe
* Clear CCM Cache - Clears all ccmcache items on the client (including persistent cache)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.patchmypc.com/patch-my-pc-insights/advanced-insights-inventory-extensions/insights-custom-client-actions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
