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