1. Home
  2. How to switch between Standalone SureLock and SureLock integrated with SureMDM agent on Android devices.

How to switch between Standalone SureLock and SureLock integrated with SureMDM agent on Android devices.

KB ID: 42G2103144
Views: 393
Updated: August 2021

42Gears has recently introduced an option in the SureMDM agent, using which you can enable SureLock on the devices even when the devices don’t have the SureLock application downloaded on the devices. 

Apart from this, there are many other scenarios where an admin would like to switch from Standalone SureLock to the SureLock Integrated with SureMDM agent. 

Below is a set of steps to do this. 

1. Deactivate standalone SureLock on the device. 

  • Log into SureMDM.
  • Create a run script job with the below command and push it on the device(s)
am broadcast -a com.gears42.surelock.COMMUNICATOR -n com.gears42.surelock/com.gears42.surelock.service.SureLockCommunicator -e "command" "deactivate" -e "password" "0000" com.gears42.surelock

2. Exit Standalone SureLock on the device. 

  • Log into SureMDM.
  • Create a run script job with the below command and push it on the device(s)
am broadcast -a com.gears42.surelock.COMMUNICATOR -n com.gears42.surelock/com.gears42.surelock.service.SureLockCommunicator -e "password" "0000" -e "command" "exit_surelock" com.gears42.surelock

3. Launch SureLock integrated with SureMDM agent.

  • Log into SureMDM.
  • Create a run script job with the below command and push it on the device(s). Click here for details.
    !#suremdm DisableIntegratedSureLock(false)

4. Configure the SureLock integrated with the SureMDM agent.

  • Log into SureMDM.
  • Click Jobs > New Job.
  • On the Select Operating System screen, select Android.
  • Select SureLock Settings and configure the settings.
  • Once done, push it on the device(s)

You can also gather the SureLock settings from standalone SureLock and push it in Step 4.

Admin can also create a composite job will the above jobs and push it to the device to configure the devices faster.

For more details on our products, click here 
If you need further assistance, please submit a ticket here