Benches macOS

3

Making the Setup Assistant reappear

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

I want to update the software on a Mac OS X system I'm going to be giving someone else, but I want them to set up the computer themselves. How do I make the Setup Assistant reappear without restoring the computer's original software?

Answer: Restart the machine with the Command and S keys held down, and type the following commands into the prompt in order:

mount -uw /
mv /var/db/netinfo/local.nidb /var/db/netinfo/local.nidb.old
mv /var/db/.AppleSetupDone /var/db/.AppleSetupDone.old

Shut down your computer, and the Setup Assistant will reappear the next time it is turned on. Be sure to enter the commands properly, as you may damage your setup by making a mistake.

Any comments or suggestions will be appreciated.

(6333)

3 replies

Sign in or join Beachball Help to reply.

  1. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

     
    Hi Niel,

    Alternatively, you could also use the Terminal, enter this command -

    sudo mv /var/db/netinfo/local.nidb /var/db/netinfo/local.nidb.old

    and shut down the computer.

    (I think the 'AppleSetupDone'-part is not required in 10.2 and later, and in earlier versions, just rm-ing it should be sufficient.)

     
    Joerg

  2. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I'm not sure it's a good idea to move a NetInfo database when someone is logged in. From what I've been able to tell, the AppleSetupDone file is used in my Mac OS X 10.35 system, and I'm hesitant to tell people to use rm because they might delete stuff they shouldn't. The current set of commands is:

    mount -uw /
    mv /var/db/netinfo/local.nidb /var/db/netinfo/local.nidb.old
    mv /var/db/.AppleSetupDone /var/db/.AppleSetupDone.old
    shutdown -h now

    which will also shut down the machine.

    (6375)

  3. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

     
    Hi Niel,

    I see your point - and the set of commands you posted works fine, too. Even though the AppleSetupDone file is present and in use in 10.3, (re)moving it should not be necessary to trigger the Setup Assistant - but doing so won't do any harm either.

     
    Joerg