Sub topic 16
Fixing common setup problems
This chapter covers the failures people hit most often when setting up a Mac with an Apple Account, and how to work out the cause of each one. It assumes you have read the earlier chapters on Setup Assistant, sign-in, two-factor authentication, iCloud, FileVault, updates and Time Machine. You should be comfortable opening System Settings and Terminal.
A method for diagnosing setup problems
Most setup problems fall into four groups: network, account, sync and storage, and security or update state. Check them in that order, because a network fault can look like an account fault.
- Confirm the Mac is online.
- Confirm Apple's services are available.
- Confirm the account itself is in good standing.
- Check the specific feature that is failing.
Change one thing at a time. If you change three settings and the problem goes away, you will not know which change fixed it, and you will not know what to do next time.
Network and service problems
If Setup Assistant cannot reach Apple, sign-in, activation and iCloud setup all fail, often with vague errors such as "Unable to verify" or "Could not sign in."
Check these first:
- Wi-Fi password. A mistyped password is the most common cause. Rejoin the network.
- Captive portals. Hotel, school and office networks may require a web login before they allow internet access. Setup Assistant cannot show that login page well. Use a personal hotspot or a wired connection to finish setup, then join the restricted network later.
- Date and time. If the clock is wrong, secure connections fail. Setup Assistant normally sets it from the network, so a wrong clock usually points back to a network fault.
- Apple's system status. Apple publishes a status page for its services. If Apple ID sign-in or iCloud shows an outage, waiting is the correct fix.
- Content filters, VPNs and proxies. Managed networks may block Apple's servers. Turn off the VPN and retry.
You can test basic connectivity from Terminal once you have a desktop:
ping -c 4 apple.comIf the ping succeeds, DNS and the internet connection work, and the problem is more likely the account or the service.
Sign-in and verification problems
The verification code never arrives
Codes are shown on your other trusted devices as a prompt. They are sent by text or call only if you ask for that. Try these steps in order:
- Check every trusted device, including an iPad or another Mac you rarely use.
- Choose the option to get a code by text message or phone call.
- Confirm the phone number on the account is still current. If you changed numbers, you need account recovery, covered in the earlier chapter.
- Check that the date and time on the trusted device are correct.
Codes expire quickly. Request a new one rather than retrying an old one.
"This Apple Account has been locked"
Apple locks an account when it sees repeated failed sign-ins or suspicious activity. Do not keep guessing passwords, because that extends the lock. Use the account recovery flow on Apple's account website from another device, then sign in again.
Sign-in loops during setup
If Setup Assistant keeps returning to the sign-in screen, choose "Set Up Later" and finish creating the Mac user account. Then sign in from System Settings. This separates a failing Setup Assistant step from a failing account, and System Settings gives more detailed error text.
Wrong account signed in
If you signed in with an older or work account by mistake, sign out in System Settings and sign in with the right one. When you sign out, the Mac asks whether to keep a copy of iCloud data such as contacts and calendars. Keep a copy if you are unsure, because you can remove duplicates later but cannot easily recover deleted data.
Activation Lock and "Mac is locked" messages
A secondhand Mac may show a message that it is locked to another Apple Account. That is Activation Lock, which is working as designed. It protects the previous owner and cannot be bypassed by reinstalling macOS.
The only correct fix is for the previous owner to remove the Mac from their account. They can do that from their Find My settings or from the Apple Account website. If you cannot reach the seller, return the Mac. Do not buy tools that claim to bypass the lock.
You can check which Mac you have, and compare it to the devices listed on your account, with:
system_profiler SPHardwareDataTypeCompare the model and serial number with the device list in your Apple Account settings. A Mac that does not appear in your list, or that appears under someone else's name, is not yet set up under your account.
iCloud sync problems
Sync issues show up as missing files, stale contacts, or a spinner that never stops.
| Symptom | Likely cause | What to try |
|---|---|---|
| Photos or Drive files do not appear | Sync is still running, or the feature is off | Wait, then confirm the feature is on in System Settings > Apple Account > iCloud |
| "iCloud storage is full" | The free 5 GB tier is used up | Remove old backups and large files, or buy more storage |
| Contacts or calendars differ between devices | One device is signed in to a different account | Check the account on each device |
| Keychain passwords missing | iCloud Keychain or Passwords is off on this Mac | Turn it on and approve it from a trusted device |
| Sync stalls for hours | Low power mode, poor network, or a service issue | Plug in, check the network, check Apple's status page |
Large first syncs can take hours or days, especially for a big Photos library. A Mac in Low Power Mode, or one that sleeps often, syncs more slowly. Leave it plugged in and awake for the first sync.
Turning a service off and on again often restarts a stuck sync. Before doing this with Desktop and Documents, make sure you understand the prompt. Turning the feature off can offer to keep a local copy or remove files from the Mac.
Update problems
Updates fail for three common reasons: not enough free space, a network drop, or a Mac too old for the release.
First, see what the Mac is running and what is available:
sw_vers
softwareupdate --listsw_vers prints the product name, version and build. softwareupdate --list shows available updates. If the list is empty but System Settings claims an update exists, wait a few minutes and run it again, because the catalog can lag.
Other fixes:
- Free space. Major upgrades need many gigabytes of free storage, plus extra working space. Check Storage in System Settings > General.
- Stuck download. Restart the Mac and try again on a stable network.
- Mac not eligible. Apple publishes the list of Macs each release supports. If yours is not listed, install the latest release it does support.
- Power. A laptop should be plugged in. An update can refuse to start on low battery.
FileVault and Touch ID problems
FileVault asks you to choose how to recover your disk if you forget your password. Do not skip this decision. Check the current state with:
fdesetup statusThe output reads FileVault is On. when encryption is active. If it says encryption is in progress, the Mac is still encrypting in the background. This is normal, and you can keep working.
Common Touch ID issues:
- Touch ID is not offered at startup. After a restart, macOS always requires your password once. Touch ID works again after you sign in.
- Fingerprint not recognized. Clean and dry your finger and the sensor, then re-enroll the fingerprint under System Settings > Touch ID & Password.
- Touch ID unavailable after several failed attempts. Enter your password to reset the counter.
Time Machine problems
If Time Machine will not start, first confirm that a destination exists:
tmutil destinationinfoIf it reports no destinations, you have not set one up yet. Add a drive in System Settings > General > Time Machine.
Other common causes:
- The drive is not formatted in a format macOS can back up to. Time Machine offers to erase and format it, so check that the drive holds nothing you need.
- The drive is too small. A backup disk should be larger than the data you back up.
- A network backup target is asleep or unreachable.
When to stop and get help
Stop and contact Apple Support, or visit an authorized service provider, when:
- the account is locked and recovery does not complete
- Activation Lock names an owner you cannot reach and you have no proof of purchase
- the Mac fails to finish installing macOS after repeated attempts
- the hardware details from
system_profilerdo not match your purchase records
Bring your proof of purchase and the serial number. Do not share your password or verification codes with anyone, including someone claiming to be support who contacted you first.
Exercise
You set up a Mac and Setup Assistant keeps returning to the Apple Account sign-in screen after you enter the correct password and a verification code. List the order in which you would investigate, and name one setup choice that lets you keep going.
Show answer
First confirm the network works (rejoin Wi-Fi, try a hotspot, check Apple's system status page). Then check that the date and time are correct and that no VPN or content filter is blocking Apple's servers. Next confirm the account is not locked and that the code was a fresh one. To keep going, choose "Set Up Later" for the Apple Account, finish creating the Mac user account, and sign in from System Settings, which gives more detailed error messages.
Exercise
After an update, you want to confirm the macOS version and see whether more updates are waiting. Which two Terminal commands do you use, and what does each report?
Show answer
Run sw_vers to print the product name, version and build number. Run softwareupdate --list to list the macOS updates and other software updates available for this Mac.
Exercise
You bought a used Mac and it shows a message that it is locked to another Apple Account. Can you fix this by reinstalling macOS? What should you do?
Show answer
No. This is Activation Lock, and reinstalling macOS does not remove it. The previous owner must remove the Mac from their Apple Account, using Find My or the Apple Account website. If you cannot reach them, return the Mac.