daknetworks.com

You are here: Blog Rename Domain

Rename Domain

RENAME DOMAIN

-rdp into dc1.olddomain.tld
(dc1 is your domain controller)
-go to dns tree.
-add new FORWARD-LOOKUP-ZONE.
-right-click FORWARD-LOOKUP-ZONE.
-click NEXT > NEXT > NEXT
-type in newdomain.tld
-click NEXT > NEXT > FINISH
(this is your new domain name)
-cd c:\installs
-rendom /list
-edit c:\installs\Domainlist.xml
-replace olddomain.tld with newdomain.tld
(in 4 places. The last place doesn't have a .tld)
-rendom /upload
-rendom /prepare
-rendom /execute
-reboot
-netdom computername dc1.olddomain.tld /add:dc1.newdomain.tld
-netdom computername dc1.olddomain.tld /makeprimary:dc1.newdomain.tld
-reboot
-gpfixup /olddns:olddomain.tld /newdns:newdomain.tld
-gpfixup /oldnb:olddomain /newnb:newdomain
-rendom /clean
-rendom /end
-remove olddomain.tld from dns tree.
-final reboot to make sure it survives reboot.

-go to DHCP tree.
-go to ipv4 > server-options
-change dns domain name to newdomain.tld
-restart DHCP service
-you have have to change each scope > scope-options

Client computers will need to be rebooted twice.
-once dc is rebooted, wait 15 minutes.
-reboot client computers.
-wait 15 minutes.
-reboot client computers again.

Client computers suffix should be changed automatically.

If you need a regedit to change the primary dns suffix when membership changes:
echo y | reg add   "HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v SyncDomainWithMembership /t REG_DWORD /d 00000001

If you have problems with a client pc joining the new domain, you can:
-netdom remove oldpc /Domain:olddomain.tld /Force
-reboot
-join newdomain.tld

If you really, really, really need, you can use the USER-PROFILE-WIZARD at https://www.forensit.com/downloads.html

NOTES:
-these are better instructions than mine: https://mizitechinfo.wordpress.com

Contact Dak Networks

We are not taking on new clients at this time.