Scenario: I have cloned an Image from Existing Windows Server 2012 R2 and tried to use it in the same environment. While I was trying to join the machine in the domain, it ended up with the below error,
The Problem here is that the machine SID and Existing DC Domain which I used to clone have the same SID. Hence it is failing.
Solution:
As mentioned in the Error itself, we need to run Sysprep and generate the SID for this new machine. So that the machine can join and communicate with other domain-joined machines without any issues.
Step 1:
Sysprep is the free Windows bundled utility that can be found in the Path: %systemroot%\System32\sysprep\sysprep.exe.
Run the Sysprep.exe and follow the instructions given below,
Select: Enter System Audit Mode under system cleanup action and check the option Generalize
Select: Reboot under shutdown options and click on OK.
It will take 5-10 Minutes to complete and VM will get rebooted automatically once completed. WOOT!! Problem solved!!