Rename Active Directory Domain running Windows Server 2019 (for test)

Rename Active Directory Domain running Windows Server 2019 (for test)

Donate Us : paypal.me/MicrosoftLab

Rename Active Directory Domain running Windows Server 2019 (for test)

1. Prepare

– DC31 : Domain Controller(Yi.vn) | WIN101 : Domain Member

2. Step by step : Rename Yi.vn to Yz.vn

– WIN101 : Check domain : Yi.vn

– DC31 : Rename Yi.vn to Yz.vn

+ Create a Zone DNS Named Yz.vn :

+ Server Manager – Tools – DNS – DC31 – Right-Click “ForWard Lookup Zones” – New Zone… – Zone Type : Primary zone – Zone Name : Yz.vn – Finish

+ Start – cmd – Type : rendom /list # An xml file created lists the current domain information

+ Go to C:Usersadministrator to check file Domainlist.xml

+ Righ-click Domainlist.xml – Open with – Notepad – Replace Yi.vn to Yz.vn

+ At cmd, type :

+ rendom /showforest # verify the new configuration + rendom /upload # upload the modified xml to our domain controllers

+ rendom /prepare # prepare for domain rename by verifying authorization

+ rendom /execute # Execute the uploaded script on all domain controllers to actually perform the domain rename operation === Restart

+ Logon using YzAdministrator

+ Check “Group Policy Managememt” : + Server Manager – Tools – Group Policy Management === Fail

+ Start – Right-Click cmd – Run as administrator, Type :

+ gpfixup /olddns:Yi.vn /newdns:Yz.vn + gpfixup /oldnb:Yi /newnb:Yz # Update DNS

+ netdom computername DC31.Yi.vn /add:DC31.Yz.vn + netdom computername DC31.Yi.vn /makeprimary:DC31.Yz.vn === Restart

+ Start – Right-Click cmd – Run as administrator, Type : rendom /clean # clean up

– WIN101 : Logon using YzHiepIT – Check domain Yz.vn === OK === Restart

————————————————————******************** Youtube.com/c/MicrosoftLab ********************———————————————————

4 Comments

  1. microsoft lab on October 21, 2021 at 9:49 am

    Donate Us : paypal.me/MicrosoftLab



  2. Ömer YÜCE on October 21, 2021 at 10:03 am

    Hi, I did exactly what you said. There is no problem until the last stage. But when I test the computer I used before, it still writes the previous domain name. When I write the user name with the new domain name, it gives the following error.

    "The security database on the server does not have a computer account for this workstation trust relationship."

    At the end of the video, I think you had problems in the same place. Can you explain how you solved the problem. Thank you.



  3. Linus Haacke on October 21, 2021 at 10:27 am

    Thank your very much!



  4. Mateusz Podżorski on October 21, 2021 at 10:36 am

    I’ve got no domain admin rights after this, any tips?