Can’t Delete Original Admin User on macOS High Sierra
I recently migrated to a new MacBook Pro. The old one was on High Sierra, but the new one wasn’t. So I created a temp “admin” account to do the upgrade, then do the migration with Migration Assistant.
All seemed okay, but when I went to delete the original user account, I couldn’t. And I don’t mean “you don’t know how to delete accounts” couldn’t. I mean, I tried every possible way, and it wouldn’t couldn’t.
I found this thread on the Apple forums with people having the same problem. After trying everything else, this is the solution shared in one of the replies that worked. Warning, I have no idea of the side effects this might have, but so far so good for me. Also, do not come crying to me if it totally hoses your machine. You’ve been warned!
- System Preferences > Login Options > Join… > Open Directory Utility…
- Click to unlock it. (You may need to Enable Root User in Edit menu.)
- Go to Directory Editor. Search to find the user you can’t delete — the original user that was logged in when upgrading to High Sierra.
- Find the GeneratedUID field on the right and copy it somewhere safe.
- Change one digit in it and Save.
- Find your new/main user account > GeneratedUID, paste in the one copied above. Save.
- Run `diskutil apfs updatePreboot disk1s1` in Terminal.
- Login as your main user. You should be able to delete the original user now.
Crazy! But if your somewhat OCD like me, you don’t want that old user hanging around…
A probably better/safer solution, if you don’t mind redoing your migration:
After you have upgraded Mac to High Sierra..
- Restart and hold CMD+R.
- Use Disk Utility to erase the Macintosh HD.
- Reinstall macOS High Sierra
- THEN migrate during the initial setup.
This should avoid the problem entirely. If that’s an option, do it. ;)
UPDATE (11 Nov 2017): I found that Touch ID and unlocking with Apple Watch no longer worked. The solution: re-add your fingerprints in Touch ID System Preferences. This will fix Touch ID. To fix Watch, you have to sign out of iCloud, reboot, sign back in. You may need to reboot again. This should let you turn Unlock with Watch on again successfully