There are three ways to remove the mi.team agent from a Windows device: from Windows Settings, by running the uninstaller directly, or with a short PowerShell script. The first two suit a single device. The script suits IT teams and managed service providers (MSPs) who need to remove the agent remotely, for example through an RMM tool or Microsoft Intune.
This article covers each method, what happens to the device’s data afterwards, and how to stop a removed device from reappearing in your dashboard.
Before you uninstall
Uninstalling the agent stops new activity being collected from that device. It does not delete anything already held in mi.team. The device and its history stay in your dashboard until you delete them.
If you are removing mi.team because someone has left, or because a client is leaving your MSP, the correct order is:
- Uninstall the agent from the device.
- Delete the device (and the user, if needed) in mi.team.
Doing it in this order matters. If you delete a device while the agent is still installed, the device is recreated automatically the next time it comes online, and tracking starts again.
Method 1: Uninstall from Windows Settings
This is the simplest method for a single device.
- Open Settings and go to Apps, then Installed apps.
- Type mi.team in the search box.
- Click the … button on the right of the mi.team entry.
- Select Uninstall and follow the prompts.

On Windows 10, the same list is under Settings, Apps, Apps & features.
Method 2: Run the uninstaller directly
mi.team installs into the user’s own profile rather than into Program Files. The uninstaller sits in the same folder as the agent:
%APPDATA%\mi.team\mi.team.uninstaller.exe
On most devices this is C:\Users\<username>\AppData\Roaming\mi.team\.
To run it:
- Press Windows key + R to open the Run box.
- Paste
%APPDATA%\mi.teamand press Enter. - Double-click mi.team.uninstaller.exe and follow the prompts.

The AppData folder is hidden by default. Typing %APPDATA% into the Run box or the File Explorer address bar takes you straight there, so you do not need to show hidden files.
Because the agent is installed per user, the uninstaller must be run from the profile of the user it was installed for. If several people log in to the same device, each profile may have its own copy.
Method 3: Uninstall with PowerShell (RMM, Intune or remote)
The script below runs the uninstaller from the current user’s profile.
$relative_path = 'mi.team\mi.team.uninstaller.exe'
$uninstall_args = '' # e.g. '/S' to run silently
$path = Join-Path $env:APPDATA $relative_path
if (-not (Test-Path $path -PathType Leaf)) {
Write-Output "mi.team uninstaller not found at $path"
exit 1
}
try {
$params = @{ FilePath = $path; Wait = $true; PassThru = $true }
if ($uninstall_args) { $params.ArgumentList = $uninstall_args }
$proc = Start-Process @params
Write-Output "Exit code: $($proc.ExitCode)"
exit $proc.ExitCode
}
catch {
Write-Output "Failed to run ${path}: $($_.Exception.Message)"
exit 1
}
Run it as the logged-in user
The script looks in the current user’s %APPDATA% folder, so it must run as the user mi.team was installed for. If it runs as SYSTEM, which is the default in most RMM tools, it will look in the wrong place and report that the uninstaller was not found.
- RMM tools (SuperOps, NinjaRMM and others): add it as a PowerShell script and choose the option to run it as the logged-in or current user.
- Microsoft Intune: upload it under Devices, Scripts and remediations, and set Run this script using the logged on credentials to Yes.
- A single device: save it as
Uninstall-miteam.ps1and run it in PowerShell while signed in as that user.
The user needs to be signed in when the script runs. The script exits with code 1 if the uninstaller cannot be found or fails to start, and otherwise passes on the uninstaller’s own exit code, so your RMM tool can show which devices succeeded.
After you uninstall
Once the agent is removed:
- The device stops sending activity and will show as offline in mi.team.
- Everything collected before the uninstall stays in mi.team until you delete it.
- To remove the history as well, delete the device (and the user, if they have left) from the mi.team dashboard. Deleting is permanent and is restricted to accounts with the right role or permission.
If you are removing mi.team from several devices, for example when a client leaves, confirm that every device has gone offline before you delete anything. A device that is still online has not been uninstalled and will reappear after deletion.
Frequently asked questions
Do I need to delete the device after uninstalling?
Only if you want its history removed. Uninstalling stops collection; deleting removes the data. Always uninstall first, as a deleted device that is still running the agent is recreated automatically.
Why can I not find mi.team in Program Files?
mi.team installs into each user’s AppData folder, not Program Files. Look in %APPDATA%\mi.team.
Will uninstalling remove mi.team for every user on a shared device?
No. Each method removes mi.team for one user profile only. On a shared device, repeat the uninstall for each user who has mi.team installed.
Can I reinstall mi.team later?
Yes. Download the installer again from the Agent Download page and the device will enrol as normal. See How to Install mi.team Silently.