How to delete data in Active Directory after a failed read-only domain controller demotion

Source: Internet
Author: User
Tags domain name server

1, run as an administrator "command Prompt";

2, at the command prompt, type ntdsutil, and then press ENTER;

3, type metadata cleanup, and then press ENTER,

4, connections

5. Type connect to server servername, where servername can be controlled for any one read-write domain, and then press Enter.

6, type quit, and then press Enter.

7, type select operation Target, and then press Enter.

8, type list domains, and then press Enter.

9, type Select domain number, and then press Enter, in which numbers are associated with the domain to which you want to delete the RODC server.

10, type list sites, and then press Enter.

11, type the Select site number, and then press Enter, where numbers are associated with the site to which the domain control server is to be deleted.

12, type the Select server number, in which numbers are associated with the server that you want to delete. A confirmation message appears listing the selected server, the server's domain name server (DNS) hostname, and the location of the computer account for the server to be removed.

13, type quit, and then press Enter.

14, type remove selected server, and then press Enter. A confirmation message appears stating that the deletion completed successfully.

15. Type quit in each menu and exit Ntdsutil utility.

Change Operation Step Two:

1. Delete CNAME records in the root domain > Zone of DNS _msdcs.< Forest

2. In the DNS console, use the DNS MMC to delete A records in DNS.

3, delete the CNAME record in the _msdcs container.

Change Operation step Three:

Use Active Directory sites and services to remove a read-only controller.

This article is from the "Clumsy birds have" blog, please be sure to keep this source http://tingdongwang.blog.51cto.com/1056852/676427

This column more highlights: http://www.bianceng.cnhttp://www.bianceng.cn/Servers/zs/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.