Hello… I need to unbind a few mac devices from the active directory that it has been associated with. Getting to the AD portal is not an option right now. So I have to find another way around this. Can anyone help me with this. Thanks in advance for the help.
Hey @96anneette,
Welcome to the Hexnode community.
Currently, Hexnode doesn’t have an option to unbind a Mac from an Active Directory. However, you can unbind the device by running a Bash script on the device using the Execute Custom Script action. Use the script below to unbind the device.
1 |
dsconfigad -remove -u -p |
Replace <username>
with the Domain admins username and <password>
with the respective password.
You can also unbind AD at the device level. Search for Directory Utility using the Spotlight Search on your macOS device. The Services page lists all of the services to which the device is connected. To make modifications, click the lock symbol and enter the admin credentials. Unbind the service by selecting it and clicking the Unbind option. For further information, follow the link.
Hope that helps your query.
Cheers!
Johan Blake
Hexnode UEM
13 July 2022