Android app uninstall fails when ‘Uninstall apps’ restriction is enabledSolved

Participant
Discussion
1 month ago May 05, 2026

Hi everyone. I am currently trying to uninstall a problematic app from one of our managed Android devices through the Hexnode portal. However, the remote action keeps failing with this error message: App uninstallation failed. Please check whether ‘Uninstall apps’ under Android > Advanced Restrictions is enabled in the policies attached to this device.

The device in question does have a lockdown policy applied that blocks end-users from uninstalling apps locally. That part makes sense, but I fully expected an admin-initiated remote uninstall from Hexnode to bypass this, especially since the portal requires my admin password before executing the action.

Does the Android OS really treat an MDM-triggered uninstall exactly the same as a local user attempt? And if so, is there a way to force the uninstallation of this problematic app without having to completely remove the restriction from our global policy?

Replies (1)

Marked SolutionPending Review
Hexnode Expert
1 month ago May 05, 2026
Marked SolutionPending Review

Hello,

Thanks for reaching out to Hexnode Connect.

To answer your first question: Yes, Android treats the MDM-triggered uninstall exactly the same as a local attempt when that specific restriction is active.

The Uninstall apps restriction located under Android > Advanced Restrictions is enforced at the core operating system level. While Hexnode successfully authenticates your admin password and pushes the uninstall command to the device, the Android OS itself steps in and rejects the execution because the device-wide restriction is currently active. The password prompt in the portal authenticates your session for critical actions, but it does not override OS-level boundaries on the device itself.

To uninstall or reinstall an app on a device with this restriction, you will need to utilize the following workaround:

  1. Open the specific policy applied to the affected Android device.
  2. Navigate to Android > Advanced Restrictions.
  3. Temporarily disable the Uninstall apps restriction and save the policy.
  4. Allow the device a moment to sync and apply the updated policy.
  5. Run the Uninstall Application action from your Hexnode portal.
  6. Reinstall or redeploy the app as needed.
  7. Re-enable the Uninstall apps restriction in your policy to secure the device again.

If this policy is assigned to a large fleet of devices, we highly recommend performing this change during a scheduled maintenance window, or temporarily moving the affected device into a separate troubleshooting group with a relaxed policy to avoid exposing your entire fleet.

I hope this helps. If you find any more issues or need further assistance feel free to reach out.

Best regards,
George,
Hexnode UEM

Save