¿Prevent Android+ device connecting a specific WiFi Network after profile applied?

Solved
MP
Maximiliano Peszano
Administración Nacional de Usinas y Trasmisiones Eléctricas UTE

Good Morning everyone.

MobiControl

I am using MobiControl v13.4.

The used devices are Huawei Mate 9 Lite.

Situation

We have 2 Wifi Network in the company:

WiFi Int: It has internet connection.

WiFi Corp: It is a internal network.

We enroll devices using the .apk and .ini while connected Wifi Int, but after the enrollment whe want the device to forget Wifi Int and automatically connect to WiFi Corp. We configured a profile that includes WiFi Corp, but it keeps connected to WiFi Int if we dont disconnect it manually.

Thanks in advance,

Maximiliano.

Edited 7 years ago
Android
ANSWERS
RC
Raymond Chan Diamond Contributor
7 years ago (edited 7 years ago)

The only simplest and dirty option left is probably to push over-the-air another Wifi payload for "WiFi Int", but with the wrong password.  This way, the device will not be able to use "Wifi Int", and will only be able to connect to "WiFi Corp", assuming no loophole is left for device end-user to input/modify any Wifi settings.

Solution
RC
Raymond Chan Diamond Contributor
7 years ago

Why not enrolling using Wifi Corp in the first place?

MP

Thanks for your response Raymond, we have the next limitations:

- Sometimes we have to enroll devices where WiFi Corp is not available.

- There are more than one team that enroll devices, but not all of them are supposed to know the WiFi Corp password.

-  WiFi Corp password is a bit complex, it demands some extra time configuring it when you have to enroll 5-100 devices at once.

RC
Raymond Chan Diamond Contributor
7 years ago

Very interesting reasons.

As far as I know, there is no script command or other mechanism in MobiControl to achieve what you need.

From your situation description, it seems that you want the device to use only the internal corporate network with no internet access for security reason.    I believe only authorized administrator with the right to know the Wifi password of your internal network be allowed to do the device enrollment.  As enrollment should normally be done only once and not needed for years,  having a long complex password shouldn't be a big deal.   You might also consider using MobiControl Stage to speed up the enrollment process.

MD
Matt Dermody Diamond Contributor
7 years ago

This would be possible using the MX layer on Zebra Android devices but given that you're using Huawei you might be limited to what SOTI supports natively. There is a wifireconnect scripting command that would at least trigger the devices to disconnect from their current wifi connection, but I don't think that would guarantee that they would switch to the other network. In fact, I would suspect that they would likely re-associate with the same wireless network.

MP

This should work for now, I will give it a try.

Thank you all.