blob: 30e85a24278a4afcd7f000aa8d6db7a5f87689ab [file] [log] [blame] [view]
Andrey Davydov32462d762022-07-15 08:48:301# Enterprise Enrollment on ChromeOS
Denis Kuznetsov885b1852019-05-15 19:07:482
3Enterprise Enrollment is a process that marks a device as belonging to
4particular organization and enables [management](management.md) of the device
5by organization admins.
6
7[TOC]
8
9## Requirements
10
11Only **devices without owner** can be enrolled. Ownership of the device is
12established either during Enterprise Enrollment (the organization becomes the
13owner of the device) or during first user sign-in (in this case this user
14becomes the owner of the device).
15
16Ownership of the device can be reset using factory reset (```Ctrl+Alt+Shift+R```
17on the login screen), if it is not disabled via device policy.
18
19Developers can reset ownership by running following commands as root in shell:
20```
21pkill -9 chrome
Miriam Polzerdfb19332021-08-24 10:47:1722rm -rf /home/chronos/Local\ State /var/lib/whitelist /var/lib/devicesettings /home/.shadow
Denis Kuznetsov885b1852019-05-15 19:07:4823rm /home/chronos/.oobe_completed
24crossystem clear_tpm_owner_request=1
25reboot
26```
27
28Only **enterprise users** can enroll devices (device will be owned by the
29organization user belongs to).
30
31#### Instructions for Google Employees
32Are you a Google employee? See
33[http://go/managed-devices/faq/using-yaps](https://goto.google.com/managed-devices/faq/using-yaps)
34to learn how to use simple development device management server.
35
36See
37[http://go/managed-devices/faq/test-account](https://goto.google.com/managed-devices/faq/test-account)
38for instuctions on how to get enterprise account for testing.
39
40## Enrollment scenarios
41
42There are several enrollment scenarios, exact choice is made based on
43following factors:
44 * How the authentication is performed
45 * If enrollment can be avoided by user
46 * What initiates enrollment.
47
48#### Instructions for Google Employees
49Are you a Google employee? See
50[go/chromeos-enrollment-overview](https://goto.google.com/chromeos-enrollment-overview)
51for other enrollment scenarios in development.
52
53### Manual enrollment
54
55Enrollment can be triggered manually on the login screen via `Ctrl+Alt+E`
56shortcut. User will have to authenticate using username/password. User can
57cancel enrollment attempt and return to login screen.
58
59### Re-enrollment
60
61During initial setup device queries management service to check if it was
62previously enrolled, and if organization admins indicated that device should
63be enrolled again.
64
65This is set on https://admin.google.com/ under `Enrollment & Access` section on
66`Device Management>Chrome>Device Settings` page.
67
68Authentication is the same as in **Manual enrollment** case, and whether
69enrollment can be skipped depends on policy set by admins.
70
71### OEM-triggered Enrollment
72
Yeunjoo Choia10bd86e2022-12-15 02:34:5173Device manufacturers can provide special [OEM manifest](https://cs.chromium.org/chromium/src/chromeos/ash/components/system/statistics_provider.cc?rcl=2e366a611abdd2be6995e625f3281d40fab5b5e3&l=83)
Denis Kuznetsov885b1852019-05-15 19:07:4874that controls if device should be enrolled, and if enrollment is forced.
75Authentication is the same as in **Manual enrollment** case.
76
77### Offline demo-mode enrollment
78
79This mode is intended for demo ChromeOS features e.g. in retail stores. This
80enrollment does not require network connection, it enrolls device to a fixed
81domain and uses policy from a local resource.
82
83Demo enrollment can be triggered during initial setup on welcome/network
84screens via `Ctrl+Alt+D` shortcut. No authentication is required during
85enrollment.