Out of Contact - Disable Device

CV
Connor Vernon
Southern Cross Care Tasmania Group

How do I go around using a script in hand with the out of contact profile that completely disables/locks the device until connected again?

I have had help via support team and they suggested using geolocking, and when device exits the geofence use the command:

mobicontrol.lockdown.enable
But that does not work. I believe I have to configure the lockdown before running that command? As there is no reference for the command to go refer to regarding the lockdown.cmd.

My devices are 2019 Galaxy Tab A's.

2 years ago
SOTI MobiControl
ANSWERS
RS
Rafael Schäfer
2 years ago

try following: (only works if a lockdownprofile is installed on the device):

;When connecting/default state
notify kiosk off ;turns off the lockdown
 
;When ooc takes place
notify kiosk on  ;turns on the lockdown
CV
Connor Vernon
2 years ago

Hi Rafael,

Thank you for your reply - please see my reply to GPMOD for further elaboration.

G
GPMOD@SOTI
2 years ago

Hi Connor, 

Thank you for posting on SOTI PULSE and thanks Rafael for responding the to the post. 

Can you please make me understand the use case scenario of this request, so I can assist you better.  


Please let me know. 

Thank you. 

Kind regards, 

Technical Support | SOTI Inc. | 1.905.624.9828 | support@soti.net | www.soti.net |

CV
Connor Vernon
2 years ago

Hi all, thanks for the replies, apologies for the ambiguity with my original question!

I am running a lockdown profile for my devices when they are online, as they are to be strictly only to be used for a few applications, and have custom backgrounds to ensure that they are used for their role by staff, and in their designated areas.

To elaborate on my question - I am trying to figure out if there is a feature to disable (or lock, requiring a password to access) the device when it is out of contact (such as, a staff member takes the device home).

Is the only way going about this is to not use the lockdown feature when connected, rather when OOC takes place, and have the lockdown empty (As Raymond explained)?

RC
Raymond Chan Diamond Contributor
2 years ago

Hi Connor,

The information provided in your post is a bit unclear.

Assuming your Tab A devices are expected to run without lockdown menu when online, and have an essentially empty lockdown menu enabled when the device has been off-line (exceeding time threshold configured in device-side out-of-contact profile payload policy), then you need to add one script to turn on the lockdown in the OOC profile payload, and another script  (e.g. a pre-script in a dummy file-sync rule that run after EACH connection/sync to the server)  to turn off the lockdown.   

Is the above mechanism what you have already tried?

CV
Connor Vernon
2 years ago

Hi Raymond,

Thank you for your reply - please see my reply to GPMOD for further elaboration.

RC
Raymond Chan Diamond Contributor
2 years ago

Hi Connor,

As your device are already using role-dependent lockdown menu when the devices are online, the remaining simplest solution to handle offline device would likely be modifying the lockdown menu with script associated with out-of-contact profile policy.  This is definitely doable.  Alternatively, adding access password can be reasonably done with extra javascript in your lockdown html/CSS template, but adding trigger based on out-of-contact event would be tricky and much more complicated.   

G
GPMOD@SOTI
2 years ago

Hi Mike, 


Thank you Rafael and Raymond for your response. 

I believe you want to lock the device when it is out of contact. 

So we can setup up out of contact profile for the devices and we can use different scripts to achieve your desired results. 

Out of Contact profile can be set by using the below steps: 

Go to profile > add new Profile > Add profile configuration > Select Out of Contact profile > Select script

Please let me know if you need further assistance with this issue. 

Please find attached screenshots for more examples. 

Here are some useful links below for the Out of Contact profile. 

Out of Contact

Creating a Profile

Kind regards,

Technical Support | SOTI Inc. |1.905.624.9828 | support@soti.net | www.soti.net |