trio.so
How-Tos

Android QR Code Enrollment: Complete Setup Guide

Enroll Android devices with a QR code: what the IT admin QR code screen means, the six-tap setup, prerequisites, and fixes for common enrollment errors.

Mountain landscape representing leadership perspective and vision
Written by
Atena Ladchartabi

Content writer, trio.so

Published on
Modified on

Android QR code enrollment puts a new or factory-reset Android device under company management by scanning a code during setup. On the first Welcome screen, tap the same spot six times, connect to Wi-Fi if asked, and scan the QR code from your device management console. The device downloads the management app and applies the company's settings and apps on its own. It works on Android 7.0 and later, for fully managed company devices, dedicated devices and company-owned devices with a work profile.

If you are looking at a phone screen that asks for an "IT admin QR code", the next section explains what it is and how to get past it; if you are the IT admin, the rest of this guide covers requirements, the step-by-step setup and the fixes for common failures.

What is the IT admin QR code screen?

The screen that asks you to scan a QR code from your IT admin (on Samsung phones and other Android devices) is the company enrollment scanner. It opens when someone taps the Welcome screen six times during first setup, or when a company has registered the device for automatic enrollment.

  • It is your own phone and you opened it by accident: go back to the Welcome screen (use the back arrow, or restart the phone) and continue the normal setup. You don't need a code.
  • It is a company phone: ask your IT team for the enrollment QR code. It is created in their device management console and is specific to your company.
  • It is a used phone that keeps returning to this screen: it may still be registered to a company through zero-touch or Samsung Knox. Only that company, or the seller, can release it.

TL;DR

  • QR code enrollment sets up Android 7.0+ devices by scanning a code during first setup.
  • It works for fully managed devices, dedicated devices and company-owned devices with a work profile.
  • It needs an Android Enterprise connection in your management tool and a new or factory-reset device.
  • It scales better than typing a code by hand, but is less automatic than zero-touch enrollment.
  • It fits batches of devices bought from any seller, where zero-touch is not available.

What Is Android Enterprise?

Android Enterprise is Google's framework for managing Android devices at work and in schools. It replaced the older device administrator approach, which Google began phasing out in 2017, with stronger security controls, app management through managed Google Play, and separation between work and personal data. See what Android Enterprise is and why device admin is no longer the way to manage Android.

It supports several setups: fully managed devices (company-owned, work only), dedicated devices (single-purpose devices such as kiosks), company-owned devices with a work profile (work and personal use), and personally owned devices with a work profile (BYOD). Each fits a different need, and modern enrollment methods typically require Android 7.0 or later.

Android Enterprise Enrollment Methods

Android Enterprise offers several ways to enroll a device. The right one depends on who owns the device, how many you have, where they are bought and who sets them up.

Zero-Touch Enrollment

The most automatic method. Devices bought from an authorized zero-touch reseller are assigned to your company before they ship and set themselves up on first boot.

  • No hands-on work per device.
  • The device connects to the internet and downloads its management settings by itself.
  • Devices must be bought from a zero-touch reseller.
  • Android 8.0 and later (Pixel 7.1 and later).
  • Good for large rollouts and for devices shipped straight to remote staff. See Android zero-touch enrollment.

QR Code Enrollment

QR code enrollment balances automation and access. IT creates a QR code with the enrollment details, and the person setting up the device scans it on the Welcome screen.

  • Works on any Android 7.0+ device, wherever it was bought.
  • Someone needs the device in hand during setup.
  • Takes a few minutes per device.
  • No extra hardware or reseller needed.
  • Good for batches of devices and mixed sources.

NFC Enrollment

NFC enrollment transfers the setup details from an NFC programmer device or tag to the new device by touching them together.

  • Android 6.0 and later, NFC-capable devices.
  • Fully managed devices only. Google notes it cannot set up a company-owned device with a work profile on Android 11.
  • Needs a programmer device or tag, so it is rarely the first choice today.

Token Enrollment

