So you might have a system hardcoded to talk with that domain controller. Now you need to find which servers are talking to the domain controller.
- Disable dynamic DNS
REM Add registry value reg add HKLM\System\currentcontrolSet\Services\Netlogon\Parameters /v UseDynamicDns /t REG_DWORD /d 0x0 /f REM restart service net stop netlogon&&net start netlogon
- So now clean up the DNS of that domain controller so no more clients will talk to the server by DNS queries.
- Wait a couple of days.
- Then use Network monitor to check if any and which clients are still talking to the server.
- For DNS you can use my script from the blog post about DNS logging.
- Continue to remove systems that are still using the Domain Controller.
- When you give up or is done. You can now remove the domain controller.
- Depending on which Windows version you have you have the option of dcpromo or the Server Manager.
How to Prevent Domain Controllers from Dynamically Registering DNS Names
Update: Since I wrote thisĀ Pierre Audonnet has written about this too given the following suggestions.