Upgrade from E2K7 to E2K10 - cannot remove E2K7 mailbox role
I've run the .\MoveAllReplicas.ps1 script as indicated below. Although all replicas are shown to be on the new server (EX10A), I cannot uninstall Exchange 2007 from EX11. Note: EX10A is running E2K10SP1. EX11 is in fact running E2K7SP2. Here's the PS output with the error message at the end (appears if I either attempt to remove the PF database on EX11 or uninstall Exchange 2K7 from EX11 altogether). N-PF1 is the name of the Public Folder database on EX10A. "N" as in New. PF as in Public Folder. Would have been better to put PFDB-1 perhaps but I doubt the name is the problem... ############################################################## [PS] C:\Program Files\Microsoft\Exchange Server\v14\scripts>.\MoveAllReplicas.ps1 cmdlet MoveAllReplicas.ps1 at command pipeline position 1 Supply values for the following parameters: Server: EX11 NewServer: EX10A [PS] C:\Program Files\Microsoft\Exchange Server\v14\scripts>sl \ [PS] C:\>Get-PublicFolder -recurse | fl name,replicas Name : IPM_SUBTREE Replicas : {} Name : Internet Newsgroups Replicas : {N-PF1} Name : PF1 Replicas : {N-PF1} Name : PF2 Replicas : {N-PF1} Name : PF2-1 Replicas : {N-PF1} Name : PF3 Replicas : {N-PF1} Name : PF4 Replicas : {N-PF1} Name : PF4-1 Replicas : {N-PF1} [PS] C:\>Get-PublicFolder -recurse \NON_IPM_SUBTREE | fl name,replicas Name : NON_IPM_SUBTREE Replicas : {} Name : EFORMS REGISTRY Replicas : {} Name : Events Root Replicas : {N-PF1} Name : OFFLINE ADDRESS BOOK Replicas : {} Name : /o=MYNET/cn=addrlists/cn=oabs/cn=Default Offline Address List Replicas : {N-PF1} Name : OAB Version 2 Replicas : {N-PF1} Name : OAB Version 3a Replicas : {N-PF1} Name : OAB Version 4 Replicas : {N-PF1} Name : EX:/o=MYNET/ou=Exchange Administrative Group (FYDIBOHF23SPDLT) Replicas : {N-PF1} Name : EX:/o=MYNET/ou=First Administrative Group Replicas : {N-PF1} Name : OWAScratchPad{5DBDAD47-D4C9-402E-B651-245F774CC260} Replicas : {N-PF1} Name : SCHEDULE+ FREE BUSY Replicas : {} Name : EX:/o=MYNET/ou=Exchange Administrative Group (FYDIBOHF23SPDLT) Replicas : {N-PF1} Name : EX:/o=MYNET/ou=First Administrative Group Replicas : {N-PF1} Name : schema-root Replicas : {N-PF1} Name : Default Replicas : {N-PF1} Name : microsoft Replicas : {N-PF1} Name : exchangeV1 Replicas : {N-PF1} Name : StoreEvents{5DBDAD47-D4C9-402E-B651-245F774CC260} Replicas : {N-PF1} Name : globalevents Replicas : {N-PF1} Name : internal Replicas : {N-PF1} -------------------------------------------------------- Microsoft Exchange Error -------------------------------------------------------- The public folder database 'PFDB1' cannot be deleted. PFDB1 Failed Error: The public folder database "EX11\EX11-PF-SG\PFDB1" contains folder replicas. Before deleting the public folder database, remove the folders or move the replicas to another public folder database. For detailed instructions about how to remove a public folder database, see http://go.microsoft.com/fwlink/?linkid=81409. ############################################################ So where are the replicas hiding? Output only shows them on N-PF1 - the EX10A-E2K10 public folder database. The link indicated above mentions the script that I used: MoveAllReplicas (one of two options): http://technet.microsoft.com/en-us/library/bb331970(EXCHG.80).aspx Other links suggest editing AD with ADSIEdit, an option I can explore if necessary: http://social.technet.microsoft.com/Forums/en-NZ/exchangesvrmigration/thread/e71d081a-4876-4c33-94b0-919ddea8f194
January 15th, 2012 5:22pm

Hi Le, You can follow that link and delete public folder database with ADSIEdit. http://social.technet.microsoft.com/Forums/en-NZ/exchangesvrmigration/thread/e71d081a-4876-4c33-94b0-919ddea8f194 Afterwards please uninstall your Exchane 2007 again. Thanks.Rowen TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
January 16th, 2012 2:46am

Any update on the issue? You can remove the public folder database from Adsiedit.msc. Gulab | MCITP: Exchange 2010-2007 | Lync Server 2010 | Windows Server 2008 | Blog: www.ExchangeRanger.Blogspot.com | Skype: Exchange.Ranger
January 16th, 2012 7:08am

Hello, In the below linked article the process is cleanly documented for moving the folders via EMC, follow steps 1, 2 & 3 for a clean migration. Kind Regards http://blogs.technet.com/b/exchange/archive/2007/07/09/3403373.aspx
Free Windows Admin Tool Kit Click here and download it now
January 16th, 2012 10:45am

Good to hear that your issue got resolved. :) Cheers,Gulab Prasad, MCITP: Exchange Server 2010 | MCITP: Exchange Server 2007 MCITP: Lync Server 2010 | MCITP: Windows Server 2008 My Blog | Z-Hire Employee Provisioning App Skype: Exchange.Ranger
January 17th, 2012 8:19am

Ed Crowley: A few system folders get created with a new public folder store. You can probably delete them. Most of the folders in your list are server-specific and you don't need to move them like you did. Right. But the script recommended for this - MoveAllReplicas.ps1 - does precisely that: moves all replicas. I have done this manually - essentially just moving the public folders related to the OAB and then Free/Busy. Then I *thought* it would be better to use the suggested script because the people that wrote it - probably more knowledgeable than myself - would have made sure that everything needed would be moved. But it looks like it may be overkill - ???
Free Windows Admin Tool Kit Click here and download it now
January 17th, 2012 8:21am

That's true for OAB and Free-Busy. My point is that it isn't necessary to move most of those replicas because they're server-specific. You can delete them. Actually that script doesn't move anything. It just adds the new server as a removes the old one. Normal public folder replication takes care of doing the moving when it's working correctly.Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."
January 17th, 2012 1:27pm

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

Other recent topics Other recent topics