> 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-publisher/customizations/list-customizations/delete-desktop-shortcut.md).

# Delete Desktop Shortcut option in Patch My PC Publisher

*Applies to: Patch My PC Publisher V3.x*\
*Available at level: All Products, Vendor, Product*\
*Available on tab: WSUS Updates, ConfigMgr Apps, Intune Apps, Intune Updates*

The **Delete Desktop Shortcut** right-click option in Patch My PC (PMPC) Publisher automatically removes public desktop shortcuts created by an application installer. This applies only to shortcuts that are defined in the Patch My PC catalog for the product.

When enabled, Patch My PC ScriptRunner checks the public desktop location on the client device and deletes any shortcuts created by the installer that match the Patch My PC catalog definition.

When enabled at the **Product** level, the setting applies only to that specific application. No confirmation dialog is displayed.

When enabled at the **Vendor** level, such as Oracle, the setting applies to all supported products for that vendor.

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FR8xVNkMJueg66EWENpZZ%2Fimage.png?alt=media&amp;token=be47039f-9b59-4b9f-a1ed-8a634fa97896" alt="&#x27;Delete Desktop Shortcut&#x27; set at the Vendor level" width="375"><figcaption></figcaption></figure>

When enabled at the **All Vendors** level, the setting applies to all products that support deleting desktop shortcuts.

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2Ft2qsKKX8WEXb1eFBzswm%2Fimage.png?alt=media&amp;token=3b99a708-86fe-470f-870a-f296188e1ee6" alt="&#x27;Delete Desktop Shortcut&#x27; set at the &#x27;All Vendors&#x27; level" width="375"><figcaption></figcaption></figure>

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

Some applications create a desktop shortcut for the user the next time they sign in after an application or update is installed.

In these cases, Patch My PC ScriptRunner, which managed the installation, cannot remove the shortcut retroactively, as it was created outside the installation process.

If required, these shortcuts must be removed using a separate automation or cleanup mechanism.
{% endhint %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.patchmypc.com/patch-my-pc-publisher/customizations/list-customizations/delete-desktop-shortcut.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
