Currently I am using the below command line to bind any Mac to my AD, and so far has been work perfectly.

dsconfigad -a hostname -u DomainAdminsUserName -p Password --ou "CN=Computers,DC=hello,DC=com" -domain hello.com -mobile enable -mobileconfirm enable -localhome enable -useuncpath enable -groups "Domain Admins,Enterprise Admins" -alldomains enable


Question, how do I unbind a Mac from AD to reverse the above configuration using the command line?

2 Answers 2

dsconfigad -remove -u DomainAdminsUserName -p Password

If that doesn't work, you may need to add -force.


Works like a charm from the command line and Jamf

dsconfigad -remove -u DomainAdminsUserName -p Password

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .