Rename a computer name as old computer name in a domain. There is an error “The account already exists”. Check the following records to make sure there is no record of the old computer name.
- Active Directory Users and Computers
- ADSI Edit
Disjoin domain doesn’t remove the computer account. You need remove it manually.