# How to uninstall MDM agent from the managed Android device? Last updated: July 24, 2026 This guide explains how to uninstall the MDM agent from a managed Android device, including Samsung Knox devices: disabling Device Administrator under Settings > Security, then uninstalling the ManageEngine Mobile Device Manager Plus app under Applications. It also notes that if the device was unmanaged while the agent app was hidden, connectivity issues may require unhiding the app first before it can be removed. ## Description This document will explain the steps involved in uninstalling the agent from managed Android devices. Before uninstallation, it is recommended to understand the benefits of [Self Service app (previously ME MDM app) for Android](https://www.manageengine.com/mobile-device-management/android-management.html) and the need to [install the MDM agent](https://www.manageengine.com/mobile-device-management/mdm-benefits-of-installing-me-mdm-app.html) on Android devices, including [Samsung Knox](https://www.manageengine.com/mobile-device-management/samsung-knox-management.html) devices. ## Steps You can uninstall the MDM agent from the managed Android devices by following the steps mentioned below: 1. On the managed mobile device, go to **Settings**. 2. Navigate to **Security**. 3. Select **Device Administrator** and disable it. 4. Under **Settings**, go to **Applications**. 5. Select **ManageEngine Mobile Device Manager Plus** and **Uninstall** the MDM agent. In case the device is unmanaged from MDM server when agent app is hidden on the device, you will be unable to uninstall MDM agent from the device using the steps given above if there are connectivity issues. To avoid this, you can unhide the app and then remove it as [explained here](https://www.manageengine.com/mobile-device-management/help/enrollment/customize_me_mdm_app.html#Hiding_ME_MDM_App_on_device). ### Additional Resources - [More information on the ME MDM agent as the MCM client](https://www.manageengine.com/mobile-device-management/mobile-content-management.html?ua#secure) - [How to restrict users from performing a factory reset on devices managed by MDM?](https://www.manageengine.com/mobile-device-management/how-to/mdm-prevent-factory-reset-android.html?ua) - [How to remove devices enrolled into MDM using Samsung Knox Mobile Enrollment?](https://www.manageengine.com/mobile-device-management/help/enrollment/knox_mobile_device_management.html?ua#remove) ## Frequently asked questions ### How do I remove the MDM agent from a managed Android device? On the device, go to Settings > Security > Device Administrator and disable it, then go to Settings > Applications, select ManageEngine Mobile Device Manager Plus, and uninstall it. ### I can't uninstall the agent after unmanaging the device - why? If the device was unmanaged from the MDM server while the agent app was hidden, connectivity issues can block a normal uninstall. Unhide the app first, then remove it using the same Settings > Applications steps. ### Does this uninstall process work on Samsung Knox devices too? Yes, the same Device Administrator and Applications uninstall steps apply to Android devices, including those managed as Samsung Knox devices. ### Do I need to disable Device Administrator before uninstalling the app? Yes - the app can't be uninstalled while it's still set as Device Administrator, so that must be disabled under Settings > Security first.