How to enable Android work profiles?

By default, all Genymotion images come with a default “Genymotion” admin account to ensure compatibility with the Kiosk feature.

As a result, Android work profiles are disabled by default.

If Genymotion work profiles must be enabled, Genymotion provides a way to disable the default admin account.

> Warning: Disabling the default admin account will break the kiosk feature!

To disable the default admin account, follow these steps:

Step 1

If you are using Genymotion SaaS or Genymotion PaaS, connect your instance to ADB.

Please refer to the on-line documentation for instructions:

Step 2

Most of our images are not rooted by default.

You first need to toggle root.

Please refer to the on-line documentation:

Step 3

When root is enabled, run the following command:

adb shell setprop persist.genymotion.device_owner.enabled false

This will disable the default admin account and allow the use of Android work profiles.

If Android Kiosk feature must be used, restore the default admin account with the following command:

adb shell setprop persist.genymotion.device_owner.enabled true