Windows Server R2 Force offload domain controllers

Source: Internet
Author: User
Tags virtual environment

This experiment is to demonstrate the forced unloading of domain controllers and the removal of unwanted server objects on other domain controllers, which is often used in real-world production environments, each enterprise has a change in the domain controller each year, and after reducing the domain controller, the original domain will continue to use, This requires removing unwanted server objects from other domain controllers.

The first experiment in the big environment is in the xxx.com domain, there are two domain controllers Server01 and Server02, we want to remove the domain controller Server01, and remove the Server02 above the unnecessary server objects, the prior preparation work is done.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M00/6C/BE/wKioL1VRkpWRbaKXAAGcNI9bKRw995.jpg" width= "774" height= "305"/ >

Next we remove the domain controller on SERVER01, open Server Manager-manage-remove roles and features.

650) this.width=650; "Style=" background-image:none;padding-left:0px;padding-right:0px;border-top-width:0px; border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" Untitled "border=" 0 "alt=" Untitled "src="/HTTP/ S3.51cto.com/wyfs02/m01/6c/be/wkiol1vrkqdb0cxsaagsa0jxocg649.jpg "width=" 1030 "height=" 235 "/>

After opening the first step we default next.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M02/6C/BE/wKioL1VRksmSu70LAAH7aQVyoQU663.jpg" width= "height=" 571 "/ >

Next.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M02/6C/C3/wKiom1VRkWvxguSRAAJ0PYpo8Do262.jpg" width= "805" height= "569"/ >

Tick off the AD domain service.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M02/6C/C7/wKiom1VRuSqxydNOAALvhBP2a5c757.jpg" width= "802" height= "562"/ >

After the check out will pop up the prompt, we click Delete function.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M00/6C/C2/wKioL1VRuqXhxNQ-AAFfjLr0VWM202.jpg" width= "431" height= "427"/ >

Then the warning pops up and we need to downgrade the domain controller first.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M01/6C/C2/wKioL1VRuqWjPtG0AAFJ5hVe3mE002.jpg" width= "537" height= "304"/ >

The hook line forces the removal of this domain controller, next.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M02/6C/C2/wKioL1VRuqjzBG9gAAH4OCWldtk316.jpg" width= "778" height= "570"/ >

Tick continue to delete, next.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M00/6C/C2/wKioL1VRuqiR-nAbAAHx-BeiuSE277.jpg" width= "777" height= "572"/ >

Enter the password, next.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M01/6C/C2/wKioL1VRuqjAJEeTAAFrBXe9Ok4875.jpg" width= "778" height= "570"/ >

Finally we click Downgrade, wait a moment, the server will restart automatically.

650) this.width=650; "Style=" background-image:none;padding-left:0px;padding-right:0px;border-top-width:0px; border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m02/6c/c2/wkiol1vruqmiy5g4aagt5ypw9z8726.jpg "width=" 763 "height=" 553 "/>

When we log in after the reboot, we can actually see that the login is already a local administrator.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M00/6C/C2/wKioL1VRuqmC1-j5AACUZkF7-Mc794.jpg" width= "697" height= "332"/ >

After landing we need to let Server01 can not communicate with other servers, if it is a real production environment, this server has not been used, you can choose to shut down, disable the network card, virtual environment we just do not let the virtual machine use a type of network connection can be, In short, so that the server can not be used to communicate with other servers, the demonstration we put Server01 network connection type to bridge, Server02 is only the host.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M00/6C/C7/wKiom1VRuS7yucF0AADajvEW34s337.jpg" width= "349" height= "286"/ >

Then we go to Server02 above to view, although Server01 has been deleted, but still have the display, in fact, has become garbled.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M01/6C/C7/wKiom1VRuS-CM_XRAAGM01SH_aU644.jpg" width= "766" height= "326"/ >

Below we don't care Server01, go to Server02 above to delete Server01 operation, delete operation is on the command line, first cmd Open command line.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M02/6C/C2/wKioL1VRuqmCqOzxAADZwqE9se8639.jpg" width= "677" height= "446"/ >

