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