![mac os cannot delete user mac os cannot delete user](https://i.stack.imgur.com/yaH9M.png)
If your Mac has FileVault enabled, you'll need to log in after the restart. Restart your Mac and it will launch Setup Assistant. The command line should return with no response.
![mac os cannot delete user mac os cannot delete user](https://cdn.osxdaily.com/wp-content/uploads/2016/02/startup-disk-almost-full-mac-message.jpg)
rm '/Volumes/Macintosh HD/var/db/.AppleSetupDone' Substitute "startup disk" with the actual name of your startup disk. Select Terminal from the drop-down menu.Įnter the following command, exactly as shown. Go to the top menu bar (where the Apple logo resides) and click on Utilities. Make sure that the startup disk is mounted before continuing. If requested, select your username and enter your password. If the name is greyed out, or if you see the text "Not Mounted", click the Mount button. Select your startup disk in the pane to the left and take note of its name. When the macOS Utilities window appears, select Disk Utility and continue. Release the keys when the Apple logo and a progress bar appear. Restart your Mac while holding down Command+ R. You may need to reboot again.In this case, I would recommend the following solution if you don't have FileVault enable : To fix Watch, you have to sign out of iCloud, reboot, sign back in. The solution: re-add your fingerprints in Touch ID System Preferences.
#Mac os cannot delete user update
UPDATE (): I found that Touch ID and unlocking with Apple Watch no longer worked. Use Disk Utility to erase the Macintosh HD. You should be able to delete the original user now.Ī probably better/safer solution, if you don’t mind redoing your migration:Īfter you have upgraded Mac to High Sierra. Run `diskutil apfs updatePreboot disk1s1` in Terminal.Ĩ. Find your new/main user account > GeneratedUID, paste in the one copied above. Find the GeneratedUID field on the right and copy it somewhere safe.ĥ. Search to find the user you can’t delete - the original user that was logged in when upgrading to High Sierra.ģ. (You may need to Enable Root User in Edit menu.) Go under System Preferences > Login Options > Join... > Open Directory Utility…Ĭlick to unlock it. It will not work while you are logged under it!Ģ. Please make sure you log off the account you are deleting it. This fix for unable to delet the original user account, it throws up an error.ġ. The old one was on High Sierra, but the new one wasn’t. Issue is for migrating old profiles to a new MacBook Pro. Can’t Delete Original Admin User on macOS High Sierra