﻿{"id":514,"date":"2014-02-06T13:00:36","date_gmt":"2014-02-06T16:00:36","guid":{"rendered":"http:\/\/binsfeld.com.br\/wp\/?p=514"},"modified":"2014-06-08T14:24:43","modified_gmt":"2014-06-08T17:24:43","slug":"renomear-nome-do-dominio-active-directory","status":"publish","type":"post","link":"http:\/\/binsfeld.com.br\/wp\/?p=514","title":{"rendered":"Renomear nome do Dominio Active Directory"},"content":{"rendered":"<p><b><span style=\"text-decoration: underline;\">Step 1: Rename ADDS Domain Name<\/span><\/b><\/p>\n<p>1. Open Command Prompt in Administrator Mode<\/p>\n<p>2. Execute &#8216;RenDom \/List&#8217; to generate Forest Naming Context in XML file<br \/>\nExecute &#8216;RenDom \/ShowForest&#8217; to view auto generated xml of current domain<\/p>\n<div><a href=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_016.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" style=\"border: 0px;\" src=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_016.png\" alt=\"\" width=\"400\" height=\"205\" border=\"0\" \/><\/a><\/div>\n<div><\/div>\n<p>3. Update the current domain name with new domain name and save the file<br \/>\nIn this tutorial, rename domain name &#8216;RX2012&#8217; to &#8216;RX1201&#8217;<\/p>\n<div><a href=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_003.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" style=\"border: 0px;\" src=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_003.png\" alt=\"\" width=\"400\" height=\"360\" border=\"0\" \/><\/a><\/div>\n<p>4. Execute &#8216;RenDom \/ShowForest&#8217; to view the new domain name in xml file<\/p>\n<div><a href=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_004.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" style=\"border: 0px;\" src=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_004.png\" alt=\"\" width=\"400\" height=\"72\" border=\"0\" \/><\/a><\/div>\n<p>5. Execute &#8216;RenDom \/Upload&#8217; to the domain name changes from xml file<\/p>\n<div><a href=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_005.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" style=\"border: 0px;\" src=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_005.png\" alt=\"\" width=\"400\" height=\"47\" border=\"0\" \/><\/a><\/div>\n<p>6. Execute &#8216;RenDom \/Prepare&#8217; to start prepare domain name rename<\/p>\n<div><a href=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_006.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" style=\"border: 0px;\" src=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_006.png\" alt=\"\" width=\"400\" height=\"77\" border=\"0\" \/><\/a><\/div>\n<p>7. Execute &#8216;RenDom \/Execute&#8217; to start domain name rename process.<br \/>\nAfter this process completed, the server will be automatically rebooted.<\/p>\n<div><a href=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_007.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" style=\"border: 0px;\" src=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_007.png\" alt=\"\" width=\"400\" height=\"78\" border=\"0\" \/><\/a><\/div>\n<p>8. After the server reboots, pls take note to switch user to logon with new domain name<\/p>\n<p><b><span style=\"text-decoration: underline;\">Step 2: Fix Up Group Policy After Domain Name Rename<\/span><\/b><\/p>\n<p>1. After rename process completed, GPMC will need to be fix up to use the new domain name.<br \/>\nYou will encounter the following error:<\/p>\n<div><a href=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_008.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" style=\"border: 0px;\" src=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_008.png\" alt=\"\" width=\"400\" height=\"388\" border=\"0\" \/><\/a><\/div>\n<p>2. Execute two commands to fix GPMC (DNS &amp; NetBIOS Name):<br \/>\n&#8211; Execute &#8216;gpfixup \/OldDNS:&lt;OLD_DOMAIN_NAME&gt; \/NewDNS:&lt;NEW_DOMAIN_NAME&gt;&#8217;<\/p>\n<div>\u00a0 \u00a0 &#8211; Execute &#8216;gpfixup \/OldNB:&lt;OLD_NETBIOS_NAME&gt; \/NewNB:&lt;NEW_NETBIOS_NAME&gt;&#8217;<\/div>\n<div><\/div>\n<div><a href=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_009.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" style=\"border: 0px;\" src=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_009.png\" alt=\"\" width=\"400\" height=\"177\" border=\"0\" \/><\/a><\/div>\n<p><b><span style=\"text-decoration: underline;\">Step 3: Rename Server Domain<\/span><\/b><\/p>\n<div>1. After Domain Name Rename completed, the server domain info still reflects<br \/>\nthe old domain name<\/div>\n<div><a href=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_010.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" style=\"border: 0px;\" src=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_010.png\" alt=\"\" width=\"400\" height=\"83\" border=\"0\" \/><\/a><\/div>\n<div><\/div>\n<div>2. Execute the following command to rename Computer Name:<\/div>\n<div>\u00a0 \u00a0 &#8211; NetDom COMPUTERNAME &lt;OLD_FQDN&gt; \/Add:&lt;NEW_FQDN&gt;<\/div>\n<div>\n<div>\u00a0 \u00a0 &#8211; NetDom COMPUTERNAME &lt;OLD_FQDN&gt; \/MakePrimary:&lt;NEW_FQDN&gt;<\/div>\n<\/div>\n<div><\/div>\n<div><a href=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_011.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" style=\"border: 0px;\" src=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_011.png\" alt=\"\" width=\"400\" height=\"156\" border=\"0\" \/><\/a><\/div>\n<p>&nbsp;<\/p>\n<div><a href=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_012.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" style=\"border: 0px;\" src=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_012.png\" alt=\"\" width=\"400\" height=\"83\" border=\"0\" \/><\/a><\/div>\n<p>3. Restart server<\/p>\n<p><b><span style=\"text-decoration: underline;\">Step 4: Finalize Domain Name Rename<\/span><\/b><\/p>\n<div>1. Execute &#8216;RenDom \/Clean&#8217; to remove domain rename status<\/div>\n<div><a href=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_013.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" style=\"border: 0px;\" src=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_013.png\" alt=\"\" width=\"400\" height=\"48\" border=\"0\" \/><\/a><\/div>\n<p>&nbsp;<\/p>\n<div>2. Execute &#8216;RenDom \/End&#8217; to unfreeze Directory Services<\/div>\n<div><a href=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_014.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" style=\"border: 0px;\" src=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_014.png\" alt=\"\" width=\"400\" height=\"48\" border=\"0\" \/><\/a><\/div>\n<p><b><span style=\"text-decoration: underline;\">Step 5: Fix DNS for new Domain Name<\/span><\/b><\/p>\n<p>1. Open &#8216;DNS Manager&#8217;<br \/>\n<a href=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_017.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" style=\"border: 0px;\" src=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_017.png\" alt=\"\" width=\"400\" height=\"201\" border=\"0\" \/><\/a><\/p>\n<p>2. Open &#8216;File Manager&#8217; and Navigate to &#8216;%WINDIR%\\System32\\Config&#8217; and backup<br \/>\nDNS netlogon file as shown below<\/p>\n<div><a href=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_021.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" style=\"border: 0px;\" src=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_021.png\" alt=\"\" width=\"400\" height=\"95\" border=\"0\" \/><\/a><\/div>\n<p>3. Delete the new zone created automatically during Rename Domain process<\/p>\n<div><a href=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_019.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" style=\"border: 0px;\" src=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_019.png\" alt=\"\" width=\"400\" height=\"156\" border=\"0\" \/><\/a><\/div>\n<div><a href=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_020.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" style=\"border: 0px;\" src=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_020.png\" alt=\"\" width=\"400\" height=\"208\" border=\"0\" \/><\/a><\/div>\n<p>4. Create Two Active-Directory Primary Integrated DNS Forward Lookup Zone<\/p>\n<div><\/div>\n<p><a href=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_018.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" style=\"border: 0px;\" src=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_018.png\" alt=\"\" width=\"400\" height=\"118\" border=\"0\" \/><\/a><\/p>\n<p>5. Open Properties of new zone and set &#8216;Dynamic updates&#8217; to &#8216;Secure Only&#8217;<\/p>\n<div><a href=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_022.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" style=\"border: 0px;\" src=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_022.png\" alt=\"\" width=\"267\" height=\"320\" border=\"0\" \/><\/a><\/div>\n<div><a href=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_023.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" style=\"border: 0px;\" src=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_023.png\" alt=\"\" width=\"270\" height=\"320\" border=\"0\" \/><\/a><\/div>\n<p>6. Restore DNS Netlogon file into &#8216;%WINDIR%\\System32\\Config&#8217;<\/p>\n<p>7. Restart &#8216;Active Directory Domain Services&#8217; Service<\/p>\n<div><a href=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_024.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" style=\"border: 0px;\" src=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_024.png\" alt=\"\" width=\"400\" height=\"148\" border=\"0\" \/><\/a><\/div>\n<p>8. Delete Old Domain Name DNS Zone as highlighted in red box.<\/p>\n<div><a href=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_025.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" style=\"border: 0px;\" src=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_025.png\" alt=\"\" width=\"258\" height=\"320\" border=\"0\" \/><\/a><\/div>\n<p>9. Test DNS using DcDiag Tool<br \/>\nExecute &#8216;DcDiag \/Test:DNS \/DnsBasic&#8217;<\/p>\n<div><a href=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_026.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" style=\"border: 0px;\" src=\"http:\/\/binsfeld.com.br\/wp\/wp-content\/uploads\/2014\/02\/RenDom_026.png\" alt=\"\" width=\"400\" height=\"301\" border=\"0\" \/><\/a><\/div>\n<p>&nbsp;<\/p>\n<p>Cr\u00e9ditos:\u00a0http:\/\/ylnotes.blogspot.com.br\/2013\/09\/rename-active-directory-domain-name-for.html<br \/>\nCr\u00e9ditos:\u00a0http:\/\/mizitechinfo.wordpress.com\/2013\/06\/10\/simple-guide-how-to-rename-domain-name-in-windows-server-2012\/<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Step 1: Rename ADDS Domain Name 1. Open Command Prompt in Administrator Mode 2. Execute &#8216;RenDom \/List&#8217; to generate Forest Naming Context in XML file Execute &#8216;RenDom \/ShowForest&#8217; to view<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-514","post","type-post","status-publish","format-standard","hentry","category-windows-server"],"_links":{"self":[{"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=\/wp\/v2\/posts\/514"}],"collection":[{"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=514"}],"version-history":[{"count":4,"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=\/wp\/v2\/posts\/514\/revisions"}],"predecessor-version":[{"id":574,"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=\/wp\/v2\/posts\/514\/revisions\/574"}],"wp:attachment":[{"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=514"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=514"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/binsfeld.com.br\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=514"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}