Removed CAS server still showing in Exchange server list

Infrastructure: 2 x Exchange 2010 in a DAG, 2 x Windows 2008 servers in a CAS array.  All on one site

A couple of months ago, one of the servers in our CAS had some problems, so we decided to rebuild it from scratch.  It was essentially a file and print server that had also been given the role of a CAS member.

We removed it from NLB and shut it down prior to rebuilding it.

We created a new CAS member and added it to NLB.  Everything was fine.

We rebuilt the failed server, without the CAS role.

Now when I look in the Exchange management console (Server Configuration, Client Access) the old server is still listed.  When I run get-clientaccessserver, 3 servers are listed; the 2 that are currently in the CAS, ad the one which was removed.

The command get-mailboxdatabase | ft name,rpcclientaccessserver correctly returns the FQDN of our CAS

How do I get rid of the old server from Exchange?
JapesAsked:
Who is Participating?
 
Will SzymkowskiConnect With a Mentor Senior Solution ArchitectCommented:
This role was not removed properly. Because you have already re-created the server that had the CAS role installed, I would recommend using ADSIedit to remove the old CAS entry showing up in the EMC.

- open adsiedit.msc
- open Configuration partition
- expand Configuration
- expand Services
- expand Microsoft Exchange
- expand <SiteName>
- expand Administrative Groups
- expand <Administrative Group Name>
Click on Servers

In there you should see that old orphaned server listed in the.
- right click it and delete it

NOTE: when you are using ADSIEdit be careful. If you delete another other objects other then the ones required you can cause potential damage to Active Directory and other services. Also, Using ADSIEdit is not supported by Microsoft.

In your situation and where you are with your rebuilds this is the most practical way to remove this object.

Will.
0
 
JapesAuthor Commented:
Many thanks for your help - it worked like a dream

Jain
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.