> For the complete documentation index, see [llms.txt](https://docs.patchmypc.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.patchmypc.com/patch-my-pc-insights/advanced-insights-inventory-extensions/insights-custom-client-actions.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
