1. Home
  2. Android for Work
  3. How to enroll a device in Android in the Enterprise (Android for Work) as ‘Device Owner’ using Hexnode MDM

How to enroll a device in Android in the Enterprise (Android for Work) as ‘Device Owner’ using Hexnode MDM

A device owner can be assigned only during the initial setup of the device. Making Hexnode MDM a device owner can grant additional permissions for Hexnode MDM. It is recommended to be a device owner only if the device is owned by the Organization. If it is a personal device, it’s better you stick with the profile owner setup since you are restricted from accessing the apps other than those allowed by your Organization.

First, enroll your organization in Android in the Enterprise program and then go through the steps mentioned below to enroll your device as a device owner.

Supported Versions:

  • Samsung Knox (SAFE) devices: 6.0 and above
  • General Android Devices: 5.0 and above

Make Hexnode for Work App the Device Owner

If you make Hexnode for Work a device owner, all personal apps will be removed from the device and only the ones allowed by the Organization are allowed to use. It is recommended to skip this section if you are looking to enroll a personal device to the Android in the Enterprise program.

Note:

For devices running Android 7 and above, you can use QR Code(Admin > Android in the Enterprise (AfW) ) to enroll your devices as “Device Owner”.

  1. Reset your device to the factory settings. Ensure that you remove the Gmail account associated with your device before you perform the factory reset.

  2. Android 7.0+:
    For devices running Android 7+, users can scan QR code for enrolling as “Device Owner”.

    1. After Factory Reset, tap the welcome screen 6 times.
    2. Connect your device to the network. A QR code reader will get installed on your device.
    3. On your portal, Navigate to Admin > Android in the Enterprise (AfW). A QR code will be presented on the screen.
    4. Scan the QR code on the screen.
    5. Click on Accept & Continue to continue the installation process.
    6. Enter your server name. Click on Next.
    7. Enable Device administration, Usage Access, Draw over apps, Write system settings and Notification access permissions. Click on Next.
    8. Your device will begin enrolling with Hexnode MDM.
    9. The installation is successfully completed as soon as a work account is created on your device.

    Android 6.0+:
    For devices running Android 6 and above, on the initial setup screen, when prompted to add an account, enter afw#hexnodemdm.Proceed to step 3.


    Android 5.0 :
    For devices running Android 5.0, after the initial factory reset, complete the setup procedure without adding a Google account.

    1. On your device, navigate to Settings > System > About phone.
    2. Tap on Build number 7 times to turn on Developer Options.
    3. Go back to System Settings and click on Developer Options.
    4. Enable USB debugging option from the list.

    Next, download Hexnode for Work APK.

    Download and install Android Debug Bridge(ADB) on your system. Open the command prompt and type in the path where the adb folder resides. For example, if you have installed adb in C drive, the command would be as follows:

     cd  C:\adb

    Next, run the following command to initialize adb.

    adb start-server

    Connect the device to the computer and run the command to install the APK downloaded earlier.

    adb install HexnodeMDMWork.apk 

    Type in the following command to make Hexnode for Work a device owner:

    adb shell dpm set-device-owner com.hexnode.mdm.work/com.hexnode.mdm.receivers.HexnodeDeviceAdminReceiver
  3. You will need to install the Hexnode for Work app to manage your work profile. Click on Install. The app will be downloaded on your device.
  4. Click on Install to install Hexnode for Work app on your device.
  5. Enter your server name. Click on Next.
  6. Click on Continue to setup your device in Device Owner Mode. This allows admins to enforce complete control over your device. You will be prompted to confirm setting up your device as device owner. Click on Continue. Click on Cancel to cancel the installation process.
  7. Click on Accept & Continue to continue the installation process.
  8. Enable Device administration, Usage Access, Draw over apps, Write system settings and Notification access permissions. Click on Next.
  9. Your device will begin enrolling with Hexnode MDM.
  10. The installation is successfully completed as soon as a work account is created on your device.
  •  
  •  
  •  
  •  
  •  

Was this article helpful?

Related Articles

Leave a Comment