> Automation > Objects > Active Directory > Unjoin Domain

Unjoin Domain

Removes a computer from a domain.

Privileges

Normal

Input Parameters

Name Type Required Description
Computer String Yes The name of the computer.
Computer User String Yes The name of a user of the computer.
Computer Password String Yes The password of a user of the computer.

Output Parameters

Name Type Description
Result Number Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

Name Type Required Example
Computer String Yes Device1
Computer User String Yes administrator
Computer Password Selector Yes Password!@#

Remember to clean up the computer object in Active Directory.