Deactivate application via script command - Android Plus
Just use application-run-control (i.e. either add it in a blacklist, or leave it out from the whitelist) payload in an Android+ profile to disallow the installed app from being run or launched again.
My problem is that the application run control can't deactivate all of my apps.
My goal is to deactivate some "system" apps like chrome by force.
I would also prefer the whitelist but our customer is a bit difficult...
I have no problem using application-run-control blacklist to deactivate Chrome in hundreds of cases in the last few years. However, Some recent Android 8/9 devices may have some other bundled apps using module(s) of Chrome, and thus it might not be possible to use application-run-control to deactivate Chrome is such cases. One possible solution is to blacklist or even disable (in Device's Settings->Apps Manager) Chrome plus other related apps using Chrome's modules altogether. Also, you might need to reboot a device to see if the MobiControl application-run-control policy deployed works or not.
Apart from Chrome, what other system apps are you talking about?
I am trying to do this as well! I would like to disable chrome, camera, etc. I know there is the script to enable system apps so I was hoping there was one to disable
unfortunately i found no solution.
I had a long conversation with the soti support and even session with them.
it is not really possible to deactivate system apps by using a script command.
Funny thing is that you can activate system apps, for example in the
work profile (phone, gallery, etc) who are standard deactivated
It exists scripts to desactivate applications. It works for me :
To desactivate an application :
Manualblacklist add PACKAGE NAME / BUNDLE IDENTIFIER
To reactivate an application :
Manualblacklist remove PACKAGE NAME / BUNDLE IDENTIFIER
unfortunately it does not work for my usecase.
Your script command works perfectly fine for most of the apps. But it does not
work on apps like the google applications who can not be deinstalled but deactivated.
And for those apps a blacklist does not work.
I was looking for a solution to get my chrome app deactivated in the android OS and not just
Did you try Application Run Control profile? where you can completely blacklist chrome from user (icon will be removed from UI)
Technical Support | SOTI Inc. |1.905.624.9828 | email@example.com | www.soti.net |
it works without problem when i am using a blacklist.
But my customer needs the whitelist and don't want to use a blacklist
because he has to add so many other apps who could interfere.
I was looking for a solution where i could use a whitelist and block or
deactivate the chrome browser by a script command for example.
My only solution was to use a white list and deactive manually the chrome
browser on all of his devices...
I was hoping to find a way with MC to deactivate the app but unfortunately
there was no solution found.
Maybe in the future it is maybe possible to deactivate some system apps
while running a whitelist :)
Sorry i don't know why i said your solution with the script command "manualblacklist" doesn't work ...
It does not deactivate the chrome but blocks the chance to open it. Thats more than enough for my case.
I guess i did too many things at the same time back then :)
Thank you very much for that script command !!