Skip to content

Instantly share code, notes, and snippets.

@ChristopherA
Last active August 29, 2015 14:05
Show Gist options
  • Save ChristopherA/3cafa92b523a4d16fedb to your computer and use it in GitHub Desktop.
Save ChristopherA/3cafa92b523a4d16fedb to your computer and use it in GitHub Desktop.
Mac OSX Mavericks Setup Assistant Reinstall
Boot into single-user mode (hold ⌘-S during startup)
Once the command-line prompt appears, type the following:
mount -uw /
rm -R /Library/Preferences/
rm -R /Users/your username/
cd /var/db/dslocal/nodes/Default
ls to list the files
Delete the file that is named after your user account, with a .plist extension. So, for user name “tempadmin”, type rm tempadmin.plist
rm /private/var/db/.AppleSetupDone
reboot
Mac OS X will restart and the setup assistant will launch automatically.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment