Removing Non-Existant Exchange Server from Active Directory

I installed Exchange Server on a new server called "SERVER-MAIL", which was a member server in a domain. Before it went live I thought that the name "SERVER-EXCHANGE" might be more apprioriate - so I renamed it - and all hell broke loose.

I tried renaming it to the original name, but it was still screwed up.

In the end I had to format the disk - reload server 2003R2 and reinstall Exchange Server 2007 - this time under the SERVER-EXCHANGE name.

All appears good, except that when I go into the Exchange Management Console I now see 2 servers (the old and the new) - obviously the "old one" is still configured in active directory.

How can I safely remove it (keeping in mind that many of it's properties refer to databases of the same name and location now being used on the new live server).

Many thanks,

Colin
LVL 2
The_MaverickAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

dm_mcelduffCommented:
In Exchange System Manager, right click the Server and select Delete to
remove it from AD. If this does not work then you will need to remove it
using ADSI Edit.
0
dm_mcelduffCommented:
Sorry I meant to include a link in that last comment I was a little trigger happy with the mouse!

http://www.msexchange.org/tutorials/Removing-First-Exchange-2003-Server-Part1.html

This link provides some good information on using ADSI Edit to remove references to the old name of the server, but I advise a full backup of the exchange store and as always be very ceareful when using the ADSI editor as it is really easy to damage your AD setup with this powerful tool!!!!
0
The_MaverickAuthor Commented:
Thanks for that - Unfortunately - it's a "ghost" Exchange 2007 installation that I'm trying to remove, not an Exchange 2003 one - so we don't have Exchange System Manager and the link doesn't apply :(

I have however download and and installed ADSIEdit - but I can't find any reference to the "ghost" server in their either - any hints as to how I might access it?

Cheers,

Colin
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

dm_mcelduffCommented:
Ok I thoguht it was the old 2003 server you were trying to remove.
I am not totally familiar with the active directory integration with exchange 2007 but there has to be integration of some kind I would be very suprised if you could not use ADSIEdit to modify the list of servers however again I advise caution as I mentioned I am not familiar enough with Exchange 2007 to give a definate answer to this.
But in ADSIEdit have a look under:
configuration - Services - Microsoft Exchange - <Exchange org name here> - Administrative Groups - Servers
and see if the server is listed there
0
AngelGabrielCommented:
I had this same problem, and I went a little crazy with ADSI - I searched for everything exchange related, and just ripped it out. Not the best approach, I know, but it worked for me. The fact that you have exchange 2007 up running and working already may pose an issue. I would uninstall the server completly, remove all refrences to it from AD using ADSI, and then reinstall.
0
The_MaverickAuthor Commented:
Thanks folks - Unfortunately ...

(1) I'm not having any luck finding ANYTHING relating to the old server in AD, and

(2) Too late to uninstall the new server - it's already live.

Something isn't looking right here - I don't appear to even have a "Configuration -> Services etc"

Cheers,

Colin
0
dm_mcelduffCommented:
Just to ensure that you are using the correct tool the link below has a screen shot of the interface for ADSIEdit:

http://www.petri.co.il/images/env_jour_1.gif

Though it does sound like there is something strange going on with your active directory if you can not see this structure in ADSI. Did you download the tool on its own or did you install the windows server support tools?

It is never too late to uninstall/reinstall - just make sure you can restore a backup of the server to a test server first!!

0
The_MaverickAuthor Commented:
Hi,

The link isn't working, but I'm 100% sure I'm using the right tool. I can see the AD structure, but none of the hives refer to SERER-MAIL - they refer to SERVER-FILE and SERVER-EXCHANGE as well as the scema and global catalog - Just not the ones I want.

I've looked through the schema and global catalog hives as well, but they quickly lead to thousands and thousands of entries - and I can't seem to find a way to search using the tool.

The other "clue" is that the "ghost" PC still appears in the list of domain PCs if I browse the entire network, even though it's been deleted from ADU&C.

I initially tried uninstalling Exchange Server, but the install program thought I only wanted to add or remove roles - I tried removing all roles, but it didn't like that either. Trying to remove from Control Panel also produced errors - just couldn't win.

Uninstalling the present install won't ever be an option unfortunately - it's a live box 24x7 and it's more than my life is worth to put it at any form of risk.

0
dm_mcelduffCommented:
Have you tried using Ntdsutil to clean up the meta data? Sorry to keep linking to other sites but it saves typing the process out again, and the site below has a great step by step guide:

http://www.petri.co.il/delete_failed_dcs_from_ad.htm



0
The_MaverickAuthor Commented:
Still no luck - I followed the article to the letter - but the Old DC isn't showing anymore anyway - it's just the old Exchange 2007 installation still showing in the Exchange Management Console that's the problem.

I guess that what I need to discover is where in active directory does it store the list of "iinastalled" Exchange 2007 servers?

Thanks for your help though! Very much appreciated.
0
dm_mcelduffCommented:
No problem sorry I cant be of more help on this one!
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
The_MaverickAuthor Commented:
Thanks for your help, but no solution in sight so far :(
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.