Skip to content
Tech Master Tech Master

OneStopTechnical Forum

  • Books
  • AI
  • Networking
  • Windows
  • Linux
  • Cloud
  • Mac
  • Active Directory
  • Azure
  • Cloud
  • Exchange
  • M365
  • Server 2025
  • Storage
  • Vsphere
  • Website
  • Database
  • Security
  • Knowledge Base
  • VPN
Tech Master
Tech Master

OneStopTechnical Forum

Trouble shooting on Dc when all FSMO roles transferred to new server and after shutting down the old server it search for the OLD DC

blog.payperitem.com, April 11, 2025April 11, 2025

When you’ve transferred all FSMO (Flexible Single Master Operations) roles to a new Domain Controller (DC) and shut down the old DC, yet clients or other DCs are still searching for the old server, it usually means residual references to the old DC are lingering in Active Directory or DNS.

Here’s a deep troubleshooting checklist to resolve this:


๐Ÿ” 1. Verify FSMO Role Transfer

Make sure FSMO roles are truly transferred and not just assumed.

bashCopyEditnetdom query fsmo

All roles should point to the new DC. If not, transfer using:

bash
ntdsutil
> roles
> connections
> connect to server <NewDC>
> quit
> transfer <role name>

๐Ÿ” 2. Check Old DC References in DNS

  • Open DNS Manager.
  • Expand the zones (especially Forward Lookup Zones โ†’ your domain).
  • Check for:
    • NS records (name server entries still pointing to the old DC)
    • A records for old DC
    • SRV records under:
      • _ldap._tcp.dc._msdcs.<domain>
      • _kerberos._tcp.dc._msdcs.<domain>

๐Ÿ‘‰ Delete any references to the old server.

Then force a DNS replication:

bash

repadmin /syncall /AdeP

And flush the DNS cache:

bash

ipconfig /flushdns

๐Ÿ” 3. Check AD Sites and Services

  • Open Active Directory Sites and Services.
  • Expand Sites > Default-First-Site-Name > Servers.
  • Ensure the old server is removed.
  • If itโ€™s still there:
    • Right-click and delete the old DC.
    • Then go into NTDS Settings under that server and delete any remaining connections.

๐Ÿ” 4. Remove Metadata of Old DC

If the old DC was shut down before proper demotion (dcpromo), you need to clean up metadata:

bashntdsutil
> metadata cleanup
> connections
> connect to server <NewDC>
> quit
> select operation target
> list domains
> select domain <number>
> list sites
> select site <number>
> list servers in site
> select server <number>
> quit
> remove selected server

๐Ÿ” 5. Check SYSVOL/NETLOGON Replication

If any GPOs or scripts reference the old server (e.g., with UNC paths like \\oldserver\NETLOGON), clients will keep looking for it.

Check:

  • Group Policies (gpmc.msc)
  • Logon scripts
  • Startup scripts
  • Scheduled tasks
  • Login profiles

๐Ÿ” 6. Registry / Services Dependency

Some older software or services might store static references to the old DC (especially apps that store LDAP/DC info manually).

Search the registry on other servers and clients:

bash

reg query HKLM /f "oldservername" /s

๐Ÿ” 7. Repadmin Diagnostics

Check if any DCs still reference the old DC in replication:

bash

repadmin /showrepl
repadmin /replsummary

Also look for lingering objects:

bashCopyEditrepadmin /removelingeringobjects <NewDC> <OldDC GUID> <NC>

๐Ÿ” 8. DCDIAG for Final Sanity Check

bash

dcdiag /v /c /e /f:dcdiag.txt

Look in the output for any reference to the old DC. Thatโ€™ll give clues to where it’s still being referenced.


๐Ÿงผ Optional Cleanup โ€“ ADSIEdit

If anything still remains:

  • Open ADSIEdit.msc
  • Connect to Default Naming Context
  • Navigate to: iniCopyEditCN=Sites > CN=Default-First-Site-Name > CN=Servers CN=Configuration > CN=Services > CN=Windows NT > CN=DCs
  • Delete leftover objects pointing to the old DC with care.

โœ… Final Checks

After cleanup:

bash

repadmin /syncall /AdeP
ipconfig /flushdns
dcdiag
Active Directory Networking Server 2025 Windows

Post navigation

Previous post
Next post

Related Posts

Difference between Share vs NTFS Permissions vs Security

April 14, 2025April 14, 2025

๐Ÿ“Š Comparison Table: Share vs NTFS Permissions vs Security Feature / Aspect Share Permissions NTFS Permissions Security Settings (ACLs) ๐Ÿ“ Where Configured Sharing tab โ†’ Advanced Sharing Security tab Security tab โ†’ Advanced ๐Ÿ”— Applies To Access over the network (SMB/UNC paths) Access over local + network Full NTFS model…

Read More

Deploying policy at the firmware/BIOS

April 11, 2025

Deploying policy at the firmware/BIOS level is typically done in enterprise environments to ensure system integrity, enforce security controls, and maintain hardware configuration compliance. This is especially relevant for large-scale deployments using platforms from vendors like Dell, HPE, Lenovo, or HP. ๐Ÿ” Why BIOS-Level Policy Deployment? ๐Ÿงฐ Common Methods of…

Read More

Outlook keeps popping up asking for a password and not accepting it (Part-2)

April 9, 2025April 9, 2025

Letโ€™s go deeper. Iโ€™ll break this down into root cause areas with advanced diagnostics and fixes tailored for Outlook password prompt loops. ๐Ÿง  DEEP DIVE: Outlook Keeps Asking for Password โ€“ Advanced Fixes ๐Ÿงฑ 1. Autodiscover + Authentication Flow Breakdown Outlook uses Autodiscover to locate and configure the mailbox. Any…

Read More

Recent Posts

  • List of AD Schema Versions
  • OldNewExplorer Free Download For Windows 11, 10, 8 and 7 [Latest Version]
  • How to Get the Classic (old) Context Menu on Windows 11
  • BitLocker Recovery Keys
  • Active Directory and Server hardening

Recent Comments

No comments to show.
June 2025
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
30  
« May    
Log in
©2025 Tech Master | WordPress Theme by SuperbThemes
  • Login
  • Sign Up
Forgot Password?
Lost your password? Please enter your username or email address. You will receive a link to create a new password via email.
body::-webkit-scrollbar { width: 7px; } body::-webkit-scrollbar-track { border-radius: 10px; background: #f0f0f0; } body::-webkit-scrollbar-thumb { border-radius: 50px; background: #dfdbdb }