Scripting Timeout in Lockdown

Solved
S
Sam-L
East of England Co-operative

Device make and model - Samsung Galaxy Tab A8

Device OS – Android 11

Mobicontrol agent version - 15.3.0.1006

Lockdown Mode

Hello, 

Based on threads such as these;

https://discussions.soti.net/discussions/disable-screen-timeout-in-lockdown

https://discussions.soti.net/discussions/is-it-possible-to-force-screen-to-be-on-at-all-times

I am attempting to script our end devices to adhere to a setting of the administrative choice. Currently, settings in mobicontrol permit the device to have 5 minutes of inactivity before locking out. Some of the forums suggest the following script:

Writesecuresetting –sys screen_off_timeout 120000

Applied as a legacy script, this doesn't have the desired effect of changing the timeout, but I'm guessing it should? I saw that write permissions may be blocking this kind of execution, does that impact a write script even from the mobicontrol console?

Much obliged

2 years ago
SOTI MobiControl
ANSWERS
RC
Raymond Chan Diamond Contributor
2 years ago

"Write Settings" permissions, which were PREVIOUSLY always automatically silently granted for Samsung MobiControl device agent itself, DO impact the writesecuresetting script command even if sent from the MobiControl console.  

However, your problem MAY be partly due to removal of some KNOX runtime libraries from the device firmware image by Samsung in some of its low-end device models.

Solution
RS
Rafael Schäfer
2 years ago

Take a look into OEM config app from the manufacturer of your devices to get this done.

Regarding Samsung: Or if you are already on 15.6.1 this is integrated and can be send as profile (take a look into the available profiles).

S
SAMOD@SOTI
2 years ago

Hello Sam-L,


Thank you all for your posts,

As suggested in SOTI MobiControl Help Page, please use this command with caution.

You may also use the OEM Config app from Samsung named Knox Service Plugin from the Managed Google Play Store.

After creating an App Policy and downloaded the app form Managed Google Play Store, under Dex customization profile (Premium) you may Set screen timeout and enter in value in seconds.

(As for the maximum limits for the timeout, that may depends on the device itself). As you can see in the below screenshot, you do need Knox Licenses from Samsung to use that feature.

Knox Premium Getting Started (From Samsung)


As mentioned by Rafael: SOTI MobiControl Release Notes - from MC version 15.6.0:



Thank you.

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