Instead of a QR code, the person setting up the device types an identifier at the Google sign-in prompt. For Android Device Policy that is afw#setup; other management apps use their own. The device downloads the management app, then asks for a QR code or an enrollment token.

  • Useful when the camera is broken or scanning is not practical.
  • Slower and easier to mistype than a QR code.
  • Good for a handful of devices or for troubleshooting.

Knox Mobile Enrollment

Samsung's Knox Mobile Enrollment does for Samsung devices what zero-touch does for others: devices registered in the Knox portal enroll automatically, with Samsung-specific options on top.

  • Samsung Galaxy devices only.
  • Devices are registered through Samsung or an authorized reseller.
  • Adds Knox-specific security settings.
  • Best for fleets that are all Samsung.

DPC Identifier Enrollment

The device policy controller (DPC) identifier is the code typed at sign-in in the token method, such as afw#setup. It tells the setup wizard which management app to install.

  • Mainly used as a fallback when QR and NFC are not possible.
  • Requires knowing your management app's identifier.

Google Account Enrollment

On a personal phone, signing in with a work account or opening an enrollment link from IT creates a work profile: a separate space for work apps and data, managed by the company, while the rest of the phone stays private. See Android work profile.

  • The employee starts it from the phone, usually with a link or code from IT.
  • Manages only the work profile, not the whole device.
  • Right for BYOD programs.
  • Limited control over device-wide settings.

Android Enterprise Enrollment Methods Comparison