Enter the first command, Ntdsutil.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M00/6C/C8/wKiom1VRuS-xbWoFAADP56dLosU396.jpg" width= "683" height= "151"/ >

Activates the instance in Ntdsutil mode, Activate instanve NTDS.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M00/6C/C2/wKioL1VRuqqDdBOKAAPR5GQI2RA822.jpg" width= "682" height= "652"/ >

Enter metadata cleanup to clear the unused server objects.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M01/6C/C2/wKioL1VRuqqTPvBGAAKes9pFMdw351.jpg" width= "652" height= "489"/ >

then enter connections.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M02/6C/C2/wKioL1VRuqqCsj1XAAGeJNvwXAU224.jpg" width= "662" height= "232"/ >

Enter connect to server Server02 in Server connections mode.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M00/6C/C2/wKioL1VRuqqQU1lqAAFyeMcAX9c034.jpg" width= "672" height= "235"/ >

Bind succeeded, we retreated to the previous mode.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M01/6C/C2/wKioL1VRuqqTFcSlAAB-c_gghsk046.jpg" width= "682" height= "104"/ >

Enter select operation target in metadata cleanup mode.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M02/6C/C2/wKioL1VRuqrTu4W1AAGPo8kQU7E674.jpg" width= "644" height= "225"/ >

In select operation target mode, enter the list sites.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M00/6C/C2/wKioL1VRuqvQuSttAAIgeCdeiEU822.jpg" width= "632" height= "328"/ >

Tip To find a site, we enter Select site 0 (0).

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M01/6C/C2/wKioL1VRuqvByKvSAAJxxejMxZ0208.jpg" width= "673" height= "383"/ >

Then enter list domains in site.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M02/6C/C2/wKioL1VRuqvAqmq9AALCfN5ymrs899.jpg" width= "669" height= "416"/ >

Tip Locate a domain, and then enter select Domain.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M00/6C/C2/wKioL1VRuqvwWZBvAAIvzIa7zTo300.jpg" width= "675" height= "404"/ >

Continue to enter List servers for domain in site.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M01/6C/C2/wKioL1VRuqzSyd-4AAK30f5cy00206.jpg" width= "664" height= "412"/ >

When you enter select Server01, quit exits to the previous mode.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M01/6C/C8/wKiom1VRuTLDIAHUAAFzcxsEmWg959.jpg" width= "529" height= "185"/ >

Enter remove selected server to delete the selected server object.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M02/6C/C2/wKioL1VRuqzR2vKhAAFcOvtgVZM318.jpg" width= "599" height= "276"/ >

After successfully entering the previous step, a few prompts will pop up and we'll all click on the prompt.

650) this.width=650; "Style=" background-image:none;padding-left:0px;padding-right:0px;border-top-width:0px; border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt=" image "src=" http:// S3.51cto.com/wyfs02/m00/6c/c2/wkiol1vruqzqultmaae5nfbwr8q876.jpg "width=" 497 "height=" 263 "/>

Delete succeeds, we open AD site and service, delete Server01 can.

650) this.width=650; "Style=" background-image:none;padding-left:0px;padding-right:0px;border-top-width:0px; border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" Untitled "border=" 0 "alt=" Untitled "src="/HTTP/ S3.51cto.com/wyfs02/m01/6c/c2/wkiol1vruqytnqxpaahphxgtjlc337.jpg "width=" 767 "height=" 529 "/>

Click on Delete will pop up the prompt box, we tick to use Delete subtree directory server control, click Yes.

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" image "border=" 0 "alt = "image" src= "http://s3.51cto.com/wyfs02/M02/6C/C2/wKioL1VRuq2RXEhBAAGFGPPtpcg262.jpg" width= "406" height= "254"/ >

Here, the demonstration of this experiment is over.

This article from "jinning Blog" blog, reproduced please contact the author!

Windows Server R2 Force offload domain controllers

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.