Uninstalling 2007 - Problem with public folders
Hello, I migrated everything to Exchange 2010 and ready to uninstall Exchange 2007. When I try to uninstall it, I receive an error that says that it cannot continue because public folder database contains folder replicas. I am trying to remove replicas and no success. When I tried to run .\MoveAllReplicas.ps1 -Server OldServer -NewServer NewServer, I receive errors that parameter “Replicas” cannot be $null or an empty array. Can someone help? I have to uninstall Exchange 2007. Thank you.
November 1st, 2011 11:57am

The same issue is discussed here http://social.technet.microsoft.com/Forums/en-US/exchangesvrmigration/thread/13d5cc19-5d06-4fa0-b9ab-f33f8b7eecfd/ Although the destination server version is diffrent.Jasjit Singh Dhindsa | ITIL v3 | IASA Foundation Certified | MCITP:Exchange 2010 | Exchange 2007 | MCTS:OCS 2007 | Exchange 2010 | Exchange 2007 | MCSA:Messaging | Security | MCSE:Messaging | Security
Free Windows Admin Tool Kit Click here and download it now
November 1st, 2011 12:02pm

I saw that but still cannot do it.
November 1st, 2011 1:38pm

Could you run the below two command and post the output Get-publicfolder \ -recurse |ft Name,Replicas Get-publicfolder \NON_IPM_SUBTREE -recurse |ft Name,Replicas Jasjit Singh Dhindsa | ITIL v3 | IASA Foundation Certified | MCITP:Exchange 2010 | Exchange 2007 | MCTS:OCS 2007 | Exchange 2010 | Exchange 2007 | MCSA:Messaging | Security | MCSE:Messaging | Security
Free Windows Admin Tool Kit Click here and download it now
November 1st, 2011 1:55pm

Also post the output for this Get-PublicFolderStatistics -Server <Exchange 2007 server name> Jasjit Singh Dhindsa | ITIL v3 | IASA Foundation Certified | MCITP:Exchange 2010 | Exchange 2007 | MCTS:OCS 2007 | Exchange 2010 | Exchange 2007 | MCSA:Messaging | Security | MCSE:Messaging | Security
November 1st, 2011 1:58pm

Here is the output: Get-publicfolder \ -recurse |ft Name,Replicas Name Replicas ---- -------- IPM_SUBTREE {} Internet Newsgroups {Public Folder Database} Get-publicfolder \NON_IPM_SUBTREE -recurse |ft Name,Replicas Name Replicas ---- -------- NON_IPM_SUBTREE {} EFORMS REGISTRY {} Events Root {Public Folders} OFFLINE ADDRESS BOOK {} /o=LBLCO/cn=addrlists/cn=oabs/cn=Def... {} EX:/o=LBLCO/ou=Exchange Administrati... {Public Folders} EX:/o=LBLCO/ou=First Administrative ... {} SCHEDULE+ FREE BUSY {} EX:/o=LBLCO/ou=Exchange Administrati... {Public Folders} EX:/o=LBLCO/ou=First Administrative ... {Public Folders} Get-PublicFolderStatistics -Server Exmail2 Name ItemCount LastAccessTime ---- --------- -------------- EX:/o=LBLCO/ou=Exchange Administrative G 80 10/31/2011 7:03:10 PM roup (FYDIBOHF23SPDLT) EX:/o=LBLCO/ou=First Administrative Grou 95 10/31/2011 7:00:28 PM p Internet Newsgroups 0 11/1/2011 9:58:40 AM Thank you.
Free Windows Admin Tool Kit Click here and download it now
November 1st, 2011 2:36pm

Hi, I would like to provide this document for you. Please follow it and give it a shot. http://blogs.technet.com/b/exchange/archive/2007/07/09/3403373.aspx Hope it helps.Best Regards!
November 1st, 2011 11:15pm

Assuming “Public Folder” is your Exchange Server 2007 server PF database. These folders still has the old server in the replica list. Move it to the Exchange server 2010 and then try the removal EX:/o=LBLCO/ou=Exchange Administrati... {Public Folders} EX:/o=LBLCO/ou=First Administrative ... {Public Folders} Events Root {Public Folders} EX:/o=LBLCO/ou=Exchange Administrati... {Public Folders} Jasjit Singh Dhindsa | ITIL v3 | IASA Foundation Certified | MCITP:Exchange 2010 | Exchange 2007 | MCTS:OCS 2007 | Exchange 2010 | Exchange 2007 | MCSA:Messaging | Security | MCSE:Messaging | Security
Free Windows Admin Tool Kit Click here and download it now
November 1st, 2011 11:48pm