MethodAndroid versionSetup effortBest forKey limitation
Zero-touch8.0+None per deviceLarge rollouts, devices shipped to staffMust buy from a zero-touch reseller
QR code7.0+A few minutes per deviceBatches, mixed device sourcesDevice must be in hand, new or reset
NFC6.0+A few minutes per deviceFully managed devicesNeeds a programmer device or tag
Token (afw#setup)Varies by management appSeveral minutes per deviceA few devices, camera problemsTyping errors
Knox Mobile EnrollmentSamsung devicesNone per deviceSamsung-only fleetsSamsung devices only
Work profile (account or link)Varies by management appA few minutes, done by the employeeBYOD programsNo control over the whole device

How Does Android QR Code Enrollment Work?

The process has three phases: IT creates the QR code, someone scans it on the device, and the device configures itself.

QR Code Generation Phase

The IT admin creates an enrollment QR code in the device management console. The code holds what the setup wizard needs to start: where to download the management app, a checksum to verify it, an enrollment token that ties the device to your company and, optionally, Wi-Fi details. The settings and apps themselves come from the management server after enrollment.

Most tools create the code when you choose an enrollment profile. You can print it, show it on a screen or send it to whoever prepares the devices. Treat it like a key: anyone with the code can enroll a device into your company until it expires or is revoked.

Device Scanning Phase

On the first Welcome screen of a new or factory-reset device, tap the same spot six times. The device asks you to scan a QR code. On some devices and Android versions it first asks for Wi-Fi so it can get a QR reader. After the scan, the device checks the code, downloads the management app and starts enrollment.

Automatic Configuration Phase

Once the management app is installed, it contacts the management server and applies the company's settings: screen lock and password rules, required apps, Wi-Fi and VPN, restrictions such as blocking USB debugging, and registration in the console. It usually takes a few minutes, depending on the number of apps and the network speed. The person setting up the device cannot skip it.

What Are the Prerequisites for QR Code Enrollment?

QR enrollment fails if any of these is missing.

Android Enterprise Account

Your organization needs an Android Enterprise connection in your management tool, either with a managed Google Play account or a managed Google domain. This one-time setup gives your company an identity in Android Enterprise, lets you approve apps in managed Google Play and makes enrollment tokens possible. Without it, enrollment fails at registration.

MDM Platform Configuration

Your management tool must support Android Enterprise and have an enrollment profile for the device type: fully managed, dedicated, or company-owned with a work profile. A typical profile includes:

  • The management mode and the QR code for it.
  • Compliance rules for an acceptable device.
  • Apps to install during setup.
  • Wi-Fi, VPN and certificate settings.
  • Security basics: encryption, password rules, screen lock.

Device Requirements

  • Android 7.0 or later.
  • New, or factory reset (still on the Welcome screen).
  • A working camera.
  • Internet access through Wi-Fi or mobile data.
  • Enough battery to finish setup. Plug it in if you can.

A device that has already been set up must be factory reset before QR enrollment. Some devices from consumer channels may also be tied to a previous owner's Google account (factory reset protection) until that account is removed.

Network Access

The device needs internet access during enrollment to download the management app and its settings. You can put Wi-Fi details in the QR code, connect to Wi-Fi by hand before scanning, or use mobile data.

Wi-Fi details in the QR code save a step, but the code then carries your network password. For sensitive networks, use a separate enrollment network with limited access.

How to Enroll Devices in Android Enterprise Using QR Code

Follow these steps in order.

Step 1: Create Enrollment Profile in MDM Console

In your management console, create an Android Enterprise enrollment profile and choose the management mode: fully managed, dedicated, or company-owned with a work profile. Add the restrictions, required apps from managed Google Play, security policies and network settings, then turn on QR code enrollment for the profile.

Step 2: Generate and Distribute QR Code

Create the QR code from the profile. Most tools let you download it as an image or show it on screen.

For a few devices, print the code or show it on a monitor where the devices are prepared. For larger batches, set up a staging area with the code on a screen. Keep the code where only the right people can see it, and check when it expires.

Step 3: Factory Reset Target Devices

New devices are already in the right state. For used devices, factory reset them: on most phones, Settings > System > Reset options > Erase all data (factory reset). The exact path varies by manufacturer.

The device restarts on the Welcome screen. Don't go past it before you start QR enrollment. A device that has finished setup cannot be enrolled by QR without another reset.

Step 4: Activate QR Code Reader

  • On the Welcome screen, tap the same spot six times.
  • If the device asks for Wi-Fi, connect (unless the QR code includes Wi-Fi details).
  • The QR scanner opens.

Step 5: Scan Enrollment QR Code

Hold the device so the whole code is in view, about 15 to 30 cm away. It scans by itself. The device then shows that it will be managed by your organization and asks you to continue. Accept, and wait while it downloads the management app. Don't interrupt it.

Step 6: Automatic Policy Application

The management app installs and applies the company's settings: security settings, apps from managed Google Play, certificates and network settings. This takes a few minutes and the device may restart once. The setup cannot be skipped.

Step 7: Verify Enrollment Success

When setup completes, the device opens to the home screen (fully managed) or finishes creating the work profile (company-owned with a work profile). In the management console, check that the device appears with the right enrollment type, that required apps installed and that its compliance status is correct. If something is missing, ask the device to sync and check its logs.

What Is the Knox Enrollment QR Code?

Samsung Knox Mobile Enrollment (KME) is Samsung's own automatic enrollment for Galaxy devices. Devices are registered in the Knox portal, through Samsung or an authorized reseller, and assigned to a profile that points to your management tool. When such a device is set up, it enrolls automatically, without anyone scanning a code.

A Knox-specific QR code is usually not needed. Standard Android Enterprise QR enrollment also works on Samsung devices. Knox adds Samsung-specific options, such as Knox license settings and extra security controls, for management tools that support them.

Fleets that are all Samsung often use KME for its automation. Mixed fleets usually combine zero-touch or QR enrollment for other brands with KME for Samsung.

What Are Common QR Code Enrollment Issues?

Most failures fall into a few groups.

QR Code Scanning Failures

The device does not read the code because of glare or shadows, a blurry or small code, a damaged camera, the wrong distance, or a screen that flickers on camera.

Use even light without glare, print the code at least 5 cm (2 inches) wide on matte paper, test the camera first, and hold the device 15 to 30 cm away.

MDM Agent Download Failures

The scan works but the management app does not download. Common causes: the network drops, the code points to the wrong location, a firewall or proxy blocks Google Play, or the device's Google Play services are out of date.

Check the internet connection, confirm the enrollment profile in your console, allow Google's domains through your firewall and proxy, and try again on a clean network.

Policy Application Failures

The device enrolls but some settings do not apply. Causes include conflicting policies, restrictions the device or Android version does not support, badly formatted certificates and timeouts.

Look at the console logs to see which policy failed, test new policies on one device first, check that your devices support the restrictions you need, and validate certificates before you add them.

Work Profile Creation Failures

On a company-owned device with a work profile, enrollment may complete without creating the profile. Causes include an old Google Play services version, leftovers from a previous profile, too little storage or a bug in a specific Android version.

Make sure the factory reset completed, update Google Play services, free up storage and check the manufacturer's notes for known issues.

IT Admin and QR Code Enrollment on Android

The IT admin has three jobs in QR enrollment: set it up, run the rollout and fix what breaks.

Setup: connect Android Enterprise, create enrollment profiles with the right policies, test enrollment on one device of each model, write short instructions for whoever prepares the devices, and create the QR codes you need.

Rollout: set up a well-lit staging area, work through devices in batches, confirm each device enrolled before it goes to its user, and note failures so you can spot patterns.

Ongoing: watch the console for failed enrollments and compliance problems, block apps or allow only approved apps as needs change, update enrollment profiles when policies change, and train the help desk on common enrollment questions.

If you are short on staff, enroll a small batch first, fix what you learn, then scale up.

When Should You Use QR Code Enrollment?

QR code enrollment fits when:

  • You buy devices from sellers that don't offer zero-touch.
  • You enroll batches too large for typing codes but not large enough to justify changing suppliers.
  • Your fleet mixes brands, and some devices don't support zero-touch.
  • You enroll replacement devices a few at a time.
  • Devices are prepared in one place, such as an IT staging area.

Other methods fit better when:

  • You roll out many devices from zero-touch resellers: use zero-touch.
  • Devices ship straight to remote staff: use zero-touch, or a token if zero-touch is not available.
  • Employees use their own phones: use a work profile from an account sign-in or link.
  • Devices are kiosks in public places: use dedicated device enrollment, ideally with zero-touch.
  • Devices are already in use: QR enrollment needs a reset, so plan the reset or use a work profile.

QR enrollment costs nothing beyond the devices and some hands-on time, which makes it the usual starting point for small and mid-sized fleets.

Managing this across many devices

A QR code saves typing on one phone; across a fleet it is the difference between a quick staging day and a week of setup. trio.so enrolls company Android devices as fully managed with a QR code, and personal phones with a work profile. See Android device management.

The trio.so Add device dialog for a company Android phone, showing the fully managed setup QR and the next steps.
In trio.so, the Add device dialog issues the setup QR for a company Android phone, with the six-tap steps beside it.

Related reading: what is Android Enterprise, managed Google Play, Android work profile and device admin on Android.

Ready-to-use Templates

Must-have Template Toolkit for IT Admins

Explore All
Template Toolkit

Enroll company phones with one QR code

trio.so enrolls company Android devices as fully managed with a QR code.

Start free trial

Manage Every Device From One Console

trio.so brings device management, patching and security policies for Windows, macOS, Linux, iOS/iPadOS and Android into one console. Enroll a device and see it in the console within minutes.

14-day free trial. No credit card required.

trio.so brings device management, patching and security policies for Windows, macOS, Linux, iOS/iPadOS and Android into one console. Enroll a device and see it in the console within minutes.

Smiling womanAbstract geometric patternAbstract geometric patternSmiling womanSmiling woman

Frequently Asked Questions (FAQ)

It is the QR scanner for company enrollment, opened by tapping the Welcome screen six times during setup. On a personal phone, go back and continue normal setup. On a company phone, ask IT for the enrollment code.

No. QR enrollment works only during first setup. Factory reset the device first, or enroll a personal device with a work profile instead.

The device leaves management and has to be enrolled again. With zero-touch or Knox Mobile Enrollment it re-enrolls automatically on the next setup. Otherwise, IT scans a QR code again.

That depends on the enrollment token in it: many tools let one code enroll many devices until it expires, others issue one code per device. Many teams use separate codes per department or location so each group gets the right settings.

No. The device needs Wi-Fi or mobile data to download the management app and its settings.

No. On fully managed and dedicated devices the management app is the device owner and cannot be uninstalled. Only IT can unenroll the device, or a factory reset removes it.

Related

From the blog

The related industry news, interviews, technologies, and resources.