Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

guyguy17

macrumors member
Original poster
Mar 31, 2017
91
10
Last year, I had set up several new Macs. I took them out of the box and created a local admin account with a password. This is the only account on these computers. These computers are joined to AD domain.

Unfortunately, some of the computers I don't remember the password to the local admin account. I don't want to erase them because they are used by staff members.

If I go to terminal and use the "reset password" command, that doesn't help either because it asks for the local admin password in order to continue to reset it.

How do I fix it?
 
I have already looked at the article and some of it doesn't pertain to this situation. We don't use Apple ID or iCloud. Touch ID is not enabled. File Vault is disabled. I have restarted the computers and they do have a wired connection. I am able to sign in with a network account but that doesn't help it.

When I use the "reset password" command, it asks for the password to a local admin account and that is the problem. I need to reset that password.

If I "deactivate" the computer then I may not be able to sign in at all with any accounts.
 
Did you boot into Recovery and follow the procedure in the linked support document? If so, at what point do you get stuck?
 
Yes, I booted in to Recovery mode. Where I am hesitant is using the "deactivate" option. I don't want to lose any data that is on the computer. Also, I don't want any network login passwords to be affected by the deactivation.
 
Well, deactivate won’t erase any data but it will disable account logins until passwords are reset. Don’t know what happens with network accounts but sounds like you don’t have a choice but to try.
 
Deactivating the Mac basically means deleting the existing keychain and creating a new one. The following screen should let you reset the password for all the local accounts. You won't lose your data and shouldn't get locked out. To be extra sure, do you have a spare Mac to put on the AD domain to test this out first?


Another idea... Create a new admin account if you're able to. Then use the new admin account to reset the password for the original admin account from inside macOS.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.