Skip to main content

Uninstalling the Swif Agent and MDM Profile

Updated today

You can remove the Swif Agent and unenroll a device directly from the Swif Admin Console.


Once unenrolled, all applied security policies, compliance checks, and configurations are automatically revoked.

This article explains how to uninstall or unenroll devices managed by Swif.ai across Windows, macOS, Linux, Android, and iOS/iPadOS.


How to Uninstall from the Swif Console

  1. Go to the Swif Admin Panel → Devices.

  2. Locate and select the device you wish to remove.

  3. Click the action menu (⋮) on the right and select Manage device.

  4. On the device details page, click Manage in the top-right corner.

  5. Choose Remove Swif Agent to start the unenrollment process.

  6. If you don't want to archive the device, you can select "No"

  7. Type "Confirm" to continue the unenrollment.

  8. The unenrollment will not be immediate until the device is online

  9. You can also delete the device after unenrollment.

Swif will automatically queue the uninstall command for the selected device.
Once the device is online, the agent and MDM profile are removed in the background.


Platform Behavior

Windows

Swif automatically handles uninstall and unenrollment—no user action is required.

  • If the device is in a logged-out state:
    The unenrollment will run in the background. The Swif agent service executes the uninstall even without a user session.

  • If the device is in sleep mode:
    The unenrollment will start automatically once the device wakes up and remove all MDM configurations.

  • Swif.ai agent is deleted from C:\Program Files\Swifteam.

This ensures that unenrollment completes even when devices are idle or disconnected.


macOS

When triggered from the Swif console, the uninstall command removes both the Swif Agent and the MDM profile from the Mac.


Once processed, the device automatically unenrolls and all applied configurations revert to default.

If the device is erased afterward, it will automatically rejoin management if assigned under Apple Business Manager.


Linux

Swif automatically removes the Linux agent and related background services once the uninstall command is received.


Unenrollment occurs silently in the background—no terminal command or user action is needed.


Android

When an Android device is unenrolled via the Swif console:

  • The Swif MDM profile and Android Enterprise management link are automatically revoked.

  • Device policies and configurations (password, network, and app restrictions) are cleared.

  • For full management (non BYOD), the device will be wiped.


iOS / iPadOS

When an iOS/iPadOS device is unenrolled via the Swif console:

  • The Remove Swif Agent action in the console triggers MDM profile removal.

  • Device configurations, restrictions, and installed profiles are automatically deleted.

  • Once unenrolled, the device will appear as “Unenrolled” in the Swif dashboard.

Supervised Devices:
For supervised iPhones and iPads, unenrollment removes MDM profiles but preserves user data.


If the device is erased afterward, it will automatically rejoin management if assigned under Apple Business Manager.


After Uninstall

  • Device status updates to Unenrolled in the Swif dashboard.

  • All security, compliance, and configuration policies are revoked.

  • The uninstall and unenrollment history can be viewed under Device → History → Actions.


Troubleshooting and Verification

1. Check Command Status in Swif Console

  • Go to Devices → [Device Name] → Commands.

  • Verify that the “Remove Swif Agent” command shows Completed.

  • If the status shows Pending, the device may be offline or asleep — it will complete once the device reconnects.


2. Verify Device Unenrollment

Platform

How to Verify

Windows

Open Settings → Accounts → Access work or school. The Swif MDM connection should no longer be listed.

macOS

Open System Settings → Profiles (or Device Management). The Swif profile should no longer appear.

Linux

Run sudo systemctl status swif-agent. It should return inactive (dead) or unit not found.

Android

Go to Settings → Security → Device Admin Apps. Swif should not be listed as an active admin app.

iOS/iPadOS

Go to Settings → General → VPN & Device Management. The Swif profile should be removed.


3. Common Issues

Issue

Possible Cause

Resolution

Device still shows as "Managed"

Device was offline when the command was sent

The uninstall will process once the device reconnects to the internet.

“Remove Swif Agent” command fails

Agent service was stopped or corrupted

Restart the device and retry the uninstall from the Swif console.

Uninstall is stuck in “Pending”

Device is in sleep or hibernation mode

The command will complete automatically once the device wakes.

Android app not removed

Device not enrolled via Android Enterprise

Ask the user to uninstall the Swif app manually from device settings.


Tip:
If a device fails to unenroll after multiple attempts, contact Swif.ai Support with the device serial number and recent action log for manual cleanup assistance.

Did this answer your question?