Add a Mac Computer to Apple Business Manager or Apple School Manager Without Erasing It First
Traditionally, to manually add a Mac to Apple Business Manager or Apple School Manager, you would need to erase all content and settings on the Mac to re-run Setup Assistant and utilize Apple Configurator for iPhone. This guide breaks down the process to add the Mac without erasing it.
Requirements
- Mac running macOS Sonoma (various versions) with at least 50 GB of available storage
- Apple Configurator for iPhone
- Apple Business Manager account with a minimal role of Device Enrollment
Section 0: Check the activation lock status first
Before starting, confirm that the Mac is not held by Activation Lock. If it is, Apple Configurator cannot complete the provisional enrollment and returns a misleading error (DEP code 33007, CloudConfigurationFatalError, "Provisional Enrollment failed"). The whole point of the partition method below is that it lets you keep the existing system running, so you can check this status without erasing the Mac first.
- Start the Mac on its normal partition and reach the desktop.
- Open the Apple menu and choose System Settings, then General > About, or open the Apple menu and hold Option to reveal System Information.
- In System Information, select Hardware and look at the Activation Lock Status line, or check Find My under the Apple ID in System Settings.
-
Alternatively, run this command in Terminal:
system_profiler SPHardwareDataType | grep -i "activation"
Section 1: Create a temporary partition on your Mac
- Open your Applications folder.
- Open your Utilities folder.
- Launch Disk Utility.
- In the sidebar, select Macintosh HD - Data.
- Click Partition in the toolbar.
- Click Add (+) below the pie chart.
- When asked whether to add a volume or divide the container's storage, click Add Partition (not Add Volume).
-
Configure the new partition:
-
Enter a name, for example
macOS Reinstall. - Enter 50 GB for the size.
- Leave the format as APFS, then click Apply.
-
Enter a name, for example
- Click Partition to confirm. The dialog states that the partition will be added and Macintosh HD will be resized. No partitions are erased.
- Click Continue on the warning about resizing the startup volume.
- Wait for the partition process to complete. The Mac will stop responding during the resize, which can take several minutes to a few hours. Do not power off the computer.
- Click Done.
- Click the Apple menu in the upper-left corner and select Shut Down.
- Click Shut Down to confirm.
Section 2: Reinstall macOS on the temporary partition
-
Start the Mac in recovery mode.
Note: On Apple silicon, press and hold the power button until "Loading startup options" appears, then select Options and click Continue. See the Apple support documentation.
- In the Recovery assistant, you may be asked to sign in to an admin account.
- Select the admin user.
- Click Next.
- Enter the password for the admin user.
- Click Continue.
- Once in the Recovery app, select Reinstall macOS Sonoma.
- Click Continue.
- Follow the prompts and agree to the software license agreement.
-
When asked where to install, select your temporary partition, for
example
macOS Reinstall. Be careful not to select Macintosh HD. - Click Continue.
- Wait for macOS to complete the installation.
Section 3: Add the Mac to Apple Business Manager
- On an iOS device, open Apple Configurator for iPhone.
- Tap Continue on the welcome screen.
- Sign in with a Managed Apple ID that has a minimal role of Device Enrollment.
- When prompted to let Configurator access the camera, tap OK. The camera is used to scan the pairing code displayed by the Mac.
- On the Mac, go to the Setup Assistant screen showing "Add this Mac to Your Organization", then use Apple Configurator for iPhone to scan the animated image inside the frame.
- Adding the Mac to Apple Business Manager or Apple School Manager may take a few minutes.
- Confirm the Mac has been added successfully. The Mac displays a "Mac Added" confirmation and the iPhone shows the device status.
- Click Shut Down on the Mac.
- Sign in to Apple Business Manager or Apple School Manager, go to Devices and confirm that your Mac appears in the list.
Section 4: Delete the temporary partition you created
- Start the Mac from the original partition, Macintosh HD. Refer to Section 2 if you are unsure how to select the correct partition.
- Open your Applications folder.
- Open the Utilities folder.
- Open Disk Utility.
-
In Disk Utility:
- Select your temporary partition in the sidebar.
- Click Partition in the toolbar.
- Select your temporary partition within the pie chart.
- Click Remove ( - ).
- The partition is removed from the pie chart and the space returns to Macintosh HD.
- Click Apply.
- Click Partition to confirm.
- Click Done once the new partition scheme has processed.
Section 5: Enroll the Mac into your MDM
- Open the Terminal app.
-
Run the following command:
sudo profiles renew -type enrollment - Type in your admin password when prompted. Nothing appears as you type.
- A notification appears in the upper-right corner prompting you to enroll into your MDM.
- Click on the notification to bring up the System Settings window.
- System Settings opens on the Profiles pane.
- Confirm that a message appears to Allow Device Enrollment.
- Click Allow.
- Enter your admin credentials.
- Click Enroll.
- The MDM profile installs, along with any other configuration profiles pushed by your MDM.
0 Commentaires