Category filter
How to clear app data or cache on Android devices in bulk?
The Clear App Data remote action allows IT administrators to remotely wipe an application’s cached data and user configurations, restoring the app to its original installation state to improve device performance or resolve software malfunctions.
Why Remotely Clear App Data?
Over time, applications—especially web browsers—accumulate significant amounts of cached data that can degrade system performance and consume limited storage. Manually clearing this data across a fleet is time-consuming; Hexnode UEM automates this process to minimize employee downtime and maintain organizational productivity.
- Troubleshooting: Serves as the primary diagnostic step for malfunctioning or crashing applications.
- Performance Optimization: Frees up storage and system resources on endpoints.
- Data Reset: Resets the application state across multiple devices without physical access.
Prerequisites and Compatibility
Before initiating the action, ensure the target devices meet the following technical requirements:
| Requirement | Specification |
|---|---|
| Supported Platforms | Samsung Knox devices or Android Enterprise devices. |
| OS Version | Android 9.0 and above (for Android Enterprise). |
| App Privileges | Cannot clear data for apps with Device Admin privileges. |
| Storage Constraints | Data stored in external storage or non-app-specific folders cannot be cleared. |
Step-by-Step Guide: Executing Clear App Data
Administrators can perform this action in bulk for the entire fleet or individually for specific endpoints.
1. Bulk Deployment (Multiple Devices)
- Log in to the Hexnode portal and navigate to Manage > Devices.
- Select the target devices by checking the boxes adjacent to them.
- Go to Actions > Applications > Clear App Data.
- Select the required application(s) from the list and click Next.
- Specify the number of selected applications and click Clear Data.
2. Individual Device Summary Page
- Navigate to Manage > Devices.
- Click on a specific Device Name to open the Device Summary page.
- Navigate to the Applications sub-tab to view all installed apps.
- Identify the target app and click the Settings (gear icon) on the right.
- Choose Clear App Data from the drop-down list.
User Experience and Action Verification
- Device Status: Once the action is successfully pushed, the app data is wiped immediately. On the next launch, the application will open as a fresh installation.
- Portal Status: Administrators can verify the result by checking the Action History tab on the device’s summary page. A successful execution will be marked as Success.
Troubleshooting Guides
| Problem | Potential Root Cause | Resolution |
|---|---|---|
| Action fails on specific apps | The application has Device Admin privileges. | Revoke Device Admin privileges if possible, or manually clear data on the device if the app is essential. |
| Data persists after “Success” status | Data is stored in external storage or shared folders. | Hexnode can only clear data within the app’s primary sandbox. External or shared data must be cleared manually or via a file management script. |
| Action not appearing in the menu | Device is not enrolled in a supported mode. | Verify the device is either a Samsung Knox device or enrolled under Android Enterprise (Android 9.0+). |
| App crashes after clearing data | Corrupted app state during reset. | Perform a remote App Reinstall or Update action to restore the application’s binary integrity. |
Frequently Asked Questions (FAQs)
Does clearing app data uninstall the application?
No. The application remains installed on the device. However, all user-specific settings, accounts, and cached files are removed, making the app behave as if it were just installed.
Can the cache be cleared for system applications?
Yes, provided the system application does not hold Device Admin privileges and the device meets the platform requirements (Samsung Knox or Android Enterprise 9.0+).
Will this action delete files saved in the “Downloads” folder?
Typically, no. Files in the general “Downloads” folder are often considered external storage. Hexnode’s remote action targets the application’s internal data directory.
For how many apps can data be cleared at once?
In bulk mode, you can select multiple applications simultaneously after choosing the target devices under the Actions menu.