Professor Robert McMillen shows you a fix for the error when demoting old Windows domain controller. If your old DC won't demote, this may be the reason it fails. This is a quick registry fix that is demonstrated.
Here is the regedit path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters