# Uninstall the Patch My PC Client

*Applies to: Patch My PC Client*

You can use the following methods to uninstall the Patch My PC (PMPC) Client:

* [Select specific Entra ID groups to uninstall the PMPC client from](#select-specific-entra-id-groups-to-uninstall-the-pmpc-client-from)
* [Create an Uninstall Deployment from the Intune admin center](#create-an-uninstall-deployment-from-the-intune-admin-center)

## Select specific Entra ID groups to uninstall the PMPC client from

To uninstall the Patch My PC (PMPC) Client you can select specific Entra ID groups to uninstall the client from.

{% hint style="danger" %}
**Important**

Deleting a device from Intune that has the PMPC Client installed will **NOT** uninstall the PMPC Client, meaning the device will still show in PMPC Reporting. The only way to uninstall the PMPC Client is to use one of the above methods.
{% endhint %}

To uninstall the PMPC Client from specific Entra ID groups:

1. Navigate to **Settings | Deploy Client**
2. Click the relevant **Uninstall Client** button.

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2Ffi9xFF9FEdgGjlvifs0V%2Fimage.png?alt=media&#x26;token=3851c2c3-4c8d-4ecb-b512-e37f16738747" alt="Clicking the relevant &#x27;Uninstall Client&#x27; button" width="563"><figcaption></figcaption></figure>

3. Select the relevant group.

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2Fp2n6UEJw4DXewqvoi1Au%2Fimage.png?alt=media&#x26;token=22228ccb-8cad-4c45-93b5-3f72025cae4e" alt=""><figcaption></figcaption></figure>

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

If a group is greyed out, it means the current Client deployment is targeted to that group, and must be cleared first from the (Install) deployment before it can be selected for Uninstall.
{% endhint %}

4. Add any additional Groups as required.
5. Click **Save**.

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2F4XdflwDsZIyyj42kbUbm%2Fimage.png?alt=media&#x26;token=758f77a5-4c7b-4b18-9048-bbf6a2c7a60a" alt="Clicking “Save” " width="563"><figcaption></figcaption></figure>

The **Deploy Client** page is displayed along with the **Success – Updated** notification.

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FzzsSn9fhCje2rwgxoRwz%2Fimage.png?alt=media&#x26;token=3594a76f-a504-4955-a3af-d2e9541d6e9e" alt="&#x27;Success | Updated&#x27; notification" width="563"><figcaption></figcaption></figure>

The Client will then be uninstalled from all the devices within the selected Entra ID Group(s).

## Create an Uninstall Deployment from the Intune admin center

You can create an uninstall deployment in the Intune admin center that has the command for uninstalling the PMPC Client configured in the **Uninstall Command** field:&#x20;

```
MSIExec.exe /x PatchMyPC.ClientInstaller.msi /qn
```

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FxGIA6yPV01vSB11lae7L%2Fimage.png?alt=media&#x26;token=ca557054-84b0-4d80-bcab-4e39069c7b27" alt="Configuring the uninstall command line for the PMPC Client" width="563"><figcaption></figcaption></figure>
