Welcome to Headwind MDM Q&A, where you can ask questions and receive answers from other members of the community.

Please do not post bug reports, missing feature requests, or demo inquiries. If you have such an inquiry, submit a contact form.

+1 vote
I need to configure installed applications and run the adb script. Can Headwind MDM execute scripts?
by (37.6k points)

1 Answer

+1 vote

Headwind MDM can execute command line scripts through Push messages.

To execute a script:

1. Select Functions - Push messages. 

2. Click "New message"

3. Select the message type "custom", type runCommand and the following payload:

{"command": "your script here"}

Note that Headwind MDM doesn't have full adb permissions, it has the device owner permissions. So you need to test whether the script is working well (use logcat to check).

by (37.6k points)
...