Hi, I would like to provide this document for you. Please follow it and give it a shot. http://blogs.technet.com/b/exchange/archive/2007/07/09/3403373.aspx Hope it helps. Best Regards! I tried it. Cannot do the step .\MoveAllReplicas.ps1 -Server MySourceServer -NewServer MyTargetServer. Receive the following error: Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array. At D:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceReplicaOnPFRecursi ve.ps1:147 char:24 + $_ | set-publicfolder <<<< -server $_.OriginatingServer; Tried it all day today with lots of other scripts. Thank you.
November 2nd, 2011 12:02am

I see that you are not using the public folders as such but those all are system folder. I would recommend adding the replica manually and then removing the Exchange server 2007 from replica list after replication. Jasjit Singh Dhindsa | ITIL v3 | IASA Foundation Certified | MCITP:Exchange 2010 | Exchange 2007 | MCTS:OCS 2007 | Exchange 2010 | Exchange 2007 | MCSA:Messaging | Security | MCSE:Messaging | Security
Free Windows Admin Tool Kit Click here and download it now
November 2nd, 2011 12:04am

It seems that System folders were moved to 2010. {Public Folders} is 2010. I have a problem with "Internet Newsgroups {Public Folder Database}" and this is on 2007. I tried to remove it but nothing worked. Thank you.
November 2nd, 2011 12:09am

But these folder also seems to be on Exchange 2007 server sa pointed out by the get-publicfolderstatistics on the exmail2 (Exchange 2007 server) EX:/o=LBLCO/ou=Exchange Administrative G 80 10/31/2011 7:03:10 PM roup (FYDIBOHF23SPDLT) EX:/o=LBLCO/ou=First Administrative Grou 95 10/31/2011 7:00:28 PMJasjit Singh Dhindsa | ITIL v3 | IASA Foundation Certified | MCITP:Exchange 2010 | Exchange 2007 | MCTS:OCS 2007 | Exchange 2010 | Exchange 2007 | MCSA:Messaging | Security | MCSE:Messaging | Security
Free Windows Admin Tool Kit Click here and download it now
November 2nd, 2011 12:21am

Hi, Please also try below steps: 1 Restart the Information Store of Exchange 2007 2 Using ADSIEdit tool to remove the public folder database from the server. Hope they help. Thanks.Best Regards!
November 2nd, 2011 3:47am

Hi, Make sure that the mail flow still works, do a restart of the servers and then try the movereplicas script again Also check the system attendant mailbox so it works correctly Try that and update us Or else the way out of it is adsiedit, but that's really the last resort Jonas Andersson | Microsoft Community Contributor Award 2011 | MCITP: EMA 2007/2010 | Blog: http://www.testlabs.se/blog | Follow me on twitter: jonand82
Free Windows Admin Tool Kit Click here and download it now
November 2nd, 2011 11:02am

The mail flow works but I do not have any users on Exchange 2007 left. Also, if I try to use adsiedit and go to Configuration.......... Public Folder Database, it is empty. Nothing is there. Thank you.
November 2nd, 2011 11:27am

You checking this location CN=Configuration | CN=Services | CN=Microsoft Exchange | CN=<Organization Name> | CN=<Administrative Group> | CN=Servers | CN=Information Store | CN=<Storage Group Name> | right clik on the CN=<Public Folder Store>,Jasjit Singh Dhindsa | ITIL v3 | IASA Foundation Certified | MCITP:EMA Exchange 2010/2007 | MCTS:OCS 2007 | Exchange 2010/2007 | MCSA:Messaging/Security | MCSE:Messaging/Security
Free Windows Admin Tool Kit Click here and download it now
November 2nd, 2011 11:33am

Do you mean that I have to delete container called CN=Public Folder Database? It is empty. Thank you.
November 2nd, 2011 11:36am

In my case i have it under "Second Storage Group" and a object called "CN=Public Folder Database", that's the one you should remove if you want to get rid of the PF database Jonas Andersson | Microsoft Community Contributor Award 2011 | MCITP: EMA 2007/2010 | Blog: http://www.testlabs.se/blog | Follow me on twitter: jonand82
Free Windows Admin Tool Kit Click here and download it now
November 2nd, 2011 11:41am

CN=<Public Folder Store>. You need to delete the PF Store. It will be under the storage group. There will not be anything under the PF Store.Jasjit Singh Dhindsa | ITIL v3 | IASA Foundation Certified | MCITP:EMA Exchange 2010/2007 | MCTS:OCS 2007 | Exchange 2010/2007 | MCSA:Messaging/Security | MCSE:Messaging/Security
November 2nd, 2011 11:42am

It worked. Thank you for your help.
Free Windows Admin Tool Kit Click here and download it now
November 2nd, 2011 11:48am

Glad it worked, you had two quick replies with same suggestion :) Jonas Andersson | Microsoft Community Contributor Award 2011 | MCITP: EMA 2007/2010 | Blog: http://www.testlabs.se/blog | Follow me on twitter: jonand82
November 2nd, 2011 11:54am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics