> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mspilot.io/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> MSPilot enrolls technician Windows machines and Apple Silicon Macs so Claude Desktop and ChatGPT run through one governed gateway. Seat words are standard seat and power seat. ConnectWise PSA import is not available. HIPAA is not a self-serve switch.

# Unenroll

> Remove enrollment and, if you want, Claude Desktop and ChatGPT from a Windows machine.

Open **Scripts** in the dashboard. Pick the client so the RMM option matches that client. Removal is Windows only. There is no macOS unenroll or uninstall script in Admin. To take a Mac's seat back, open the client's **Devices** tab and choose **Disable** on that row.

Disable any scheduled enrollment job first, or its next run will enroll the machine again. Disabling the device in MSPilot frees the seat. Run a removal installer when you also want the agent and apps off the machine.

## Choose a path

| Path | What you do |
| - | - |
| **Run through** the connected RMM | **Copy script**, paste it into a PowerShell job, run it as SYSTEM, and allow at least 300 seconds |
| **Run on a Windows device** | **Download** the `.exe`, double-click it, and choose **Yes** when Windows asks for permission |

If you prefer PowerShell (Run as Administrator) for a downloaded file:

```powershell theme={"system"}
& (Join-Path $HOME 'Downloads\mspilot-remove-device.exe')
```

Use the same pattern with `mspilot-unenroll.exe` or `mspilot-delete-all-ai-tools.exe` when you downloaded one of those instead.

The RMM copy is a short launcher. On every run it downloads the matching verified script from `https://downloads.mspilot.io/agent/<channel>/` and checks it against that channel's `SHA256SUMS`.

## What each file does

Use the combined action unless you need to keep the apps or keep enrollment.

| In **Scripts** | Download | What it does |
| - | - | - |
| **Unenroll and uninstall AI apps** | `mspilot-remove-device.exe` | Restores device settings, removes enrollment, then uninstalls Claude Desktop and ChatGPT |
| **Unenroll only** (under **Advanced: separate actions**) | `mspilot-unenroll.exe` | Restores device settings and removes enrollment. The apps remain installed |
| **Uninstall AI apps only** (under **Advanced: separate actions**) | `mspilot-delete-all-ai-tools.exe` | Removes Claude Desktop and ChatGPT. Device enrollment remains in place |

You can download a removal file without selecting a client. Select a client when you want the RMM copy path.

After unenroll, confirm the seat on the client's **Devices** tab. Choose **Disable** if the row is still using a seat.
