MC Lockdown / Script shortcut

SH
steve halsberghe
phidata2023

Hi community

 

I would like to add a button on the lockdown to execute a script.

In the past I have used the lockdown command script://sdcard/script.cmd.

It was working good. Today, script:// command is not anymore listed in the option of the lockdown. What is the current option ? custom:// ?

The script must wipe the chrome cache. So I've used wipeapplication com.android.chrome.

When I manually execute the script it works BUT the entire lock down seems restaring, is it normal ?

18 days ago
SOTI MobiControl
ANSWERS
RS
Robert Schäfer
18 days ago

Custom:// is indeed the right option!

The fact the lockdown restarts is unexpected. Webview, which is what is used by the agend to render the lockdown is no longer part of chrome and so there should be no impact to the lockdown. 

In fact i just tested this using the latest android enterprise agent on a samsung 14 device, and the lockdown did not restart for me.

Perhaps you can confirm what Mobicontrol version, agent version, enrolment method (DO or DA) and device type you are using.

SH
steve halsberghe
17 days ago

Thx.

I'll test on a more recent device/os.

My current testing device is a TC52 running Android 10

K
KKMod
14 days ago

Hi Steve,

Thank you for posting your query on SOTI Pulse. Please let us know if you have tried implementing the solution provided by Robert.

Thankyou Robert, for your solution on this thread.