Archive for the ‘Exchange Server 2007/2010’ Category

Deleting old “Internet Newsgroups” Public Folder which prevents Exchange 2007 to be uninstalled

March 31, 2010

There was migration from Exchange 2003 to Exchange 2007. After some time when Exchange 2010 appeared i’ve migrated half of my enviroment to Exchange 2010. After that i moved all mailboxes to the new exchange server. After that it came time for uninstalling the old Exchange 2007 server. Here came the fuirst problem. I had to move all replications of public folders to other exchange servers. It’s not a heavy task and there is powershell script:

.\MoveAllReplicas.ps1 -Server ExchOld2007  -NewServer Exch2010New.

After that i’ve need to remove all public folders on the old Exchange 2007 server.

You can stop replication of Public folders totally that way:

Get-PublicFolder -server ExchOld2007  “\” -Recurse -ResultSize:Unlimited | Remove-PublicFolder -server ExchOld2007 -Recurse -ErrorAction:SilentlyContinue

When i try uninstalling Exchange Server 2007 again i faced the following new error:

 Error:
Uninstall cannot proceed. Database ‘Public Folder Database’: The public folder database specified contains folder replicas. Before deleting the public folder database, remove the folders or move the replicas to another public folder database.

After that i went to the pulic folders GUI console it appears Internet Newsgroups Public Folder. When i tried to delet it there is another error:

Microsoft Exchange Error
——————————————————–
Action ‘Remove’ could not be performed on object ‘Internet Newsgroups’.

Internet Newsgroups
Failed
Error:
Cannot delete the object ‘\Internet Newsgroups’. Please make sure that you specified the correct identity

and that you have the correct permissions to delete it.

MapiExceptionPartialCompletion: Unable to delete folder. (hr=0x40680, ec=0)
Diagnostic context:

So the solution here is deleting that particular folder from ADSIEDIT.MSC

1. Open Adsiedit.msc from run command
2. Navigate to your configuration container

3. Expand to services, Microsoft Exchange, your organization name, administrative groups,Exchange Administrative Group, servers, locate your MailBox Server, expand it and then locate information store.
4. Locate particular storage group where is public folder store. On the right pane, delete the public folder store (storage group).

After that uninstallation continue fluently.

Advertisements