Home | Site Map | Cisco How ToNet How To | Wireless |Search | Forums | Services | Donations | Careers | About Us | Contact Us|

Procedure of removing a domain controller

Active Directory, Domain, DNS, WINS, DHCP, SBS, New Releases.

Procedure of removing a domain controller

Postby chicagotech » Thu Aug 31, 2017 11:13 am

Removing a domain controller by using the Windows interface
-------------------------------------------------------------------------------

You can use the Active Directory Domain Services Installation Wizard to remove a domain controller from an existing domain.

Administrative credentials

To perform this procedure, you must be a member of the Domain Admins group in the domain.

To remove a domain controller by using the Windows interface
--------------------------------------------------------------------------------

1.Click Start, click Run, type dcpromo, and then press ENTER.

2.On the Welcome to the Active Directory Domain Services Installation Wizard page, click Next.

3.If the domain controller is a global catalog server, a message appears to warn you about the effect of removing a global catalog server from the environment. Click OK to continue.

4.On the Delete the Domain page, make no selection, and then click Next.

5.If the domain controller has application directory partitions, on the Application Directory Partitions page, view the application directory partitions in the list, and then remove or retain application directory partitions, as follows:
◦ If you do not want to retain any application directory partitions that are stored on the domain controller, click Next.

◦ If you want to retain an application directory partition that an application has created on the domain controller, use the application that created the partition to remove it, and then click Refresh to update the list.

6.If the Confirm Deletion page appears, select the option to delete all application directory partitions on the domain controller, and then click Next.

7.On the Remove DNS Delegation page, verify that the Delete the DNS delegations pointing to this server check box is selected, and then click Next.

8.If necessary, enter administrative credentials for the server that hosts the DNS zones that contain the DNS delegation for this server, and then click OK.

9.On the Administrator Password page, type and confirm a secure password for the local Administrator account, and then click Next.

10.On the Summary page, to save the settings that you selected to an answer file that you can use to automate subsequent operations in Active Directory Domain Services (AD DS), click Export settings. Type a name for your answer file, and then click Save. Review your selections, and then click Next to remove AD DS.

11.On the Completing the Active Directory Domain Services Installation Wizard page, click Finish.

12.You can either select the Reboot on completion check box to have the server restart automatically or you can restart the server to complete the AD DS removal when you are prompted to do so.

13. Open Server Manager. Click Start, point to Administrative Tools, and then click Server Manager.

14.In Roles Summary, click Remove Roles.

15.If necessary, review the information on the Before You Begin page, and then click Next.

16.On the Remove Server Roles page, clear the Active Directory Domain Services check box, and then click Next.

17.On the Confirm Removal Selections page, click Remove.

18.On the Removal Results page, click Close, and then click Yes to restart the server.

Step 2: Cleaning up the DC server instance from the Active Directory Sites and Services
1. Go to Server manager > Tools > Active Directory Sites and Services

2. Expand the Sites and go to the server which need to remove

3. Right click and click Delete

4. In next window click yes to confirm

Step 3: Clean up metadata using ntdsutil
NOTE: Windows Server 2003 or earlier used ntdsutil and was bit of challenge but this was later simplified
1. Right Click on Start > Command Prompt (admin)

2. Type ntdsutil and enter

3. Then metadata cleanup

4. Next type remove selected server <servername>, replace <servername> with DC server to remove

5. In warning window click yes to proceed

6. Execute quit command twice
Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on http://www.HowToNetworking.com
chicagotech
Site Admin
 
Posts: 7086
Joined: Mon Nov 27, 2006 1:24 pm
Location: Chicago USA

Return to Windows

Your Ad Here

Who is online

Users browsing this forum: Google [Bot] and 11 guests