Skip to content

Unjoin Domain

Removes the computer from its Active Directory domain and puts it in the workgroup WORKGROUP. Optionally deletes the computer object in Active Directory.

Required

Domain account with permission to unjoin the computer from domain. Ex. CONTOSO\Administrator

Required

Password for the domain account.

Optional — Default: False

Enable to delete this computer’s object in Active Directory after the computer has left the domain, so it can later join again in any OU without an old object in the way. Disable to leave the object in Active Directory.\n\nWarning: deleting the object also deletes the BitLocker recovery keys and the local administrator password (LAPS) stored on it, and the computer’s group memberships. If the disk stays encrypted, save its recovery key somewhere else first.\n\nThe domain account must be allowed to delete computer objects in the OU where the object is. If it is not, the computer still leaves the domain, the object stays, and the step fails with a message saying so.

Optional — Default: True

Enable to reboot the workstation after successful domain unjoin. Disable to continue without rebooting.

  • Category: Provisioning
  • Brick ID: AD-UnjoinDomain