Overview
This article explains how to remotely set or update the integrated SureLock Administrator Password on managed Android devices using a Run Script Job in SureMDM.
Purpose
To provide administrators with a centralized method to change the SureLock Administrator Password on a single device or a group of devices without requiring physical access.
Scope
This article applies to:
- Android devices running SureLock.
- Devices managed through SureMDM.
- Administrators with access to create and deploy Run Script Jobs.
- Single-device and bulk-device password update scenarios.
Prerequisites
- SureLock must be installed and active on the target devices.
- Devices must be enrolled in SureMDM and online.
- Administrator access to the SureMDM Console.
- The integrated SureLock password feature must be enabled on the device.
Resolution Steps
Step 1: Create a Run Script Job
- Navigate to Jobs → New Job → Run Script.
- Enter a suitable Job Name.
Step 2: Insert the SureLock Password Command
- In the script editor, navigate to:
Generic → SureLock → Set Integrated SureLock Admin Password - Enter the desired SureLock Administrator Password.
- Click Insert.
The generated script will appear similar to:
!#Suremdm
UpdateIntegratedSLpassword(NewPassword)
Replace NewPassword with the password you want to configure.
Step 3: Save the Job
- Review the script.
- Click Save to create the Run Script Job.
Applying the Job
Apply to a Single Device
- Navigate to Devices.
- Select the target device.
- Click Apply Job.
- Select the newly created Run Script Job.
- Click Apply.
Apply to a Device Group
- Navigate to Device Groups.
- Select the desired device group.
- Click Apply Job.
- Select the Run Script Job.
- Click Apply.
Verification
- Wait for the job status to show Completed.
- On the target device, launch SureLock Administrator Settings.
- Enter the newly configured password.
- Verify that access is granted using the updated password.
Result
The SureLock Administrator Password is successfully updated on the selected device or group of devices through a remote Run Script Job.
Conclusion
Using the Set Integrated SureLock Admin Password Run Script action allows administrators to efficiently update SureLock passwords across managed devices from the SureMDM Console. This simplifies password management and ensures consistent security settings throughout the deployment.
Need more help? Here’s how to get help from our experts.