lunes, 4 de diciembre de 2023

Rename AD Domain name

  1.  rendom /list
  2. notepad Domainlist.xml 
  3. (edit file and save)
  4. rendom /showforest (show changes)
  5. rendom /upload 
  6. rendom /prepare
  7. rendom /execute
  8. Domain controllers restarts themselves
  9. Workstations and servers must be rebooted twice to change their names
  10. Rename manually domains controllers 
    • netdom computername DC01.dominio.com /add:DC01:newdomain.com 
    • netdom computername DC01.dominio.com /makeprimary:DC01:newdomain.com 
  11. Reboot domain controllers to apply changes
  12. gpfixup /olddns:dominio.com /newdns:newdomain.com
  13. rendom /clean
  14. rendom /end

Create a new zone for the domain name:
  • Create whatever the domain name is called, nedomain.local or newdomain.com (whatever the new AD DNS domain name is).
  • Make the zone AD integrated.
  • For the replication scope select the center button (To all DNS servers running on domain controllers in the domain), and allow Secure and Unsecure Updates.

Then create the _msdcs zone:

  • Create an _msdcs.newdomain.local or _msdcs.newdomain.com zone (as above, whatever the new AD DNS domain name is.
  • Make the zone AD integrated.
  • For replication scope, select the top button (To all DNS servers running on domain controllers in the forest), and allow Secure and Unsecure updates.

Then either restart the DC, or run the following (which is my usual option):

  • ipconfig /registerdns
  • Net stop netlogon
  • net start netlogon

No hay comentarios:

Publicar un comentario

L2TP Ipsec Windows to Mikrotik eror 789

 Add this to registry REG ADD HKLM\SYSTEM\CurrentControlSet\Services\PolicyAgent /v AssumeUDPEncapsulationContextOnSendRule /t REG_DWORD /d...