remove Exchange 2007 from schema when server is no longer available

We have to remove an Exchange 2007 from schema because the server is no longer available.  The SAN where it was crashed.  It was a hub server we have to remove a CAS and mailbox too.  Exchange 2010 has been installed to replace the servers and all mailboxes have been moved to Exchange 2010.  

But I keep receiving messages such as
Some Exchange ActiveSync traffic to the External URL https://mail.mydomain.com/Microsoft-Server-ActiveSync is being blocked due to a misconfiguration of the virtual directory S1-EXCAS01\Microsoft-Server-ActiveSync (Default Web Site).  Please make sure that the External URL is stamped correctly using the Set-ActiveSyncVirtualDirectory cmdlet.

S1-EXCAS01 is the Exchange 2007 client access server we've lost.

Than you
quadrumaneAsked:
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.

Shabarinath RamadasanInfrastructure ArchitectCommented:
I don't believe that the error what you see is due to the old 2k7 server which was not properly uninstalled.

Could you please try running this command from exchange shell?

Get-ActiveSyncVirtualDirectory|fl

Make sure that the entry for Internal URL and External URL is correct.

Good Luck,
Shaba
0
quadrumaneAuthor Commented:
What's happen if I remove the old servers from the schema in ADSI Edit ?  

Here is what I gor from the command:
http://www.microsoft.com/downloads/details.aspx?FamilyId=60C92A37-719C-4077-B5C6-CAC34F4227CC&displaylang=en

The task wasn't able to connect to IIS on the server 's2008exca01.mydomain.com'. Make sure that the server exists an
d can be reached from this computer: The RPC server is unavailable.
    + CategoryInfo          : ReadError: (s2008exca01\Mi...fault Web Site):ADObjectId) [Get-ActiveSyncVirtualDirector
   y], IISNotReachableException
    + FullyQualifiedErrorId : 7D480800,Microsoft.Exchange.Management.SystemConfigurationTasks.GetMobileSyncVirtualDire
   ctory



RunspaceId                                 : 7e29579c-a015-4097-8eb4-1f0670279104
MobileClientFlags                          : BadItemReportingEnabled, SendWatsonReport
MobileClientCertificateProvisioningEnabled : False
BadItemReportingEnabled                    : True
SendWatsonReport                           : True
MobileClientCertificateAuthorityURL        :
MobileClientCertTemplateName               :
ActiveSyncServer                           : https://mail.mydomain.com/Microsoft-Server-ActiveSync
RemoteDocumentsActionForUnknownServers     : Allow
RemoteDocumentsAllowedServers              : {}
RemoteDocumentsBlockedServers              : {}
RemoteDocumentsInternalDomainSuffixList    : {}
MetabasePath                               : IIS://S1-X-HBCA-001.mydomain.com/W3SVC/1/ROOT/Microsoft-Server-ActiveSy
                                             nc
BasicAuthEnabled                           : True
WindowsAuthEnabled                         : False
CompressionEnabled                         : True
ClientCertAuth                             : Ignore
WebsiteName                                : Default Web Site
WebSiteSSLEnabled                          : True
VirtualDirectoryName                       : Microsoft-Server-ActiveSync
ProxyVdirExtendedProtectionTokenChecking   : None
ProxyVdirExtendedProtectionFlags           : {}
ProxyVdirExtendedProtectionSPNList         : {}
Path                                       :
Server                                     : S1-X-HBCA-001
InternalUrl                                : https://S1-X-HBCA-001.mydomain.com/Microsoft-Server-ActiveSync
InternalAuthenticationMethods              : {}
ExternalUrl                                : https://mail.mydomain.com/Microsoft-Server-ActiveSync
ExternalAuthenticationMethods              : {}
AdminDisplayName                           :
ExchangeVersion                            : 0.10 (14.0.100.0)
Name                                       : Microsoft-Server-ActiveSync (Default Web Site)
DistinguishedName                          : CN=Microsoft-Server-ActiveSync (Default Web Site),CN=HTTP,CN=Protocols,CN=
                                             S1-X-HBCA-001,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDL
                                             T),CN=Administrative Groups,CN=messagerie pfdc,CN=Microsoft Exchange,CN=Se
                                             rvices,CN=Configuration,DC=mydomain,DC=com
Identity                                   : S1-X-HBCA-001\Microsoft-Server-ActiveSync (Default Web Site)
Guid                                       : 1013706b-f326-40c9-83a6-2c588593f92c
ObjectCategory                             : mydomain.com/Configuration/Schema/ms-Exch-Mobile-Virtual-Directory
ObjectClass                                : {top, msExchVirtualDirectory, msExchMobileVirtualDirectory}
WhenChanged                                : 8/13/2010 11:41:47 AM
WhenCreated                                : 8/13/2010 11:41:37 AM
WhenChangedUTC                             : 8/13/2010 3:41:47 PM
WhenCreatedUTC                             : 8/13/2010 3:41:37 PM
OrganizationId                             :
OriginatingServer                          : dc02.mydomain.com
IsValid                                    : True
0
Razi_AhmedCommented:
There are no manual removal methods supported by Microsoft for Exchange 2007. I would say build a temporary machine with the same name. Reset the machine account in the domain and then add the new machine to the domain. Then do a recover server install of Exchange. after install is complete you can then remove Exchange using add/remove programs.

I do not suggest people doing manual removal of exchange 2007, if you want to go by the long process then try the below steps

http://blog.dunk.tk/blog1.php/2009/02/10/remove-exchange-2007-from-active-directo
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
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

quadrumaneAuthor Commented:
It seems to me much more longer to reinstall the servers, exchange 2007, remove it than deleting the server as it<s done on the blog (ADSI Edit)

What is the difference ?  Is it really bad to remove the reference from the schema and then to use ntdsutil to remove all other references in AD ?
0
Razi_AhmedCommented:
I never did for Exchange 2007 however I did that multiple times for Exchange 2003 and didnt found any issues :)
0
quadrumaneAuthor Commented:
The Exchange servers have been removed (ADSIEDIT and from AD) and that's it, no more talking or complaints from the new Exchange looking for ghost Exchange ;-)

Thanks again
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.