Server 2019 rename PDC

Tom A 21 Reputation points
2021-08-06T13:47:01.157+00:00

Hello all - I made so many stupid moves in this one I don't know where to begin, but maybe one of you can help. The long story short is:

I joined a new DC (hostname DB65BFF3) to an existing domain

Promoted it to DC

Demoted the old DC (hostname ny-dc-01)

Renamed ny-dc-01 to be ny-dc-old

Renamed PDC to be ny-dc-01 so all existing shares and workstations would look to it without breaking connection

All the shares and DNS are working, but my AD is now down (for obvious reasons). Any commands I try now fail. DCDIAG shows the correct home server name, but still shows the old server name for default first site name. I cannot open AD User and Computers or any other AD application without it throwing errors that it cannot reach the domain.

I tried to rename the server back to the original name and that failed. I even tried a Hail Mary of renaming from the GUI which failed.

My obvious mistake was not having a BDC running during the rename process, but it's too late to fix that now.

Is there anything I can do? What about promoting the old server back to a DC and seeing I can join the domain? The metadata might still be there and it's still joined to the domain. Could that work?

Thank you kindly,

Tom

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,635 questions
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2021-08-06T14:21:09.55+00:00

    You're right, pretty screwed up. Might try manually creating DNS records for
    NY-DC-01 = 192.168.1.5
    DB65BFF3 = 192.168.1.5

    then reboot

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2021-08-06T13:51:26.423+00:00

    Please run;

    Dcdiag /v /c /d /e /s:%computername% >C:\dcdiag.log
    repadmin /showrepl >C:\repl.txt
    ipconfig /all > C:\dc1.txt
    ipconfig /all > C:\dc2.txt
    ipconfig /all > C:\problemworkstation.txt

    then put unzipped text files up on OneDrive and share a link.