Error Message: An account with the same name exists in Active Directory. Re-using the account was blocked by security policy.
Evaluate the computer account provisioning procedures to see if any changes are necessary.
Use the same account that set up the computer account in the target domain to perform the join operation.
Before attempting to rejoin the domain once again, remove the existing account if it is stale (unused).
Join with a different account that doesn’t already exist and rename the computer.
Workaround that is tested and working fine on several server objects.
The following registry entry can be temporarily set at the level of each client machine if the current account is controlled by a trusted security principal and the administrator wants to reuse the account.
Once the join process is finished, delete the registry setting right away. The registry key may be changed without attempting to restart the computer.
|Value||1 Other values are ignored.|
Command to add it via command prompt
reg add HKLM\System\CurrentControlSet\Control\LSA /v NetJoinLegacyAccountReuse /t REG_DWORD /d 1 /f