1. Home
  2. SureLock
  3. SureLock Android
  4. How to uninstall Surelock from devices using SureMDM
  1. Home
  2. SureMDM
  3. How to uninstall Surelock from devices using SureMDM

How to uninstall Surelock from devices using SureMDM

KB ID: 42G2012098
Views: 2202
Updated: March 2022

It sometimes gets necessary to uninstall SureLock on the device if there has some problem with the functioning of the device or if the device is broken.

Below are the steps to properly remove SureLock on the device remotely using SureMDM. 

a. Ensure the device is online on SureMDM and deactivate the SureLock license on the device.

b. Exit SureLock on the device.

c. Uninstall SureLock on the device.

Steps: 

1. Log into SureMDM

2. Create a Run script jobs in the SureMDM web console with the below commands.

a. Deactivate SureLock License using the below command

am broadcast -a com.gears42.surelock.COMMUNICATOR -n com.gears42.surelock/com.gears42.surelock.service.SureLockCommunicator -e "command" "deactivate" -e "password" "PASSWORD" com.gears42.surelock

Note: Replace PASSWORD in the above command with the actual password of the SureLock.

For example: am broadcast -a com.gears42.surelock.COMMUNICATOR -e password 0000 -e command exit_surelock
Here, 0000 is the password of SureLock.

b. Exit from SureLock using the below command.

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

Note: Replace PASSWORD in the above command with the actual password of the SureLock.

For example: am broadcast -a com.gears42.surelock.COMMUNICATOR -e password 0000 -e command exit_surelock
Here, 0000 is the password of SureLock.

c. Uninstall SureLock using the below command.

!#suremdm
uninstall(com.gears42.surelock)

Admin can also create a composite job with the jobs mentioned above and push it on the device. This will de-activate and uninstall SureLock from the device.

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

Related Articles