Following a major macOS upgrade, incremental security update, or new user setup assistant routine, Mac users frequently find their screen permanently halted on: Setting Up Your Mac…. The modal dialogue displays a spinning loading gear or indeterminate progress indicator that spins for hours without progressing to the desktop. This freeze leaves users hesitant to power down the machine for fear of corrupting the operating system or losing newly transferred personal files.
Resolving this setup halt requires safely interrupting the post-install daemon, bypassing iCloud synchronisation stalls, and using Safe Mode to complete initial profile registration.
Why Does macOS Freeze on ‘Setting Up Your Mac’?
By the time the ‘Setting Up Your Mac’ screen renders, the actual macOS installation has completed 100%. The freeze occurs during auxiliary post-installation tasks:
- iCloud Analytics and Keychain Sync Deadlock: The setup assistant attempts to negotiate an encrypted sync handshake with Apple identity servers, hanging when network latency or Apple server maintenance interrupts the token exchange.
- FileVault Encryption Initialisation Hang: Enabling FileVault during setup triggers initial volume encryption metadata creation, which can stall on mechanical drives or heavily populated APFS containers.
- Spotlight and Siri Indexing Collision: The macOS metadata indexing daemon (
mdworker_shared) immediately attempts to parse internal storage while the user profile container is still being configured. - Corrupted Setup Assistant Plist: A malformed preference file in
/Library/Preferences/com.apple.SetupAssistant.plistfails to signal completion to WindowServer. - Incompatible Kernel Extensions (KEXTs): Legacy third-party security or audio drivers carried over from an earlier macOS version halting initial login window initialization.
Step 1: Perform a Safe Hard Restart
Because the core operating system files have already been committed to the sealed system volume (SSV), powering down during this screen will not damage macOS:
- Press and hold the Power button (or the Touch ID sensor on MacBooks) continuously for 10 seconds until the display turns black and the machine shuts down completely.
- Disconnect all external peripherals, including USB hubs, external SSDs, display monitors, and audio interfaces.
- Wait thirty seconds to allow residual capacitor charge to dissipate.
- Press the Power button once to turn the Mac on normally.
- In over 80% of occurrences, macOS will bypass the completed setup phase and boot directly into the standard login screen or desktop.
Step 2: Boot into Safe Mode to Bypass Setup Daemons
If the Mac boots right back to the frozen ‘Setting Up Your Mac’ screen, Safe Mode flushes system caches and disables non-essential launch daemons:
- On Apple Silicon Macs (M1/M2/M3/M4):
- Shut down your Mac completely.
- Press and hold the Power button until you see Loading startup options.
- Select your primary startup volume (Macintosh HD).
- Press and hold the Shift key, then click Continue in Safe Mode.
- On Intel-based Macs:
- Power on your Mac and immediately press and hold the Shift key.
- Release the Shift key when the login window appears.
- Log in to your account. In Safe Mode, complete any pending prompts, then restart normally via Apple menu > Restart.
Step 3: Skip iCloud Sign-In During Setup
If you are forced through the initial Setup Assistant again after restarting:
- Proceed through language and Wi-Fi selection.
- When prompted to sign in with your Apple Account / Apple ID, click Set Up Later.
- Confirm by clicking Skip.
- Decline enabling Siri, Analytics sharing, and Screen Time during initial setup.
- Once your desktop loads cleanly, open System Settings and sign in to your Apple ID safely from within the operating system.
Step 4: Remove Corrupted Setup Assistant Completion Flags via Recovery
If the setup loop persists across reboots, touch the completion flag using macOS Recovery Terminal:
- Boot into macOS Recovery (hold Power on Apple Silicon; hold
Command + Ron Intel). - Select Utilities > Terminal from the top menu bar.
- Mount and unlock your primary disk if prompted:
diskutil apfs unlockVolume "Macintosh HD - Data" - Create the setup assistant completion token:
touch "/Volumes/Macintosh HD - Data/private/var/db/.AppleSetupDone" - Restart your Mac:
reboot
Step 5: Run First Aid on APFS Containers
Verifying filesystem integrity rules out disk catalogue errors:
- In macOS Recovery, open Disk Utility.
- Select View > Show All Devices.
- Highlight your internal drive container and click First Aid.
- Allow the disk repair tool to verify partition maps and APFS snapshot trees.
- Reboot normally to access your desktop.