Shared Device - Autologout on Reboot

HJ
Henry Jahnel
DHL Hub Leipzig GmbH

Hi all, 

we have set a new shared device group and it is needed that the Devices will log off the user automatically on restart / reboot the device. 

Gives there any option to set it in Mobicontrol? (standard logout scheduler after a period or on inactivity is not practical)

Gives a command or intend to app to force logoff via script?

Gives an MX / Stagenow / XML command?

Background is, we fear that users will forget their device password and will no longer be able to unlock their device and log themselves out. This way, users have the option to help themselves, restart their device, log in again, and create a new password. 

Server is MC 2024.1.1.1058, Agent is 2025.0.2.1045, Device ET65

Thanks Henry

6 days ago
Android Scripting
ANSWERS

Hi Henry,

You could use a task scheduler and the "on device reboot" option to initiate a script.

Then use wipeapplication com.xyz to logout a specific app. (be aware you can loose data in that specific app if for example the app hasn't synced yet)

However, it think you are refering to the shared device mode and i can't find a script to logout a user, thats not to say there isn't one.

Ill do some digging.

HJ
Henry Jahnel
6 days ago (edited 6 days ago)

HI Robert, 

yes, the option to initiate a script via task scheduler we know and use it to remove device password and clean cache on reboot, but the question is: Which command causes the user to be logged out?

the Mobicontrol agent app is responsible for login/logout but to wipe these app does not work to force logout user ... "wipeapplication net.soti.mobicontrol.androidwork"

That is indeed the question when using shared device, i've done some digging and it looks to be a server action with no script available (our SOTI TAM also did some digging and said the same thing).

If you want an official answer its best to raise a case.

HJ
Henry Jahnel
3 days ago

Thanks. i will contact them.