Latest in How-to

Image credit:

How to make OS X Mavericks re-run the Setup Assistant

1 Shares
Share
Tweet
Share
Save

Sponsored Links

I recently loaded OS X Mavericks on an old (2007) 20" iMac, and to check that everything was fine I ran the machine through the full Setup Assistant -- setting up a user with my name in the process. Rather than reloading Mavericks on the iMac to clean it off, I did a quick Google search on how to get Mavericks to re-run the Setup Assistant, and I was lucky to find this post by Mark Boszko where he referenced an earlier Mac OS X Hints post on the same topic.

If you're command-line averse, you may wish to just reload OS X, but if you know your way around the CLI, here's how you clean up a Mac and get it to re-run the Setup Assistant:

  1. Boot into single-user mode by holding down Command-S on the keyboard during startup
  2. At the command-line prompt, type mount -uw /
  3. rm -R /Library/Preferences
  4. rm -R /Users/YOURUSERNAME/ <-- replace YOURUSERNAME with whatever your user name is
  5. cd /var/db/dslocal/nodes/Default
  6. ls (to list the files)
  7. Delete the file that is named after your user account with a .plist extension. For example, for user name "stevesande" you'd type rm stevesande.plist
  8. rm /private/var/db/.AppleSetupDone
  9. reboot

At this point, OS X restarts and the Setup Assistant launches automatically, initially asking you what language you want to set up the Mac in. Since you're going through this entire dog-and-pony show to set up the Mac for a new user, you don't want to run Setup Assistant again, so just press Command-Q at the language screen, then click the Shut Down button.

When the new owner boots up their shiny "new to them" Mac, they're greeted with the Setup Assistant just as if they'd picked up the device at their local Apple Store.

All products recommended by Engadget are selected by our editorial team, independent of our parent company. Some of our stories include affiliate links. If you buy something through one of these links, we may earn an affiliate commission.
Comment
Comments
Share
1 Shares
Share
Tweet
Share
Save

Popular on Engadget

Hulu's 'Castle Rock' season 2 teaser shows the origins of 'Misery'

Hulu's 'Castle Rock' season 2 teaser shows the origins of 'Misery'

View
YouTube is shutting down its TV-friendly web interface

YouTube is shutting down its TV-friendly web interface

View
SIM-based attack has been used to spy on people for two years

SIM-based attack has been used to spy on people for two years

View
Discord is pulling its subscription service's free games library

Discord is pulling its subscription service's free games library

View
Deluge of Pixel 4 photos confirms a few of the phone's key specs

Deluge of Pixel 4 photos confirms a few of the phone's key specs

View

From around the web

Page 1Page 1ear iconeye iconFill 23text filevr