Solved

How can I completely remove Exchange 2010 from AD

Posted on 2011-09-23
1
576 Views
Last Modified: 2012-05-12
I'm having trouble executing a shell command due to residual information from a removed exchange server.

Working in a single domain with 2008 R2 servers and Exchange 2010 SP1 rollup 5
The previous Exchange server was removed without properly removing it from the domain...it was simply shutoff and then the new Exchange was built. The old Exchange is no longer available to work with.
I am attempting to establish IM with OWA via Lync server.

Prior to where I am at now, there was an unmounted database of the old Exchange server showing up in the new Exchange console.

Old mail server is LyncMail
new mail server is LyncExch

I used the following two commands to remove the database from the console...

Get-mailbox -arbitration -database <DB name> | disable-mailbox -arbitration -disablelastarbitrationmailboxallowed

Get-mailbox -arbitration -database <DB name> | remove-mailbox -arbitration -removelastarbitrationmailboxallowed

So now there is only the one active, mounted database showing up in the console.
My problem is that when attempting to execute the command...

get-owavirtualdirectory | set-owavirtualdirectory -instantmessagingservername LyncSrv -instantmessagingcertificatethumprint <thumbprint> -instantmessagingenabled $true -instantmessagingtype 1

it attempts to execute, but reports an error...The task wasn't able to connect to IIS on server 'LyncMail'. Make sure that the server exists and can be reached from this computer: The RPC server is unavailable.
WARNING: The command completed successfully but no settings of 'LyncExch\owa (default web site)' have been modified.

I went to the ADSI Edit on the AD server and removed every instance I could find for LyncMail, but it is still somewhere that is causing the problem.

Looking back through the EMC, the LyncMail server is still showing up under Server Configuration with the roles Hub Transport, Client Access, Mailbox
I was able to go to the Hub Transport and remove Client LyncMail and Default LyncMail from the Receive Connectors, but it remains in the upper panel in the Server Configuration.

Server Configuration
0
Comment
Question by:pjmac28
1 Comment
 

Accepted Solution

by:
pjmac28 earned 0 total points
Comment Utility
0

Featured Post

Do email signature updates give you a headache?

Do you feel like all of your time is spent managing email signatures? Too busy to visit every user’s desk to make updates? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today!

Join & Write a Comment

In this article, we will see the basic design consideration while designing a Multi-tenant web application in a simple manner. Though, many frameworks are available in the market to develop a multi - tenant application, but do they provide data, cod…
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now