HomeMacCan't delete UserCannot delete grayed out user and password doesn't work

5.1. Cannot delete grayed out user and password doesn't work

Source: https://medium.com/@ambroselittle/cant-delete-original-admin-user-on-macos-high-sierra-1d79fb438246

  1. System Preferences > Login Options > Join… > Open Directory Utility…
  2. Click to unlock it. (You may need to Enable Root User in Edit menu.)
  3. 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.
  4. Find the GeneratedUID field on the right and copy it somewhere safe.
  5. Change one digit in it and Save.
  6. Find your new/main user account > GeneratedUID, paste in the one copied above. Save.
  7. Run `diskutil apfs updatePreboot disk1s1` in Terminal. (disk name in place of disk1s1)
  8. Reboot.
  9. Login as your main user. You should be able to delete the original user now.

This page was: Helpful | Not Helpful