Question

How to properly remove a 2003 Domain Controller from Active Directory

Asked by: lehan

hey all-

I have 2 active directory 2003 domain controllers, DC1 & DC2.
DC1 is running most of the FSMO roles in AD while DC2 has Exchange 2003 installed.
Both are DNS servers obviously.

We are replacing DC2 with new hardware. The new server will not be a domain controller, rather only a member server runing exchange 2003 on the DMZ.

My question is: what is the proper way to decommission/remove DC2 from active directory?
I am pretty its done using DCPROMO, but I would like a step-by-step procedure and any other tips or advice.
I am hoping to mess up my AD by removing DC2.

Once that is accomplished, we should only be left with DC1 running all AD roles.
Later, in a week or 2 we will be getting a new server which we will setup as a 2nd DC for redundancy.

 Thanks for any help in advance...


This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2005-10-13 at 17:42:27ID21594618
Tags

domain

,

controller

,

2003

,

remove

Topic

Windows 2003 Server

Participating Experts
5
Points
150
Comments
17

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. FSMO Roles
    Hi, I have two servers with active directory. Will the FSMO roles automatically be transferred to the other one when I remove acitve directory from the first one? Thanks. Woerts
  2. Forced DC1 Demotion, now DC2 has issues
    I had two DCs in 1 domain. DC1 = Win2000 SP4 [FMSO roles / GC] DC2 = Win2003 DC1 used to be standalone DC, but about 4 months ago brought DC2 online (using ADMT) as a companion DC. Never gave it GC functions, just DNS, DCHP, and AD functions along with DC1 Decided we want...
  3. Need Help, Can't run DCPromo or tranfser FSMO roles.
    Thanks to all who read!!! What Can go wrong will go wrong!!! errrrrrrrr This is my situation, have a network setup with two DC, W2000. Was trying to transfer the FSMO roles over to the non GC server(DC2). The old server(DC1) is going out of production. From my readings...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: DeltaFirePosted on 2005-10-13 at 20:09:44ID: 15082779

If it fails to uninstall during dcpromo. Here is an Article for you
http://www.petri.co.il/delete_failed_dcs_from_ad.htm

 

by: bwalker1Posted on 2005-10-13 at 22:29:50ID: 15083172

If you are asking how to properly get rid of DC2 only as a DC, then the above is correct.  DCPROMO will transfer any FSMO roles automatically.   If you need to to get exchange on a new box, things get a multitude more complex assuming this is your only exchange server (hopefully not).  Please give a little more info.

 

by: lehanPosted on 2005-10-13 at 23:03:31ID: 15083264

bwalker1 , yes this is the only exchange box we have and we are planning on moving it to the new server.

here is what happened: about a month ago DC2 basically blow and Dell had to replace the mother board, memory, power supply, ...etc. We were able to get it back online and fully functional with loss of any data-  although one of the disks also fried (thank god for RAID 5). Anyways, Dell deemed the system unsafe and sent us a brand new replacement system, let's call it DC3.
Now Dell wants DC2 returned since they sent us a replacement for it.

So what we need to do is move Exchange to DC3, decommission DC2 and send it back to Dell.
We decided not to setup DC3 as a domain controller again and instead set it up as a member server only running Exchange on the DMZ instead.
This would leave us with DC1 as a single domain controller - but we are going to buy another brand new server for redundancy in about 2 weeks.

Now that I confused everyone, I hope the above helped.

I think we know how to move exchange to the new server - we planned it with help from Microsoft (no easy task from the sound of it)
but I am not cerating how properly remove DC2 from AD.

Should I just use DCPROMO to remove it from domain? that’s all? Do I need to do anything else?
can someone give me some more details? what about DNS, will DCPROMO remove all records?

Thanks...

 

by: SembeePosted on 2005-10-14 at 05:33:34ID: 15084690

DCPROMO removes most things.
I would ensure that all the roles have been moved over to the other server before running DCPROMO.

Install the support tools off the Windows Server CD, then run the following command:

netdom query fsmo

This will show you which server has which role. You need to get them all moved to the other server.

Once done, run DCPROMO to remove the machine. Reboot when prompted. When the machine comes back up, drop the machine in to a workgroup so that it is gone from the domain. DNS entries will be changed then.

Obviously make sure that none of your clients are using this server for DNS, so adjust DHCP settings etc.

One other thing I must mention, Exchange in a DMZ? Bad idea - does nothing for your network security, but that deserves a separate question.

Simon.

 

by: lehanPosted on 2005-10-14 at 11:38:24ID: 15087896

simon,
thanks for the feedback - that's great help.
I think you answered most of my questions -
just to confirm though, if I use the instructions in the MS article below to move the roles to DC1, i should be all set?
http://support.microsoft.com/default.aspx?kbid=324801&product=winsvr2003

on your note about exchange on DMZ, i have been resistant to the idea since i know it will require opening lots of ports in the firewall between DMZ and LAN which defetes the dmz purpose. My recommendation was to setup a relay on the dmz. it's up to the project lead to decide though!

thanks...

 

by: SembeePosted on 2005-10-14 at 12:25:50ID: 15088319

Have you or your project lead seen the full list of ports that are required to run Exchange in a DMZ? It is pretty lengthy and basically turns the firewall in to swiss cheese. Putting an Exchange server in the DMZ does NOTHING to increase security - I do wonder why people think that it is more secure in the DMZ - it isn't. A DMZ should be somewhere that you place things you are prepared to drop at a moments notice. Locked down, tightly controlled communication to the production network (if any). With Exchange, you need to provide full domain access - which is a bad idea. Domain members do NOT belong in the DMZ.

