Community - SOTI MobiControl

Community - SOTI MobiControl

There's a new home for Articles. Find Articles on Our Product Support Page.

SOTI MobiControl Discussions


  • 0 votes 2 answers

    Issues with package/v2 api and post-install script

    Hi everyone, I am currently on MobiControl version 2025.1.0.1007. I am strictly an Android Shop with devices ranging from OS 10-15. Device Agent version(s) 2024.1.4.1149 through 2026.0.0.1104. I am attemping to use a python script to make the POST packages/v2 api call. I have no issue with the creation and upload of the created package. I am running into an issue when trying to get the files in the package copied to the correct folder/folders on the Samsung device. I have tried using a post-install script (I referenced the Android Agent JavaScript documentation) but for whatever reason, I can not get the files on the device. I find it strange that this isn't working since the profile status states that the package was installed successfully. When I check the file structure, no files are copied into the specified directories. I have even tried adding the PackageGroupFile and PackageFileFlags parameters in the script but still no luck. I was wondering if anyone else had any luck using this API call to build -> upload ->deploy successfully. The files in question are files that are generated in ESI. Building the same package in Pack Studio works without fail. I am wondering if I am missing something crucial. Any help would be greatly appriciated. Thank you. If any other information is needed, I would be happy to discuss.

    SOTI MobiControl
    2 days ago
  • 0 votes 31 answers

    Connecting to a specific SSID via command/script Solved

    Hi, I am keen to hear if anyone knows how it is possible, via a script, to initiate the connection of a device to an SSID that already has a profile created on the device, but is different from the one the device is currently connected to.

    SOTI MobiControl
    10 months ago
  • 0 votes 5 answers

    Android app configurations and sending custom data, hardware serial number & MAC address to Android?

    This is with respect to this article for another MDM: https://www.ws1inhawaii.com/2023/02/delivering-managed-configurations.html Would like to know whether SOTI could do something similar for Android device deployments, to send over the Android device's hardware serial #s, hardware MAC address, and any custom data set from SOTI via an app configuration that an Android app would use that we can deploy with to the device. Data that is not normally exposed by Android API to Android Apps, to which we could supplement by having MDM provided that data to the app via the app configs. Given that SOTI supports run intents like Workspace One, I assume this type of feature might also be supported? If yes, where can I find reference material for how to do the same type of thing as that blog post but for SOTI? I assume most of the steps are the same. What would vary is the config steps to do on the SOTI side.

    SOTI MobiControl
    a year ago
  • 0 votes 6 answers

    Windows Classic script

    Hi all Might be a silly question to ask but does anyone know what script command I can run to restart the agent running on a Windows Classic device? We have to use the legacy Remote Control plugin to control a set of these devices, but we notice that sometimes the agent possibly bugs out on the device, we can see it is online and we go to connect using the legacy plugin but for some reason their screen does not mirror and the connection is dropped. Nothing in the logs specifies why this is but when the user restarts their machine the issue is resolved until it occurs again. Due to how the machines are set up it is impossible for them to restart the agent themselves. We're hoping it is just the agent that has bugged out on the device, so therefore we would like to run a script using the dashboard (as the remote control doesn't last for us to try and run cmd line). Is there a script command that can do this? The machines are running Windows 7 Embedded. We can only run a Legacy script command, the devices are incompatible with the other script commands. Is there a legacy command available? Server is running MobiControl 15.5.1.1010 Thanks

    SOTI MobiControl
    2 years ago
  • 0 votes 7 answers

    Wi-fi doesnt re-connect after losing a signal

    Hello everybody,[WHAT]Wifi disconnects and doesnt reconnect while signal is lostUsers are allowed to only enable or disable wifi itself, but that unfortunately doesnt re-connect to wifi when available. (we had a problem where when they were able to modify, they kept pressing "forget wifi" and complined)So users result to reboot the device, which solves the issue, but we are car company and each position has about a minute to finish his part on a car. So if somebody doesnt do theirs, because he had to reboot a phone it doesnt look very well.For short:Iam looking for a script (idealy), that would be something like SETWIFI SSID PASSWOD.or any other "connect to this wifi right now and non other" button that I can place in Kiosk.EDIT:I know that settings manager 14.4. doesnt show wifi network to clicks on it.and Setting manager 15.6. unfortunately allows to remove stored wifi even if define that "modify" is not allowed

    Android
    2 years ago
  • 0 votes 9 answers

    Updating/Writing to INI file on Android Solved

    Hi all, I have been working with a Honeywell CT40 to iron out the configuration before we roll it out to our end users and the last thing I am struggling with is having the built-in SmartTE app use the device name for the WSID. I figure the best way to do with would be to write the SOTI %MCDEVICENAME% to the staylink.ini file where the app hosts this file. Is there any way to script this out? This realistically only needs to be done either when the device is configured or renamed

    Android Scripting
    2 years ago
  • 0 votes 2 answers

    Disable Notification Sound

    Hi Guys, do you know if there is any possibility to disable the notification sound of Android 13 devices with a script or a specific setting? In my case this question belongs to samsung devices. I tried something like this: writesecuresetting -sys notification_sound 0 This script doesn't had an effect on the devices. On the device itself is the settings manager where every user can configure their settings by theirself. But we need to disbale the notification sound by default. I am thankful for every advice. Thanks! 

    Android
    2 years ago
  • 0 votes 7 answers

    Android Enterprise update pratices

    Hi guys, We have ca 100 Devices in our Company all of them are Zebra Scanners  with Android Enterprise, they run on full managed work profile in lockdown mode, the clue is that they are not everytime, also not all of them at the same time on. Now I want to push updates to this scanners, the otas get copied with a rule on all devices, but I dont want to install it at the time it ends downloading from the server, cause the user can have a important session on his device, thats why i want to do it manually. I'm thinking of something like creating a virtual folder like "scanner_update" and if device(s) are added to this virtual folder the script "install_system_update /sdcard/scanner_latest.zip" runs. Maybe one of you have a good Idea or know how I can realize this :)

    Android
    2 years ago
  • 1 votes 2 answers

    Write a value into existing INI file Solved

    Hi, does anyone know a way/script to write into an existing ini file? I tried several things regarding javascript but i'm not familar with javascript, so i don't know where the Problem is. The file is located in the /sdcard/ folder and we are working with 15.5.1 and the latest agent versions.

    Android Scripting
    3 years ago
  • 0 votes 9 answers

    Stop an app from updating Solved

    I believe an app update is causing an issue and I want to stop either that app, or if I have to all apps, until a new version hits the Play Store. I'm sure I've done this before but I cannot for the life of me remember it. MobiControl 15.5 Android Devices running 8.1.0 upwards.

    SOTI MobiControl
    3 years ago
  • 0 votes 1 answer

    Script to grant All Files Access to an application

    Hello, I have some Samsung tablets in Kiosk mode that I deploy Microsoft Word and Excel via the Managed Google Play Store.When trying to open a document that lives on the tablet (/sdcard/Documents/) for the first time, Word or Excel shows a prompt "To browse Office files, photos, and media, you'll need to allow access to all files in Settings" Not Now | Go to Settings When I press Go to Settings from within a Kiosk screen, Kiosk blocks the settings page to enable Access to all files for Word / Excel. Exiting Kiosk does allow me to enable the permissions, however a user would not be able to grant those permissions from Kiosk mode if Kiosk is blocking the prompt. I did a bit of research for granting the permissions using a Legacy script, but have not been successful. I have tried these, but none of them granted the permission to Access all files:afw_set_permission_grant_state com.microsoft.office.word android.permission.WRITE_EXTERNAL_STORAGE allowafw_set_permission_grant_state com.microsoft.office.word android.permission.READ_EXTERNAL_STORAGE allowafw_set_permission_grant_state com.microsoft.office.word android.permission.MANAGE_EXTERNAL_STORAGE allow Device: Samsung Tab A7 LiteAndroid 11SOTI MobiControl Agent version 15.1.5 1049SOTI MobiControl Console version 15.3 Any ideas would be greatly appreciated. Thank you.

    Android
    3 years ago
  • 0 votes 4 answers

    Script for "overlay" and "notification" settings

    Hello  I am looking for a way to enable app permission for the app "Ascom Unite Axess" automatically (please check printscreen) Does anybody know a way to enable this notifications with a script? Soti version: 15.4.2.1020 Soti agent: 15.1.3.1071 Android version: 10 Device: Ascom Myco 3

    Android Scripting
    3 years ago
  • 0 votes 2 answers

    Open defined URL after clicking OK Button in Messagebox

    I use Android Enterprise Devices (Zebra TC57 + TC27) on MobiControl 15.1. I want to open a defined URL with chrome after clicking the OK button. This script just opens chrome, because i cant find a way to define a URL... var buttonLabels = ['OK'];mobicontrol.message.createInfoDialog('Text for Messagebox').withButtons(buttonLabels[0]).withCallback(onConfirm).show(); function onConfirm(result) {if (result.buttonIndex != null) {mobicontrol.log.info('The OK button was clicked');mobicontrol.app.start('com.android.chrome');}} This old sendintent script works fine but there's no way to put this in a showmessagebox. sendintent -a "https://google.com#Intent;action=android.intent.action.VIEW;end"

    Android Scripting
    3 years ago
  • 0 votes 2 answers

    How to use API to create custom Attributes on a group level Solved Locked

    Hello, I'm trying to edit my existing PowerShell script that created the device group but I'm a bit confused on the formatting needed for the custom attribute. For device group creation, I looked at the forums and copied the example of using: $devicegroup = @{} $devicegroup["Name"] = $Name $devicegroup["Path"] = $Path + $Name $devicegroup["Icon"] = "Red" $devicegroup["Kind"] = "Regular" I tried changing it around to try to mimic the json on the API page but not luck, even tried doing: $customAttribute = '{ "Attributes" : [ { "AttributeName":"StoreNumber", "AttributeValue":"1234"}]}' but that is also failing on me. Anyone have any suggestions?

    SOTI MobiControl
    4 years ago
  • 0 votes 11 answers

    grant storage access to Autoinstall application

    Hello,  I would like to grant storage access to Autoinstall application "com.honeywell.systemtools.autoinstall" via script . Can anyone help me with it ?

    Android Scripting
    4 years ago

Top 3 Contributors of The Week

View All

Earn Contributor Badge

More info
  • Diamond
    Diamond New !

    Top-tier experts who are delivering outstanding content. Should have more than 7000 points.

  • Platinum

    Experts who are consistent with great content. Should have more than 1000 points

  • Gold

    Highly experienced members with valuable inputs. Should have more than 700 points

  • Silver

    Beginners taking the initiative. Should have more than 500 points