Enforce mobile data

Hi,

I'm trying to prevent user from turning off mobile data from quick panel (without disabling whole quick panel). According to the documentation this script should do the trick "writeprivateprofstring DeviceFeature DisableCellularData 2 apply featurecontrol" but it behaves the same as "DisableCellularData 1" (tried that too) option = it turn off mobile data and block user from turning it on - exact opposite from what I would like to achieve.

Device: Samsung Galaxy A34 5G (latest Android 13 OS)

Management Type: Work Managed Device (KPE Status Active - Standard)

Agent version: 15.4.2.1025

Mobicontrol: 15.6.1.1048

Does anybody have any tips or clues? Thanks

2 years ago
Android Scripting
ANSWERS
MD
Matt Dermody Diamond Contributor
2 years ago
M
MiKe
2 years ago

Thanks but quick panel editing require Premium license and even then it's not possible to remove "mobile data" option.

RS
Rafael Schäfer
2 years ago

When i look into the Knox service plugin, i see a free setting:

- Device restrictions > set all as you need (also "allow cellular data") > disable "Allow user to modify Settings"

Not sure if this include the quick panel but i would assume so.

M
MiKe
2 years ago

But I want user to be able to modify Bluetooth radio and pair devices, change display brightness etc.

RS
Rafael Schäfer
2 years ago

Did you try this from the documentation?

Prevents users from disabling/enabling mobile data. writeprivateprofstring DeviceFeature DisableCellularData value apply featurecontrol

Where value is one of the following numeric values:

  • 0 controllable by the users
  • 1 enforced OFF
  • 2 enforced ON

But doesn't work for my device and is not an option in the work managed feature control inside of Mobicontrol.

M
MiKe
2 years ago

Thank you for your effort but that's what I wrote in original question - that option 2 is behaving the same as option 1

RS
Rafael Schäfer
2 years ago

Sorry my mistake, I was looking around because i was wondering that it's not in the feature control but found it then only in Classic and didn't re-read your inital question.

LC
Leon Callsen
2 years ago

Hi Mike, did you find a solution yet? 
Over the feature control I am only able to keep data roaming enabled. 


M
MiKe
2 years ago

Not at the moment. You can try to open case with Soti support (I didn't because customer is only looking for the right device and decided to disable whole quick panel settings access for now).

Second option I've considered (but did not test) was to make script that would enable cellular data upon connection or as Out of Contact policy. This solution is not ideal but could be used as workaround.

G
GPMOD@SOTI
2 years ago

Hi Mike,

Thanks for posting on SOTI Pulse and thanks Matt, Rafael, and Leon for responding to the post.

If you want to investigate this issue further, I would request you to open up a support case here and we can troubleshoot further for the specific manufacturer.

Thank you. 

Kind regards,

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

M
MiKe
a year ago

Just update that I didn't even find a way to turn on mobile data using script or command on Samsung Android 13+ devices using Soti so the only way is to disable user access to the quick settings completely. IMHO this is madness :D I'm waiting for what else will Google bring (I assume it's their doing as scoped storage hell) to make devices unmanageable