I feel that strongly about it that I have walked out of two places where they wouldn't listen. I asked them why they bothered to bring me in if they are going to ignore my advice. (In case you weren't aware, I am an Exchange MVP, one of less than 100 in the world and 7 in the UK).

That KB article will be fine. Check each role has moved correctly and give the domain at least 40 minutes before making any changes to the domain controllers so that everything can replicate. Also ensure that the other domain controller is a global catalog.

If you have Exchange, check that it isn't using the DC you are going to remove. It may get upset, so I would suggest restarting the Exchange server once the domain controller has gone so that Exchange latches on to the live dc.

Simon.

 

by: lehanPosted on 2005-10-14 at 12:33:00ID: 15088380

simon,

not sure what you mean by "If you have Exchange, check that it isn't using the DC you are going to remove. It may get upset, so I would suggest restarting the Exchange server once the domain controller has gone so that Exchange latches on to the live dc. "?

DC2 i am removing from AD has exchange on it. the plan is to move exchange to a new server using the disaster recovery method (microsoft recommendation), then uninstalling exchange from DC2, DCPROM it out of the domain, dropping it to workgroup, then shutdown, pack and ship to dell.

 

by: SembeePosted on 2005-10-14 at 12:35:48ID: 15088394

Yes - but when you install Exchange on the other server, it needs to use a domain controller. You have to be sure that it isn't using the "wrong" one.

Simon.

 

by: lehanPosted on 2005-10-14 at 13:58:53ID: 15088982

yeah I think i got you - the new exchange server will be using DC1 which will be the only domain controller remaining after DC2 is decommissioned.

one last question, I think we will not place the new exchange server on the DMZ (i got to him at last). however, we do not want the new exchange server to be a domain controller - just a member server - is that a problem, is it recommended or not?

 

by: SembeePosted on 2005-10-15 at 14:17:22ID: 15092413

Where possible Exchange should NOT be installed on a domain controller. It is a lot happier on a member server.

Simon.

 

by: lehanPosted on 2005-10-18 at 15:38:10ID: 15112189

well - it was a success. here are the steps we did - it may help someone:
- check and transfer FSMO roles to DC1
- remove DC2 from AD using DCPROMO (no problems)
- DC2 is now a member server
- after reboot, checked exchange on DC2, working perfectly
- dismount exchange store and stop all exchange services
- copy exchange store to DC3 (new exchange server)
- drop DC2 to workgroup, shutdown, pack and ship to dell
- reset DC2 account using AD users & computers on DC1
- rename DC3 (new server) to same computer name as DC2 and assign it the same IP
- join DC3 to the domain as member server only
- Run Exchange 2003 Setup on DC3 with the following parameter:
            Setup /disasterrecovery
- install exchange SP1 and the server is fully operational

entire prccess took about 6 hours - we waited for about 30 mins between changes so AD can update properly

Simon,
only question remains: what is the best way to secure exchange with having ports 25 & 110 open? this is the reason why we wanted it on the DMZ so we can plug those ports to the LAN

Thanks - will assign points shortly.

 

by: SembeePosted on 2005-10-19 at 05:26:55ID: 15115156

Securing those two ports is difficult due to the nature of them. Port 25 is inviting connections from machines that you don't know because that is how email works.
With POP3 you could look at using one of the more secure options - possibly wrapping the POP3 traffic in SSL.

The thing with Exchange is - what would you prefer to have open?

Port 25 and 110 from the LAN to the Internet.
Or approx 20 ports from a DMZ to the LAN - as well as port 25 and 110 from the Internet.
Most firewall administrators I know are happier with port 25 and 110 coming straight in.

Simon.

 

by: lehanPosted on 2005-10-19 at 09:50:04ID: 15117598

hmmm - i will look into SSL for POP3 traffic.
I may also just plug port 110 and force users to VPN to check mail - its inconvenient - but isnt that what security is sometimes all about !

I was also reading up on RPC over HTTP - what's your take on that?

Thanks - I just posted the points....

 

by: SembeePosted on 2005-10-19 at 09:53:37ID: 15117623

RPC over HTTPS? Love it. Deploy it for all clients. Makes life so much easier and when the clients have started using it, they love it as well.
From a security point of view, anything that requires username and password credentials for the domain to be passed in the clear should go over a VPN or SSL. Thing is you might find some sites are blocking certain ports, only allowing 80, 443 and 110 is not unusual.

Simon.

 

by: ksaeidiPosted on 2008-05-25 at 14:44:05ID: 21643732

Hi Guys :
I have the same problem ,  I have a DC1 wich is small business server and has the exchange 2003.
I made another box  with windows standard 2003  and made it  another domain controller ,
I have moved the mailboxex ( about 25 of them ) .  I have moved the FSMO roles to DC2
changed the operation master to DC2.
I wanted to test  it so I turn off the DC! ( small business server ) and tried to see the excchange works .
but none of the services started . so I turn the DC1 back again and everything was oK .
now I am affraid to do the DCPromo on DC1 , because if I do that , I might not be abale to get the DC2 exchange working properly ..
any hep would be greatly appriciated  .... soryy for some misspell

 

by: SembeePosted on 2008-05-25 at 15:20:34ID: 21643822

ksaeidi - this is a very old question. Unlike a forum it is not possible to "bump" questions back up the list. The only people who will see your post are those that have already participated. Instead you should post your question as a new question in the Exchange Server Zone which will allow other experts the chance to see the question and respond.

Simon
Exchange Server Zone Advisor.

 

by: sm_ferozPosted on 2008-06-04 at 22:21:14ID: 21716574

Hi,
As you have already mentioned DCPROMO is the only way to remove ADS from your machine and you will need to follow the steps as mentioned in the process.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...