[Today’s post comes to us courtesy of Wayne Gordon McIntyre from Commercial Technical Support]
You may find yourself in a scenario where your SBS 2008 server has died and you have no backups available, however you do have a second non-SBS domain controller that is still operational which contains all of your domain information. The steps below will guide you thru rejoining the SBS 2008 server back into the existing domain so you do not have to recreate all of your AD objects and rejoin your client machines.
*** Please note that this is not a replacement for doing regular backups. Our recommended method to recover a server in these situations is to restore from a good backup. You should only do this if you have no other choice because there is no good backup to restore from. ***
Preparation and Clean Up Steps:
- Change the primary DNS server IP on the TCP/IP properties of the network card of the second DC to point to it (e.g. 127.0.0.1).
- Ensure the second DC is a global catalog server. Open Active Directory Sites and Services and go to the properties of NTDS settings of the second DC and check the global catalog box if it was not checked.
*** IMPORTANT: If the server was not a global catalog, make it a GC and wait for the Directory services event log to log event 1119 that states the server is now acting as a global catalog server. As a sanity test you can use ldp.exe to confirm that the server is responding to requests on port 3268. For these steps please see the appendix.***
- Verify which FSMO Roles were held by SBS 2008 by running “NETDOM QUERY FSMO” from an elevated CMD prompt.
- Seize all FSMO roles the SBS 2008 Server held to the second domain controller. From an administrative command prompt open the ntdsutil utility by typing NTDSUTIL and pressing ENTER.
- Type activate instance NTDS, and then press ENTER. *only required if the second DC is a 2008 Server otherwise skip this step.
- Type roles, and then press ENTER.
- Type connections, and then press ENTER.
- Type connect to server servername, and then press ENTER, where servername is the name of the domain controller that you want to assign the FSMO role to.
- At the server connections prompt, type q, and then press ENTER.
- Type seize PDC, and press ENTER, click yes on the Role Seizure Confirmation Dialog.
- Type seize infrastructure master, and press ENTER, click yes on the Role Seizure Confirmation Dialog.
- Type seize naming master, and press ENTER, click yes on the Role Seizure Confirmation Dialog.
- Type seize RID master, and press ENTER, click yes on the Role Seizure Confirmation Dialog.
- Type seize schema master, and press ENTER, click yes on the Role Seizure Confirmation Dialog.
- Type q, and press ENTER until you are back at the command prompt.
Steps taken and modified for 2008 from KB 255504 Using Ntdsutil.exe to transfer or seize FSMO roles to a domain controller
- Perform metadata cleanup to remove the SBS server from Active Directory.
216498 How to remove data in Active Directory after an unsuccessful domain controller demotion
** Please note you have to type “Activate Instance NTDS” in ntdsutil if it is a 2008 DC before you do the meatadata cleanup steps. Also if any FSMO roles were not seized in step 3, the updated version of ntdsutil (2003sp1 and greater) will perform the seizure of the remaining FSMO roles.
- Clean up DNS records that point back to SBS 2008.
- Delete the exchange server object out of Active Directory.
- Open Active Directory Sites and Services.
- With Active Directory Sites and Services highlighted at the top node of the tree use the view menu and click on Show Services Node.
- Expand until you get to the Server name of the failed server as shown below, and press DELETE, put a check in the box to delete sub-containers then click yes.
- You are now ready to rebuild your SBS server to rejoin the existing domain by following Sections 1 – 3 from the link below using the secondary DC as the source server. http://technet.microsoft.com/en-us/library/cc664208(WS.10).aspx
- Change the DNS server IP back on the 2nd DC to point to the SBS server, with alternate pointing to itself.
- Re-add the Source Server on the SMTP connector.
- Open the Exchange Management Console.
- Expand Organization Configuration
- Select the Hub Transport Node
- Go to the Send Connectors tab.
- Open the properties of Windows SBS Internet Send COUGAR connector.
- Run “Connect to the Internet Wizard” and the “Set up your Internet Address Wizard”.
- If you have data to restore such as Exchange, Sharepoint, SQL or files you can now restore it.
Using LDP to verify GC functionality
- From an Administrative cmd prompt launch LDP
- From the file menu select connect and enter the server name that you are on and change the port number to 3268
- Once it connects we know that the server is listening and responding to connections on the GC port. Also verify it has the “isGlobalCatalogReady” equals true setting.
- Next step is to verify you can Bind go to file menu and select bind and use the currently logged on credentials.
- Click on View > Tree and leave the baseDN blank and you should see your domain tree.
To test replication between the 2 domain controllers run Repadmin /showrepl. The output should show successful replication for all partitions. For more assistance on using repadmin please see the following Technet link.