Purpose
This knowledge base (KB) article explains how to open the admin settings of SureFox and SureLock on an Android device using a script deployed through SureMDM.
When customers configure the maximum tapping count to prevent the admin password prompt from appearing on websites allowed in SureFox, accessing the admin settings manually can become inconvenient. Administrators can use a RunScript job in SureMDM to open the admin settings directly without manually performing the configured tapping sequence.
Prerequisites
- The Android device is enrolled in SureMDM.
- The device is online and successfully communicating with the SureMDM server.
- SureFox or SureLock is present on the device
- The administrator has the correct admin password for the respective application.
- The SureMDM administrator has permission to create and deploy RunScript jobs.
Steps:
- Log in to SureMDM Console
- Navigate to Jobs → Create New Job → Android.
- Select RunScript job.
- In the RunScript field, enter the following command:
SureFox:
Enter the following command in the RunScript field:
am broadcast -a com.gears42.surefox.COMMUNICATOR -e password 0000 -e command open_admin_settings -n com.gears42.surefox/com.gears42.surefox.service.SurefoxCommunicator
Note: Replace 0000 with the actual SureFox admin password configured on the device.
SureLock:
Enter the following command in the RunScript field:
am broadcast -a com.gears42.surelock.COMMUNICATOR -e password 0000 -e command open_admin_settings -n com.gears42.surelock/com.gears42.surelock.service.SureLockCommunicator
Note: Replace 0000 with the actual SureLock admin password configured on the device.
- Save the Job and Deploy
Conclusion
Using a RunScript job in SureMDM provides administrators with a convenient way to access SureFox or SureLock admin settings without manually performing the configured tapping sequence.
Need more help? Here’s how to get help from our experts.