Migrating from Exchange 2007 to 2010.
Greetings, I was wondering if any of you would be able to suggest a solution to the following problem? Sinario: 1 Exchange server running version 2007. New exchange server running on 2010. Public folders seem to have been replicated across ok and the 2010 server is configured to be the primary server now. Replication has finally been removed from the 2007 server. It has therefore allowed me to remove the non-system databases. I am now trying to remove the system public databases.
From the GUI or the command line the errors are the same;
Any ideas? Error below: [PS] C:\Program Files\Microsoft\Exchange Server\V14\Scripts>Get-PublicFolder -Server <OldServer> "\Non_Ipm_Subtree" -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Server <OldServer> -Recurse Confirm Are you sure you want to perform this action? Removing public folder "\NON_IPM_SUBTREE". [Y] Yes [A] Yes to All [N] No [L] No to All [?] Help (default is "Y"): a Modification of the '\NON_IPM_SUBTREE' folder is not allowed. + CategoryInfo : NotSpecified: (0:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 36EC8CB5,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\EFORMS REGISTRY' folder isn't allowed. + CategoryInfo : NotSpecified: (1:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 46129E00,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\Events Root'. Please make sure that you specified the correct identity and t hat you have the correct permissions to delete it. + CategoryInfo : NotSpecified: (2:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : E4954678,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK' folder isn't allowed. + CategoryInfo : NotSpecified: (3:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 4E149135,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\/o=First Organization/cn=addrlists/cn=oabs/cn=Default O ffline Address Book'. Please make sure that you specified the correct identity and that you have the correct permission s to delete it. + CategoryInfo : NotSpecified: (4:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : 783E1C44,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\EX:/o=First Organization/ou=Exchange Administrative Gro up (FYDIBOHF23SPDLT)'. Please make sure that you specified the correct identity and that you have the correct permissio ns to delete it. + CategoryInfo : NotSpecified: (5:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : DBE49C6E,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY' folder isn't allowed. + CategoryInfo : NotSpecified: (6:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 51AC246C,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY\EX:/o=First Organization/ou=Exchange Administrative Grou p (FYDIBOHF23SPDLT)'. Please make sure that you specified the correct identity and that you have the correct permission s to delete it. + CategoryInfo : NotSpecified: (7:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : 5A93A77B,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Regards Darragh Ó Héiligh Fujitsu Offices of the Houses of the Oireachtas, Fredrick Building, South Fredrick Street, Dublin2 Telephone: +353 (1) 618 3559 Email: darragh.oheiligh@oireachtas.ie Internet: http://www.oireachtas.ie
Hi, Did you use something like the following steps to do this: .\AddReplicaToPFRecursive.ps1 -server "exchange2007server" -TopPublicFolder "\NON_IPM_Subtree" -ServerToAdd "exchange2010server" Wait for replication then run: .\MoveAllReplicas.ps1 -Server "Exchange2007server" -NewServer "Exchange2010server" This needs running from the 2k10 box. You can get full statistics on the public folders by running: Get-PublicFolderStatistics -server "Exchange2007Server" | fl | out-file c:\publicfolders.txt I kept running this at various stages throughout the whole process, at the end of the process when everything has been moved you will get an empty file. It took ages on my box with only a free/busy and OAB populated. You should then be able to delete the PF database, you may need to zap the mailbox database first as it is probably associated with that pf database. Thanks. Andrew. ________________________________________ From: blind-sysadmins-bounces@lists.hodgsonfamily.org [blind-sysadmins-bounces@lists.hodgsonfamily.org] on behalf of Darragh OHeiligh [Darragh.OHeiligh@Oireachtas.ie] Sent: 04 October 2011 11:33 To: blind-sysadmins@lists.hodgsonfamily.org Subject: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Greetings, I was wondering if any of you would be able to suggest a solution to the following problem? Sinario: 1 Exchange server running version 2007. New exchange server running on 2010. Public folders seem to have been replicated across ok and the 2010 server is configured to be the primary server now. Replication has finally been removed from the 2007 server. It has therefore allowed me to remove the non-system databases. I am now trying to remove the system public databases.
From the GUI or the command line the errors are the same;
Any ideas? Error below: [PS] C:\Program Files\Microsoft\Exchange Server\V14\Scripts>Get-PublicFolder -Server <OldServer> "\Non_Ipm_Subtree" -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Server <OldServer> -Recurse Confirm Are you sure you want to perform this action? Removing public folder "\NON_IPM_SUBTREE". [Y] Yes [A] Yes to All [N] No [L] No to All [?] Help (default is "Y"): a Modification of the '\NON_IPM_SUBTREE' folder is not allowed. + CategoryInfo : NotSpecified: (0:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 36EC8CB5,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\EFORMS REGISTRY' folder isn't allowed. + CategoryInfo : NotSpecified: (1:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 46129E00,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\Events Root'. Please make sure that you specified the correct identity and t hat you have the correct permissions to delete it. + CategoryInfo : NotSpecified: (2:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : E4954678,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK' folder isn't allowed. + CategoryInfo : NotSpecified: (3:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 4E149135,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\/o=First Organization/cn=addrlists/cn=oabs/cn=Default O ffline Address Book'. Please make sure that you specified the correct identity and that you have the correct permission s to delete it. + CategoryInfo : NotSpecified: (4:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : 783E1C44,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\EX:/o=First Organization/ou=Exchange Administrative Gro up (FYDIBOHF23SPDLT)'. Please make sure that you specified the correct identity and that you have the correct permissio ns to delete it. + CategoryInfo : NotSpecified: (5:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : DBE49C6E,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY' folder isn't allowed. + CategoryInfo : NotSpecified: (6:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 51AC246C,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY\EX:/o=First Organization/ou=Exchange Administrative Grou p (FYDIBOHF23SPDLT)'. Please make sure that you specified the correct identity and that you have the correct permission s to delete it. + CategoryInfo : NotSpecified: (7:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : 5A93A77B,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Regards Darragh Ó Héiligh Fujitsu Offices of the Houses of the Oireachtas, Fredrick Building, South Fredrick Street, Dublin2 Telephone: +353 (1) 618 3559 Email: darragh.oheiligh@oireachtas.ie Internet: http://www.oireachtas.ie _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins
Hi, Did you use something like the following steps to do this: .\AddReplicaToPFRecursive.ps1 -server "exchange2007server" -TopPublicFolder "\NON_IPM_Subtree" -ServerToAdd "exchange2010server" Wait for replication then run: .\MoveAllReplicas.ps1 -Server "Exchange2007server" -NewServer "Exchange2010server" This needs running from the 2k10 box. You can get full statistics on the public folders by running: Get-PublicFolderStatistics -server "Exchange2007Server" | fl | out-file c:\publicfolders.txt I kept running this at various stages throughout the whole process, at the end of the process when everything has been moved you will get an empty file. It took ages on my box with only a free/busy and OAB populated. You should then be able to delete the PF database, you may need to zap the mailbox database first as it is probably associated with that pf database. Thanks. Andrew. ________________________________________ From: blind-sysadmins-bounces@lists.hodgsonfamily.org [blind-sysadmins-bounces@lists.hodgsonfamily.org] on behalf of Darragh OHeiligh [Darragh.OHeiligh@Oireachtas.ie] Sent: 04 October 2011 11:33 To: blind-sysadmins@lists.hodgsonfamily.org Subject: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Greetings, I was wondering if any of you would be able to suggest a solution to the following problem? Sinario: 1 Exchange server running version 2007. New exchange server running on 2010. Public folders seem to have been replicated across ok and the 2010 server is configured to be the primary server now. Replication has finally been removed from the 2007 server. It has therefore allowed me to remove the non-system databases. I am now trying to remove the system public databases.
From the GUI or the command line the errors are the same;
Any ideas? Error below: [PS] C:\Program Files\Microsoft\Exchange Server\V14\Scripts>Get-PublicFolder -Server <OldServer> "\Non_Ipm_Subtree" -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Server <OldServer> -Recurse Confirm Are you sure you want to perform this action? Removing public folder "\NON_IPM_SUBTREE". [Y] Yes [A] Yes to All [N] No [L] No to All [?] Help (default is "Y"): a Modification of the '\NON_IPM_SUBTREE' folder is not allowed. + CategoryInfo : NotSpecified: (0:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 36EC8CB5,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\EFORMS REGISTRY' folder isn't allowed. + CategoryInfo : NotSpecified: (1:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 46129E00,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\Events Root'. Please make sure that you specified the correct identity and t hat you have the correct permissions to delete it. + CategoryInfo : NotSpecified: (2:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : E4954678,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK' folder isn't allowed. + CategoryInfo : NotSpecified: (3:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 4E149135,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\/o=First Organization/cn=addrlists/cn=oabs/cn=Default O ffline Address Book'. Please make sure that you specified the correct identity and that you have the correct permission s to delete it. + CategoryInfo : NotSpecified: (4:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : 783E1C44,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\EX:/o=First Organization/ou=Exchange Administrative Gro up (FYDIBOHF23SPDLT)'. Please make sure that you specified the correct identity and that you have the correct permissio ns to delete it. + CategoryInfo : NotSpecified: (5:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : DBE49C6E,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY' folder isn't allowed. + CategoryInfo : NotSpecified: (6:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 51AC246C,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY\EX:/o=First Organization/ou=Exchange Administrative Grou p (FYDIBOHF23SPDLT)'. Please make sure that you specified the correct identity and that you have the correct permission s to delete it. + CategoryInfo : NotSpecified: (7:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : 5A93A77B,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Regards Darragh Ó Héiligh Fujitsu Offices of the Houses of the Oireachtas, Fredrick Building, South Fredrick Street, Dublin2 Telephone: +353 (1) 618 3559 Email: darragh.oheiligh@oireachtas.ie Internet: http://www.oireachtas.ie _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins
Good morning Andrew, thanks for that. Yes. I have run those commands. The addReplica script runs however it says that the command has run correctly however no values were updated. Sorry, I tried to get the exact error but for some reason it didn't let me past back to the local machine and I closed the session before I realised it. I've set off the MoveAllReplicas script again so who knows maybe at smoe stage I'll get lucky. All that's left are the system databases. There's only a few as well. OffLineAddressbook is one, events is another and EForms is there as well. I cant remember them all. I do know that the Exchange 2010 box has these databases either because it's created them it's self or through replication. I'm not sure. I seriously need to learn more about Exchange. Any ideas? All I really need to do at this stage is delete the system databases. I'm don't care at all about replication. I hope that once their deleted I'll be able to just uninstall Exchange from that server and the 2010 will behave it's self. Regards Darragh Ó Héiligh Fujitsu Offices of the Houses of the Oireachtas, Fredrick Building, South Fredrick Street, Dublin2 Telephone: +353 (1) 618 3559 Email: darragh.oheiligh@oireachtas.ie Internet: http://www.oireachtas.ie From: Andrew Hodgson <andrew@hodgsonfamily.org> To: Blind sysadmins list <blind-sysadmins@lists.hodgsonfamily.org> Date: 04/10/2011 12:54 Subject: Re: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Sent by: blind-sysadmins-bounces@lists.hodgsonfamily.org Hi, Did you use something like the following steps to do this: .\AddReplicaToPFRecursive.ps1 -server "exchange2007server" -TopPublicFolder "\NON_IPM_Subtree" -ServerToAdd "exchange2010server" Wait for replication then run: .\MoveAllReplicas.ps1 -Server "Exchange2007server" -NewServer "Exchange2010server" This needs running from the 2k10 box. You can get full statistics on the public folders by running: Get-PublicFolderStatistics -server "Exchange2007Server" | fl | out-file c:\publicfolders.txt I kept running this at various stages throughout the whole process, at the end of the process when everything has been moved you will get an empty file. It took ages on my box with only a free/busy and OAB populated. You should then be able to delete the PF database, you may need to zap the mailbox database first as it is probably associated with that pf database. Thanks. Andrew. ________________________________________ From: blind-sysadmins-bounces@lists.hodgsonfamily.org [blind-sysadmins-bounces@lists.hodgsonfamily.org] on behalf of Darragh OHeiligh [Darragh.OHeiligh@Oireachtas.ie] Sent: 04 October 2011 11:33 To: blind-sysadmins@lists.hodgsonfamily.org Subject: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Greetings, I was wondering if any of you would be able to suggest a solution to the following problem? Sinario: 1 Exchange server running version 2007. New exchange server running on 2010. Public folders seem to have been replicated across ok and the 2010 server is configured to be the primary server now. Replication has finally been removed from the 2007 server. It has therefore allowed me to remove the non-system databases. I am now trying to remove the system public databases.
From the GUI or the command line the errors are the same;
Any ideas? Error below: [PS] C:\Program Files\Microsoft\Exchange Server\V14\Scripts>Get-PublicFolder -Server <OldServer> "\Non_Ipm_Subtree" -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Server <OldServer> -Recurse Confirm Are you sure you want to perform this action? Removing public folder "\NON_IPM_SUBTREE". [Y] Yes [A] Yes to All [N] No [L] No to All [?] Help (default is "Y"): a Modification of the '\NON_IPM_SUBTREE' folder is not allowed. + CategoryInfo : NotSpecified: (0:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 36EC8CB5,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\EFORMS REGISTRY' folder isn't allowed. + CategoryInfo : NotSpecified: (1:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 46129E00,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\Events Root'. Please make sure that you specified the correct identity and t hat you have the correct permissions to delete it. + CategoryInfo : NotSpecified: (2:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : E4954678,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK' folder isn't allowed. + CategoryInfo : NotSpecified: (3:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 4E149135,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\/o=First Organization/cn=addrlists/cn=oabs/cn=Default O ffline Address Book'. Please make sure that you specified the correct identity and that you have the correct permission s to delete it. + CategoryInfo : NotSpecified: (4:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : 783E1C44,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\EX:/o=First Organization/ou=Exchange Administrative Gro up (FYDIBOHF23SPDLT)'. Please make sure that you specified the correct identity and that you have the correct permissio ns to delete it. + CategoryInfo : NotSpecified: (5:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : DBE49C6E,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY' folder isn't allowed. + CategoryInfo : NotSpecified: (6:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 51AC246C,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY\EX:/o=First Organization/ou=Exchange Administrative Grou p (FYDIBOHF23SPDLT)'. Please make sure that you specified the correct identity and that you have the correct permission s to delete it. + CategoryInfo : NotSpecified: (7:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : 5A93A77B,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Regards Darragh Ó Héiligh Fujitsu Offices of the Houses of the Oireachtas, Fredrick Building, South Fredrick Street, Dublin2 Telephone: +353 (1) 618 3559 Email: darragh.oheiligh@oireachtas.ie Internet: http://www.oireachtas.ie _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins
Good morning Andrew, thanks for that. Yes. I have run those commands. The addReplica script runs however it says that the command has run correctly however no values were updated. Sorry, I tried to get the exact error but for some reason it didn't let me past back to the local machine and I closed the session before I realised it. I've set off the MoveAllReplicas script again so who knows maybe at smoe stage I'll get lucky. All that's left are the system databases. There's only a few as well. OffLineAddressbook is one, events is another and EForms is there as well. I cant remember them all. I do know that the Exchange 2010 box has these databases either because it's created them it's self or through replication. I'm not sure. I seriously need to learn more about Exchange. Any ideas? All I really need to do at this stage is delete the system databases. I'm don't care at all about replication. I hope that once their deleted I'll be able to just uninstall Exchange from that server and the 2010 will behave it's self. Regards Darragh Ó Héiligh Fujitsu Offices of the Houses of the Oireachtas, Fredrick Building, South Fredrick Street, Dublin2 Telephone: +353 (1) 618 3559 Email: darragh.oheiligh@oireachtas.ie Internet: http://www.oireachtas.ie From: Andrew Hodgson <andrew@hodgsonfamily.org> To: Blind sysadmins list <blind-sysadmins@lists.hodgsonfamily.org> Date: 04/10/2011 12:54 Subject: Re: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Sent by: blind-sysadmins-bounces@lists.hodgsonfamily.org Hi, Did you use something like the following steps to do this: .\AddReplicaToPFRecursive.ps1 -server "exchange2007server" -TopPublicFolder "\NON_IPM_Subtree" -ServerToAdd "exchange2010server" Wait for replication then run: .\MoveAllReplicas.ps1 -Server "Exchange2007server" -NewServer "Exchange2010server" This needs running from the 2k10 box. You can get full statistics on the public folders by running: Get-PublicFolderStatistics -server "Exchange2007Server" | fl | out-file c:\publicfolders.txt I kept running this at various stages throughout the whole process, at the end of the process when everything has been moved you will get an empty file. It took ages on my box with only a free/busy and OAB populated. You should then be able to delete the PF database, you may need to zap the mailbox database first as it is probably associated with that pf database. Thanks. Andrew. ________________________________________ From: blind-sysadmins-bounces@lists.hodgsonfamily.org [blind-sysadmins-bounces@lists.hodgsonfamily.org] on behalf of Darragh OHeiligh [Darragh.OHeiligh@Oireachtas.ie] Sent: 04 October 2011 11:33 To: blind-sysadmins@lists.hodgsonfamily.org Subject: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Greetings, I was wondering if any of you would be able to suggest a solution to the following problem? Sinario: 1 Exchange server running version 2007. New exchange server running on 2010. Public folders seem to have been replicated across ok and the 2010 server is configured to be the primary server now. Replication has finally been removed from the 2007 server. It has therefore allowed me to remove the non-system databases. I am now trying to remove the system public databases.
From the GUI or the command line the errors are the same;
Any ideas? Error below: [PS] C:\Program Files\Microsoft\Exchange Server\V14\Scripts>Get-PublicFolder -Server <OldServer> "\Non_Ipm_Subtree" -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Server <OldServer> -Recurse Confirm Are you sure you want to perform this action? Removing public folder "\NON_IPM_SUBTREE". [Y] Yes [A] Yes to All [N] No [L] No to All [?] Help (default is "Y"): a Modification of the '\NON_IPM_SUBTREE' folder is not allowed. + CategoryInfo : NotSpecified: (0:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 36EC8CB5,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\EFORMS REGISTRY' folder isn't allowed. + CategoryInfo : NotSpecified: (1:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 46129E00,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\Events Root'. Please make sure that you specified the correct identity and t hat you have the correct permissions to delete it. + CategoryInfo : NotSpecified: (2:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : E4954678,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK' folder isn't allowed. + CategoryInfo : NotSpecified: (3:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 4E149135,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\/o=First Organization/cn=addrlists/cn=oabs/cn=Default O ffline Address Book'. Please make sure that you specified the correct identity and that you have the correct permission s to delete it. + CategoryInfo : NotSpecified: (4:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : 783E1C44,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\EX:/o=First Organization/ou=Exchange Administrative Gro up (FYDIBOHF23SPDLT)'. Please make sure that you specified the correct identity and that you have the correct permissio ns to delete it. + CategoryInfo : NotSpecified: (5:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : DBE49C6E,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY' folder isn't allowed. + CategoryInfo : NotSpecified: (6:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 51AC246C,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY\EX:/o=First Organization/ou=Exchange Administrative Grou p (FYDIBOHF23SPDLT)'. Please make sure that you specified the correct identity and that you have the correct permission s to delete it. + CategoryInfo : NotSpecified: (7:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : 5A93A77B,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Regards Darragh Ó Héiligh Fujitsu Offices of the Houses of the Oireachtas, Fredrick Building, South Fredrick Street, Dublin2 Telephone: +353 (1) 618 3559 Email: darragh.oheiligh@oireachtas.ie Internet: http://www.oireachtas.ie _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins
Hi, If you aren't worried about the data in those public folders, then just delete the (hopefully) empty mailbox database, then remove the public folder database. That should get you in the right direction to carry out the uninstall. Sorry if telling you to suck eggs, but you realise you need to uninstall from the control panel to get the system in a working state? Just removing the complete system will leave a real mess behind. Someone at my old job did this a while back and I had to clean up the mess, luckily the computer object was still present in Active Directory so I was able to do a reinstall using the /disasterrecovery switch and then uninstall correctly, but it could have been very bad! Andrew. ________________________________________ From: blind-sysadmins-bounces@lists.hodgsonfamily.org [blind-sysadmins-bounces@lists.hodgsonfamily.org] on behalf of Darragh OHeiligh [Darragh.OHeiligh@Oireachtas.ie] Sent: 05 October 2011 11:12 To: Blind sysadmins list Cc: blind-sysadmins-bounces@lists.hodgsonfamily.org Subject: Re: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Good morning Andrew, thanks for that. Yes. I have run those commands. The addReplica script runs however it says that the command has run correctly however no values were updated. Sorry, I tried to get the exact error but for some reason it didn't let me past back to the local machine and I closed the session before I realised it. I've set off the MoveAllReplicas script again so who knows maybe at smoe stage I'll get lucky. All that's left are the system databases. There's only a few as well. OffLineAddressbook is one, events is another and EForms is there as well. I cant remember them all. I do know that the Exchange 2010 box has these databases either because it's created them it's self or through replication. I'm not sure. I seriously need to learn more about Exchange. Any ideas? All I really need to do at this stage is delete the system databases. I'm don't care at all about replication. I hope that once their deleted I'll be able to just uninstall Exchange from that server and the 2010 will behave it's self. Regards Darragh Ó Héiligh Fujitsu Offices of the Houses of the Oireachtas, Fredrick Building, South Fredrick Street, Dublin2 Telephone: +353 (1) 618 3559 Email: darragh.oheiligh@oireachtas.ie Internet: http://www.oireachtas.ie From: Andrew Hodgson <andrew@hodgsonfamily.org> To: Blind sysadmins list <blind-sysadmins@lists.hodgsonfamily.org> Date: 04/10/2011 12:54 Subject: Re: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Sent by: blind-sysadmins-bounces@lists.hodgsonfamily.org Hi, Did you use something like the following steps to do this: .\AddReplicaToPFRecursive.ps1 -server "exchange2007server" -TopPublicFolder "\NON_IPM_Subtree" -ServerToAdd "exchange2010server" Wait for replication then run: .\MoveAllReplicas.ps1 -Server "Exchange2007server" -NewServer "Exchange2010server" This needs running from the 2k10 box. You can get full statistics on the public folders by running: Get-PublicFolderStatistics -server "Exchange2007Server" | fl | out-file c:\publicfolders.txt I kept running this at various stages throughout the whole process, at the end of the process when everything has been moved you will get an empty file. It took ages on my box with only a free/busy and OAB populated. You should then be able to delete the PF database, you may need to zap the mailbox database first as it is probably associated with that pf database. Thanks. Andrew. ________________________________________ From: blind-sysadmins-bounces@lists.hodgsonfamily.org [blind-sysadmins-bounces@lists.hodgsonfamily.org] on behalf of Darragh OHeiligh [Darragh.OHeiligh@Oireachtas.ie] Sent: 04 October 2011 11:33 To: blind-sysadmins@lists.hodgsonfamily.org Subject: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Greetings, I was wondering if any of you would be able to suggest a solution to the following problem? Sinario: 1 Exchange server running version 2007. New exchange server running on 2010. Public folders seem to have been replicated across ok and the 2010 server is configured to be the primary server now. Replication has finally been removed from the 2007 server. It has therefore allowed me to remove the non-system databases. I am now trying to remove the system public databases.
From the GUI or the command line the errors are the same;
Any ideas? Error below: [PS] C:\Program Files\Microsoft\Exchange Server\V14\Scripts>Get-PublicFolder -Server <OldServer> "\Non_Ipm_Subtree" -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Server <OldServer> -Recurse Confirm Are you sure you want to perform this action? Removing public folder "\NON_IPM_SUBTREE". [Y] Yes [A] Yes to All [N] No [L] No to All [?] Help (default is "Y"): a Modification of the '\NON_IPM_SUBTREE' folder is not allowed. + CategoryInfo : NotSpecified: (0:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 36EC8CB5,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\EFORMS REGISTRY' folder isn't allowed. + CategoryInfo : NotSpecified: (1:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 46129E00,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\Events Root'. Please make sure that you specified the correct identity and t hat you have the correct permissions to delete it. + CategoryInfo : NotSpecified: (2:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : E4954678,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK' folder isn't allowed. + CategoryInfo : NotSpecified: (3:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 4E149135,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\/o=First Organization/cn=addrlists/cn=oabs/cn=Default O ffline Address Book'. Please make sure that you specified the correct identity and that you have the correct permission s to delete it. + CategoryInfo : NotSpecified: (4:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : 783E1C44,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\EX:/o=First Organization/ou=Exchange Administrative Gro up (FYDIBOHF23SPDLT)'. Please make sure that you specified the correct identity and that you have the correct permissio ns to delete it. + CategoryInfo : NotSpecified: (5:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : DBE49C6E,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY' folder isn't allowed. + CategoryInfo : NotSpecified: (6:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 51AC246C,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY\EX:/o=First Organization/ou=Exchange Administrative Grou p (FYDIBOHF23SPDLT)'. Please make sure that you specified the correct identity and that you have the correct permission s to delete it. + CategoryInfo : NotSpecified: (7:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : 5A93A77B,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Regards Darragh Ó Héiligh Fujitsu Offices of the Houses of the Oireachtas, Fredrick Building, South Fredrick Street, Dublin2 Telephone: +353 (1) 618 3559 Email: darragh.oheiligh@oireachtas.ie Internet: http://www.oireachtas.ie _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins
Hi, If you aren't worried about the data in those public folders, then just delete the (hopefully) empty mailbox database, then remove the public folder database. That should get you in the right direction to carry out the uninstall. Sorry if telling you to suck eggs, but you realise you need to uninstall from the control panel to get the system in a working state? Just removing the complete system will leave a real mess behind. Someone at my old job did this a while back and I had to clean up the mess, luckily the computer object was still present in Active Directory so I was able to do a reinstall using the /disasterrecovery switch and then uninstall correctly, but it could have been very bad! Andrew. ________________________________________ From: blind-sysadmins-bounces@lists.hodgsonfamily.org [blind-sysadmins-bounces@lists.hodgsonfamily.org] on behalf of Darragh OHeiligh [Darragh.OHeiligh@Oireachtas.ie] Sent: 05 October 2011 11:12 To: Blind sysadmins list Cc: blind-sysadmins-bounces@lists.hodgsonfamily.org Subject: Re: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Good morning Andrew, thanks for that. Yes. I have run those commands. The addReplica script runs however it says that the command has run correctly however no values were updated. Sorry, I tried to get the exact error but for some reason it didn't let me past back to the local machine and I closed the session before I realised it. I've set off the MoveAllReplicas script again so who knows maybe at smoe stage I'll get lucky. All that's left are the system databases. There's only a few as well. OffLineAddressbook is one, events is another and EForms is there as well. I cant remember them all. I do know that the Exchange 2010 box has these databases either because it's created them it's self or through replication. I'm not sure. I seriously need to learn more about Exchange. Any ideas? All I really need to do at this stage is delete the system databases. I'm don't care at all about replication. I hope that once their deleted I'll be able to just uninstall Exchange from that server and the 2010 will behave it's self. Regards Darragh Ó Héiligh Fujitsu Offices of the Houses of the Oireachtas, Fredrick Building, South Fredrick Street, Dublin2 Telephone: +353 (1) 618 3559 Email: darragh.oheiligh@oireachtas.ie Internet: http://www.oireachtas.ie From: Andrew Hodgson <andrew@hodgsonfamily.org> To: Blind sysadmins list <blind-sysadmins@lists.hodgsonfamily.org> Date: 04/10/2011 12:54 Subject: Re: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Sent by: blind-sysadmins-bounces@lists.hodgsonfamily.org Hi, Did you use something like the following steps to do this: .\AddReplicaToPFRecursive.ps1 -server "exchange2007server" -TopPublicFolder "\NON_IPM_Subtree" -ServerToAdd "exchange2010server" Wait for replication then run: .\MoveAllReplicas.ps1 -Server "Exchange2007server" -NewServer "Exchange2010server" This needs running from the 2k10 box. You can get full statistics on the public folders by running: Get-PublicFolderStatistics -server "Exchange2007Server" | fl | out-file c:\publicfolders.txt I kept running this at various stages throughout the whole process, at the end of the process when everything has been moved you will get an empty file. It took ages on my box with only a free/busy and OAB populated. You should then be able to delete the PF database, you may need to zap the mailbox database first as it is probably associated with that pf database. Thanks. Andrew. ________________________________________ From: blind-sysadmins-bounces@lists.hodgsonfamily.org [blind-sysadmins-bounces@lists.hodgsonfamily.org] on behalf of Darragh OHeiligh [Darragh.OHeiligh@Oireachtas.ie] Sent: 04 October 2011 11:33 To: blind-sysadmins@lists.hodgsonfamily.org Subject: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Greetings, I was wondering if any of you would be able to suggest a solution to the following problem? Sinario: 1 Exchange server running version 2007. New exchange server running on 2010. Public folders seem to have been replicated across ok and the 2010 server is configured to be the primary server now. Replication has finally been removed from the 2007 server. It has therefore allowed me to remove the non-system databases. I am now trying to remove the system public databases.
From the GUI or the command line the errors are the same;
Any ideas? Error below: [PS] C:\Program Files\Microsoft\Exchange Server\V14\Scripts>Get-PublicFolder -Server <OldServer> "\Non_Ipm_Subtree" -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Server <OldServer> -Recurse Confirm Are you sure you want to perform this action? Removing public folder "\NON_IPM_SUBTREE". [Y] Yes [A] Yes to All [N] No [L] No to All [?] Help (default is "Y"): a Modification of the '\NON_IPM_SUBTREE' folder is not allowed. + CategoryInfo : NotSpecified: (0:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 36EC8CB5,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\EFORMS REGISTRY' folder isn't allowed. + CategoryInfo : NotSpecified: (1:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 46129E00,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\Events Root'. Please make sure that you specified the correct identity and t hat you have the correct permissions to delete it. + CategoryInfo : NotSpecified: (2:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : E4954678,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK' folder isn't allowed. + CategoryInfo : NotSpecified: (3:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 4E149135,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\/o=First Organization/cn=addrlists/cn=oabs/cn=Default O ffline Address Book'. Please make sure that you specified the correct identity and that you have the correct permission s to delete it. + CategoryInfo : NotSpecified: (4:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : 783E1C44,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\EX:/o=First Organization/ou=Exchange Administrative Gro up (FYDIBOHF23SPDLT)'. Please make sure that you specified the correct identity and that you have the correct permissio ns to delete it. + CategoryInfo : NotSpecified: (5:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : DBE49C6E,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY' folder isn't allowed. + CategoryInfo : NotSpecified: (6:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 51AC246C,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY\EX:/o=First Organization/ou=Exchange Administrative Grou p (FYDIBOHF23SPDLT)'. Please make sure that you specified the correct identity and that you have the correct permission s to delete it. + CategoryInfo : NotSpecified: (7:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : 5A93A77B,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Regards Darragh Ó Héiligh Fujitsu Offices of the Houses of the Oireachtas, Fredrick Building, South Fredrick Street, Dublin2 Telephone: +353 (1) 618 3559 Email: darragh.oheiligh@oireachtas.ie Internet: http://www.oireachtas.ie _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins
Oh yeah. Thanks. I know that removing the system from the network without uninstalling Exchange 07 using add remove programs would give me a lot of work to do. I'm very nervous about deleting the mailboxes in case something replicates and their deleted from the new server as well. Maybe I'm just paranoid though. When I try to delete the public folders from the GUI it gives me the same kind of error as I get in the console. I.e, they can not be removed before removing replication or some kind of thing like that. Will this change if the mailbox is deleted first? Thanks again. Regards Darragh Ó Héiligh Fujitsu Offices of the Houses of the Oireachtas, Fredrick Building, South Fredrick Street, Dublin2 Telephone: +353 (1) 618 3559 Email: darragh.oheiligh@oireachtas.ie Internet: http://www.oireachtas.ie From: Andrew Hodgson <andrew@hodgsonfamily.org> To: Blind sysadmins list <blind-sysadmins@lists.hodgsonfamily.org> Date: 05/10/2011 11:17 Subject: Re: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Sent by: blind-sysadmins-bounces@lists.hodgsonfamily.org Hi, If you aren't worried about the data in those public folders, then just delete the (hopefully) empty mailbox database, then remove the public folder database. That should get you in the right direction to carry out the uninstall. Sorry if telling you to suck eggs, but you realise you need to uninstall from the control panel to get the system in a working state? Just removing the complete system will leave a real mess behind. Someone at my old job did this a while back and I had to clean up the mess, luckily the computer object was still present in Active Directory so I was able to do a reinstall using the /disasterrecovery switch and then uninstall correctly, but it could have been very bad! Andrew. ________________________________________ From: blind-sysadmins-bounces@lists.hodgsonfamily.org [blind-sysadmins-bounces@lists.hodgsonfamily.org] on behalf of Darragh OHeiligh [Darragh.OHeiligh@Oireachtas.ie] Sent: 05 October 2011 11:12 To: Blind sysadmins list Cc: blind-sysadmins-bounces@lists.hodgsonfamily.org Subject: Re: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Good morning Andrew, thanks for that. Yes. I have run those commands. The addReplica script runs however it says that the command has run correctly however no values were updated. Sorry, I tried to get the exact error but for some reason it didn't let me past back to the local machine and I closed the session before I realised it. I've set off the MoveAllReplicas script again so who knows maybe at smoe stage I'll get lucky. All that's left are the system databases. There's only a few as well. OffLineAddressbook is one, events is another and EForms is there as well. I cant remember them all. I do know that the Exchange 2010 box has these databases either because it's created them it's self or through replication. I'm not sure. I seriously need to learn more about Exchange. Any ideas? All I really need to do at this stage is delete the system databases. I'm don't care at all about replication. I hope that once their deleted I'll be able to just uninstall Exchange from that server and the 2010 will behave it's self. Regards Darragh Ó Héiligh Fujitsu Offices of the Houses of the Oireachtas, Fredrick Building, South Fredrick Street, Dublin2 Telephone: +353 (1) 618 3559 Email: darragh.oheiligh@oireachtas.ie Internet: http://www.oireachtas.ie From: Andrew Hodgson <andrew@hodgsonfamily.org> To: Blind sysadmins list <blind-sysadmins@lists.hodgsonfamily.org> Date: 04/10/2011 12:54 Subject: Re: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Sent by: blind-sysadmins-bounces@lists.hodgsonfamily.org Hi, Did you use something like the following steps to do this: .\AddReplicaToPFRecursive.ps1 -server "exchange2007server" -TopPublicFolder "\NON_IPM_Subtree" -ServerToAdd "exchange2010server" Wait for replication then run: .\MoveAllReplicas.ps1 -Server "Exchange2007server" -NewServer "Exchange2010server" This needs running from the 2k10 box. You can get full statistics on the public folders by running: Get-PublicFolderStatistics -server "Exchange2007Server" | fl | out-file c:\publicfolders.txt I kept running this at various stages throughout the whole process, at the end of the process when everything has been moved you will get an empty file. It took ages on my box with only a free/busy and OAB populated. You should then be able to delete the PF database, you may need to zap the mailbox database first as it is probably associated with that pf database. Thanks. Andrew. ________________________________________ From: blind-sysadmins-bounces@lists.hodgsonfamily.org [blind-sysadmins-bounces@lists.hodgsonfamily.org] on behalf of Darragh OHeiligh [Darragh.OHeiligh@Oireachtas.ie] Sent: 04 October 2011 11:33 To: blind-sysadmins@lists.hodgsonfamily.org Subject: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Greetings, I was wondering if any of you would be able to suggest a solution to the following problem? Sinario: 1 Exchange server running version 2007. New exchange server running on 2010. Public folders seem to have been replicated across ok and the 2010 server is configured to be the primary server now. Replication has finally been removed from the 2007 server. It has therefore allowed me to remove the non-system databases. I am now trying to remove the system public databases.
From the GUI or the command line the errors are the same;
Any ideas? Error below: [PS] C:\Program Files\Microsoft\Exchange Server\V14\Scripts>Get-PublicFolder -Server <OldServer> "\Non_Ipm_Subtree" -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Server <OldServer> -Recurse Confirm Are you sure you want to perform this action? Removing public folder "\NON_IPM_SUBTREE". [Y] Yes [A] Yes to All [N] No [L] No to All [?] Help (default is "Y"): a Modification of the '\NON_IPM_SUBTREE' folder is not allowed. + CategoryInfo : NotSpecified: (0:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 36EC8CB5,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\EFORMS REGISTRY' folder isn't allowed. + CategoryInfo : NotSpecified: (1:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 46129E00,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\Events Root'. Please make sure that you specified the correct identity and t hat you have the correct permissions to delete it. + CategoryInfo : NotSpecified: (2:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : E4954678,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK' folder isn't allowed. + CategoryInfo : NotSpecified: (3:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 4E149135,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\/o=First Organization/cn=addrlists/cn=oabs/cn=Default O ffline Address Book'. Please make sure that you specified the correct identity and that you have the correct permission s to delete it. + CategoryInfo : NotSpecified: (4:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : 783E1C44,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\EX:/o=First Organization/ou=Exchange Administrative Gro up (FYDIBOHF23SPDLT)'. Please make sure that you specified the correct identity and that you have the correct permissio ns to delete it. + CategoryInfo : NotSpecified: (5:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : DBE49C6E,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY' folder isn't allowed. + CategoryInfo : NotSpecified: (6:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 51AC246C,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY\EX:/o=First Organization/ou=Exchange Administrative Grou p (FYDIBOHF23SPDLT)'. Please make sure that you specified the correct identity and that you have the correct permission s to delete it. + CategoryInfo : NotSpecified: (7:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : 5A93A77B,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Regards Darragh Ó Héiligh Fujitsu Offices of the Houses of the Oireachtas, Fredrick Building, South Fredrick Street, Dublin2 Telephone: +353 (1) 618 3559 Email: darragh.oheiligh@oireachtas.ie Internet: http://www.oireachtas.ie _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins
Oh yeah. Thanks. I know that removing the system from the network without uninstalling Exchange 07 using add remove programs would give me a lot of work to do. I'm very nervous about deleting the mailboxes in case something replicates and their deleted from the new server as well. Maybe I'm just paranoid though. When I try to delete the public folders from the GUI it gives me the same kind of error as I get in the console. I.e, they can not be removed before removing replication or some kind of thing like that. Will this change if the mailbox is deleted first? Thanks again. Regards Darragh Ó Héiligh Fujitsu Offices of the Houses of the Oireachtas, Fredrick Building, South Fredrick Street, Dublin2 Telephone: +353 (1) 618 3559 Email: darragh.oheiligh@oireachtas.ie Internet: http://www.oireachtas.ie From: Andrew Hodgson <andrew@hodgsonfamily.org> To: Blind sysadmins list <blind-sysadmins@lists.hodgsonfamily.org> Date: 05/10/2011 11:17 Subject: Re: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Sent by: blind-sysadmins-bounces@lists.hodgsonfamily.org Hi, If you aren't worried about the data in those public folders, then just delete the (hopefully) empty mailbox database, then remove the public folder database. That should get you in the right direction to carry out the uninstall. Sorry if telling you to suck eggs, but you realise you need to uninstall from the control panel to get the system in a working state? Just removing the complete system will leave a real mess behind. Someone at my old job did this a while back and I had to clean up the mess, luckily the computer object was still present in Active Directory so I was able to do a reinstall using the /disasterrecovery switch and then uninstall correctly, but it could have been very bad! Andrew. ________________________________________ From: blind-sysadmins-bounces@lists.hodgsonfamily.org [blind-sysadmins-bounces@lists.hodgsonfamily.org] on behalf of Darragh OHeiligh [Darragh.OHeiligh@Oireachtas.ie] Sent: 05 October 2011 11:12 To: Blind sysadmins list Cc: blind-sysadmins-bounces@lists.hodgsonfamily.org Subject: Re: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Good morning Andrew, thanks for that. Yes. I have run those commands. The addReplica script runs however it says that the command has run correctly however no values were updated. Sorry, I tried to get the exact error but for some reason it didn't let me past back to the local machine and I closed the session before I realised it. I've set off the MoveAllReplicas script again so who knows maybe at smoe stage I'll get lucky. All that's left are the system databases. There's only a few as well. OffLineAddressbook is one, events is another and EForms is there as well. I cant remember them all. I do know that the Exchange 2010 box has these databases either because it's created them it's self or through replication. I'm not sure. I seriously need to learn more about Exchange. Any ideas? All I really need to do at this stage is delete the system databases. I'm don't care at all about replication. I hope that once their deleted I'll be able to just uninstall Exchange from that server and the 2010 will behave it's self. Regards Darragh Ó Héiligh Fujitsu Offices of the Houses of the Oireachtas, Fredrick Building, South Fredrick Street, Dublin2 Telephone: +353 (1) 618 3559 Email: darragh.oheiligh@oireachtas.ie Internet: http://www.oireachtas.ie From: Andrew Hodgson <andrew@hodgsonfamily.org> To: Blind sysadmins list <blind-sysadmins@lists.hodgsonfamily.org> Date: 04/10/2011 12:54 Subject: Re: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Sent by: blind-sysadmins-bounces@lists.hodgsonfamily.org Hi, Did you use something like the following steps to do this: .\AddReplicaToPFRecursive.ps1 -server "exchange2007server" -TopPublicFolder "\NON_IPM_Subtree" -ServerToAdd "exchange2010server" Wait for replication then run: .\MoveAllReplicas.ps1 -Server "Exchange2007server" -NewServer "Exchange2010server" This needs running from the 2k10 box. You can get full statistics on the public folders by running: Get-PublicFolderStatistics -server "Exchange2007Server" | fl | out-file c:\publicfolders.txt I kept running this at various stages throughout the whole process, at the end of the process when everything has been moved you will get an empty file. It took ages on my box with only a free/busy and OAB populated. You should then be able to delete the PF database, you may need to zap the mailbox database first as it is probably associated with that pf database. Thanks. Andrew. ________________________________________ From: blind-sysadmins-bounces@lists.hodgsonfamily.org [blind-sysadmins-bounces@lists.hodgsonfamily.org] on behalf of Darragh OHeiligh [Darragh.OHeiligh@Oireachtas.ie] Sent: 04 October 2011 11:33 To: blind-sysadmins@lists.hodgsonfamily.org Subject: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Greetings, I was wondering if any of you would be able to suggest a solution to the following problem? Sinario: 1 Exchange server running version 2007. New exchange server running on 2010. Public folders seem to have been replicated across ok and the 2010 server is configured to be the primary server now. Replication has finally been removed from the 2007 server. It has therefore allowed me to remove the non-system databases. I am now trying to remove the system public databases.
From the GUI or the command line the errors are the same;
Any ideas? Error below: [PS] C:\Program Files\Microsoft\Exchange Server\V14\Scripts>Get-PublicFolder -Server <OldServer> "\Non_Ipm_Subtree" -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Server <OldServer> -Recurse Confirm Are you sure you want to perform this action? Removing public folder "\NON_IPM_SUBTREE". [Y] Yes [A] Yes to All [N] No [L] No to All [?] Help (default is "Y"): a Modification of the '\NON_IPM_SUBTREE' folder is not allowed. + CategoryInfo : NotSpecified: (0:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 36EC8CB5,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\EFORMS REGISTRY' folder isn't allowed. + CategoryInfo : NotSpecified: (1:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 46129E00,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\Events Root'. Please make sure that you specified the correct identity and t hat you have the correct permissions to delete it. + CategoryInfo : NotSpecified: (2:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : E4954678,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK' folder isn't allowed. + CategoryInfo : NotSpecified: (3:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 4E149135,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\/o=First Organization/cn=addrlists/cn=oabs/cn=Default O ffline Address Book'. Please make sure that you specified the correct identity and that you have the correct permission s to delete it. + CategoryInfo : NotSpecified: (4:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : 783E1C44,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\EX:/o=First Organization/ou=Exchange Administrative Gro up (FYDIBOHF23SPDLT)'. Please make sure that you specified the correct identity and that you have the correct permissio ns to delete it. + CategoryInfo : NotSpecified: (5:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : DBE49C6E,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY' folder isn't allowed. + CategoryInfo : NotSpecified: (6:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 51AC246C,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY\EX:/o=First Organization/ou=Exchange Administrative Grou p (FYDIBOHF23SPDLT)'. Please make sure that you specified the correct identity and that you have the correct permission s to delete it. + CategoryInfo : NotSpecified: (7:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : 5A93A77B,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Regards Darragh Ó Héiligh Fujitsu Offices of the Houses of the Oireachtas, Fredrick Building, South Fredrick Street, Dublin2 Telephone: +353 (1) 618 3559 Email: darragh.oheiligh@oireachtas.ie Internet: http://www.oireachtas.ie _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins
Hi, Are there any mailboxes assigned to that mailbox database in 07? If not, then they wouldn't delete from the 2k10 server because the mailboxes can only be on one Exchange server. Once you migrate the mailboxes to 2k10 then they cannot be moved back to a 2k7 server. You can't remove the folder database until you remove the mailbox database it is associated with in 2k7. Are you running the public folder commands from the 2k10 box? Andrew. ________________________________________ From: blind-sysadmins-bounces@lists.hodgsonfamily.org [blind-sysadmins-bounces@lists.hodgsonfamily.org] on behalf of Darragh OHeiligh [Darragh.OHeiligh@Oireachtas.ie] Sent: 05 October 2011 11:38 To: Blind sysadmins list Cc: blind-sysadmins-bounces@lists.hodgsonfamily.org Subject: Re: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Oh yeah. Thanks. I know that removing the system from the network without uninstalling Exchange 07 using add remove programs would give me a lot of work to do. I'm very nervous about deleting the mailboxes in case something replicates and their deleted from the new server as well. Maybe I'm just paranoid though. When I try to delete the public folders from the GUI it gives me the same kind of error as I get in the console. I.e, they can not be removed before removing replication or some kind of thing like that. Will this change if the mailbox is deleted first? Thanks again. Regards Darragh Ó Héiligh Fujitsu Offices of the Houses of the Oireachtas, Fredrick Building, South Fredrick Street, Dublin2 Telephone: +353 (1) 618 3559 Email: darragh.oheiligh@oireachtas.ie Internet: http://www.oireachtas.ie From: Andrew Hodgson <andrew@hodgsonfamily.org> To: Blind sysadmins list <blind-sysadmins@lists.hodgsonfamily.org> Date: 05/10/2011 11:17 Subject: Re: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Sent by: blind-sysadmins-bounces@lists.hodgsonfamily.org Hi, If you aren't worried about the data in those public folders, then just delete the (hopefully) empty mailbox database, then remove the public folder database. That should get you in the right direction to carry out the uninstall. Sorry if telling you to suck eggs, but you realise you need to uninstall from the control panel to get the system in a working state? Just removing the complete system will leave a real mess behind. Someone at my old job did this a while back and I had to clean up the mess, luckily the computer object was still present in Active Directory so I was able to do a reinstall using the /disasterrecovery switch and then uninstall correctly, but it could have been very bad! Andrew. ________________________________________ From: blind-sysadmins-bounces@lists.hodgsonfamily.org [blind-sysadmins-bounces@lists.hodgsonfamily.org] on behalf of Darragh OHeiligh [Darragh.OHeiligh@Oireachtas.ie] Sent: 05 October 2011 11:12 To: Blind sysadmins list Cc: blind-sysadmins-bounces@lists.hodgsonfamily.org Subject: Re: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Good morning Andrew, thanks for that. Yes. I have run those commands. The addReplica script runs however it says that the command has run correctly however no values were updated. Sorry, I tried to get the exact error but for some reason it didn't let me past back to the local machine and I closed the session before I realised it. I've set off the MoveAllReplicas script again so who knows maybe at smoe stage I'll get lucky. All that's left are the system databases. There's only a few as well. OffLineAddressbook is one, events is another and EForms is there as well. I cant remember them all. I do know that the Exchange 2010 box has these databases either because it's created them it's self or through replication. I'm not sure. I seriously need to learn more about Exchange. Any ideas? All I really need to do at this stage is delete the system databases. I'm don't care at all about replication. I hope that once their deleted I'll be able to just uninstall Exchange from that server and the 2010 will behave it's self. Regards Darragh Ó Héiligh Fujitsu Offices of the Houses of the Oireachtas, Fredrick Building, South Fredrick Street, Dublin2 Telephone: +353 (1) 618 3559 Email: darragh.oheiligh@oireachtas.ie Internet: http://www.oireachtas.ie From: Andrew Hodgson <andrew@hodgsonfamily.org> To: Blind sysadmins list <blind-sysadmins@lists.hodgsonfamily.org> Date: 04/10/2011 12:54 Subject: Re: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Sent by: blind-sysadmins-bounces@lists.hodgsonfamily.org Hi, Did you use something like the following steps to do this: .\AddReplicaToPFRecursive.ps1 -server "exchange2007server" -TopPublicFolder "\NON_IPM_Subtree" -ServerToAdd "exchange2010server" Wait for replication then run: .\MoveAllReplicas.ps1 -Server "Exchange2007server" -NewServer "Exchange2010server" This needs running from the 2k10 box. You can get full statistics on the public folders by running: Get-PublicFolderStatistics -server "Exchange2007Server" | fl | out-file c:\publicfolders.txt I kept running this at various stages throughout the whole process, at the end of the process when everything has been moved you will get an empty file. It took ages on my box with only a free/busy and OAB populated. You should then be able to delete the PF database, you may need to zap the mailbox database first as it is probably associated with that pf database. Thanks. Andrew. ________________________________________ From: blind-sysadmins-bounces@lists.hodgsonfamily.org [blind-sysadmins-bounces@lists.hodgsonfamily.org] on behalf of Darragh OHeiligh [Darragh.OHeiligh@Oireachtas.ie] Sent: 04 October 2011 11:33 To: blind-sysadmins@lists.hodgsonfamily.org Subject: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Greetings, I was wondering if any of you would be able to suggest a solution to the following problem? Sinario: 1 Exchange server running version 2007. New exchange server running on 2010. Public folders seem to have been replicated across ok and the 2010 server is configured to be the primary server now. Replication has finally been removed from the 2007 server. It has therefore allowed me to remove the non-system databases. I am now trying to remove the system public databases.
From the GUI or the command line the errors are the same;
Any ideas? Error below: [PS] C:\Program Files\Microsoft\Exchange Server\V14\Scripts>Get-PublicFolder -Server <OldServer> "\Non_Ipm_Subtree" -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Server <OldServer> -Recurse Confirm Are you sure you want to perform this action? Removing public folder "\NON_IPM_SUBTREE". [Y] Yes [A] Yes to All [N] No [L] No to All [?] Help (default is "Y"): a Modification of the '\NON_IPM_SUBTREE' folder is not allowed. + CategoryInfo : NotSpecified: (0:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 36EC8CB5,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\EFORMS REGISTRY' folder isn't allowed. + CategoryInfo : NotSpecified: (1:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 46129E00,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\Events Root'. Please make sure that you specified the correct identity and t hat you have the correct permissions to delete it. + CategoryInfo : NotSpecified: (2:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : E4954678,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK' folder isn't allowed. + CategoryInfo : NotSpecified: (3:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 4E149135,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\/o=First Organization/cn=addrlists/cn=oabs/cn=Default O ffline Address Book'. Please make sure that you specified the correct identity and that you have the correct permission s to delete it. + CategoryInfo : NotSpecified: (4:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : 783E1C44,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\EX:/o=First Organization/ou=Exchange Administrative Gro up (FYDIBOHF23SPDLT)'. Please make sure that you specified the correct identity and that you have the correct permissio ns to delete it. + CategoryInfo : NotSpecified: (5:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : DBE49C6E,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY' folder isn't allowed. + CategoryInfo : NotSpecified: (6:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 51AC246C,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY\EX:/o=First Organization/ou=Exchange Administrative Grou p (FYDIBOHF23SPDLT)'. Please make sure that you specified the correct identity and that you have the correct permission s to delete it. + CategoryInfo : NotSpecified: (7:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : 5A93A77B,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Regards Darragh Ó Héiligh Fujitsu Offices of the Houses of the Oireachtas, Fredrick Building, South Fredrick Street, Dublin2 Telephone: +353 (1) 618 3559 Email: darragh.oheiligh@oireachtas.ie Internet: http://www.oireachtas.ie _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins
Andrew, Sorry if I'm annoying you but the following file shows that public folders remain on the old server however If I'm reading this properly it seems like their pending deletion? RunspaceId : 1750b26c-d8a0-477a-835f-8863295d2063 AdminDisplayName : Schedule+ Free Busy Information - Exchange Administrative Group (FYDIBOHF23SPDLT) AssociatedItemCount : 0 ContactCount : 0 CreationTime : 26/06/2010 21:55:02 DeletedItemCount : 0 EntryId : 000000001A447390AA6611CD9BC800AA002FC45A030074A00DA1DCCB334E982428C0D58143730000000000070000 ExpiryTime : 27/06/2011 02:30:00 FolderPath : SCHEDULE+ FREE BUSY\EX:/o=First Organization/ou=Exchange Administrative Group (FYDIBOHF23SPD LT) IsDeletePending : True ItemCount : 3 LastAccessTime : 05/10/2011 01:00:00 LastModificationTime : 05/10/2011 11:01:14 LastUserModificationTime : 02/10/2011 13:42:18 LastUserAccessTime : 02/10/2011 13:42:17 Name : EX:/o=First Organization/ou=Exchange Administrative Group (FYDIBOHF23SPDLT) OwnerCount : 0 TotalAssociatedItemSize : 0 B (0 bytes) TotalDeletedItemSize : 0 B (0 bytes) TotalItemSize : 1.206 KB (1,235 bytes) ServerName : StorageGroupName : DatabaseName : Public Folder Database Identity : 000000001A447390AA6611CD9BC800AA002FC45A030074A00DA1DCCB334E982428C0D58143730000000000070000 MapiIdentity : 000000001A447390AA6611CD9BC800AA002FC45A030074A00DA1DCCB334E982428C0D58143730000000000070000 OriginatingServer : server.domain.local IsValid : True RunspaceId : 1750b26c-d8a0-477a-835f-8863295d2063 AdminDisplayName : Offline Address Book - Exchange Administrative Group (FYDIBOHF23SPDLT) AssociatedItemCount : 0 ContactCount : 0 CreationTime : 26/06/2010 21:55:02 DeletedItemCount : 0 EntryId : 000000001A447390AA6611CD9BC800AA002FC45A030074A00DA1DCCB334E982428C0D58143730000000000080000 ExpiryTime : FolderPath : OFFLINE ADDRESS BOOK\EX:/o=First Organization/ou=Exchange Administrative Group (FYDIBOHF23SP DLT) IsDeletePending : True ItemCount : 0 LastAccessTime : 05/10/2011 01:00:00 LastModificationTime : 05/10/2011 11:01:14 LastUserModificationTime : LastUserAccessTime : Name : EX:/o=First Organization/ou=Exchange Administrative Group (FYDIBOHF23SPDLT) OwnerCount : 0 TotalAssociatedItemSize : 0 B (0 bytes) TotalDeletedItemSize : 0 B (0 bytes) TotalItemSize : 0 B (0 bytes) ServerName : StorageGroupName : DatabaseName : Public Folder Database Identity : 000000001A447390AA6611CD9BC800AA002FC45A030074A00DA1DCCB334E982428C0D58143730000000000080000 MapiIdentity : 000000001A447390AA6611CD9BC800AA002FC45A030074A00DA1DCCB334E982428C0D58143730000000000080000 OriginatingServer : server.domain.local IsValid : True RunspaceId : 1750b26c-d8a0-477a-835f-8863295d2063 AdminDisplayName : Offline Address Book - /o=First Organization/cn=addrlists/cn=oabs/cn=Default Offline Address Book AssociatedItemCount : 0 ContactCount : 0 CreationTime : 26/06/2010 21:55:02 DeletedItemCount : 0 EntryId : 000000001A447390AA6611CD9BC800AA002FC45A030037CFC78395CFBA469C2A8413EEADFBA80000000000080000 ExpiryTime : FolderPath : OFFLINE ADDRESS BOOK\/o=First Organization/cn=addrlists/cn=oabs/cn=Default Offline Address B ook IsDeletePending : True ItemCount : 0 LastAccessTime : 05/10/2011 01:00:00 LastModificationTime : 05/10/2011 11:01:14 LastUserModificationTime : LastUserAccessTime : Name : /o=First Organization/cn=addrlists/cn=oabs/cn=Default Offline Address Book OwnerCount : 0 TotalAssociatedItemSize : 0 B (0 bytes) TotalDeletedItemSize : 0 B (0 bytes) TotalItemSize : 0 B (0 bytes) ServerName : StorageGroupName : DatabaseName : Public Folder Database Identity : 000000001A447390AA6611CD9BC800AA002FC45A030037CFC78395CFBA469C2A8413EEADFBA80000000000080000 MapiIdentity : 000000001A447390AA6611CD9BC800AA002FC45A030037CFC78395CFBA469C2A8413EEADFBA80000000000080000 OriginatingServer : server.domain.local IsValid : True Regards Darragh Ó Héiligh Fujitsu Offices of the Houses of the Oireachtas, Fredrick Building, South Fredrick Street, Dublin2 Telephone: +353 (1) 618 3559 Email: darragh.oheiligh@oireachtas.ie Internet: http://www.oireachtas.ie From: Andrew Hodgson <andrew@hodgsonfamily.org> To: Blind sysadmins list <blind-sysadmins@lists.hodgsonfamily.org> Date: 05/10/2011 11:43 Subject: Re: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Sent by: blind-sysadmins-bounces@lists.hodgsonfamily.org Hi, Are there any mailboxes assigned to that mailbox database in 07? If not, then they wouldn't delete from the 2k10 server because the mailboxes can only be on one Exchange server. Once you migrate the mailboxes to 2k10 then they cannot be moved back to a 2k7 server. You can't remove the folder database until you remove the mailbox database it is associated with in 2k7. Are you running the public folder commands from the 2k10 box? Andrew. ________________________________________ From: blind-sysadmins-bounces@lists.hodgsonfamily.org [blind-sysadmins-bounces@lists.hodgsonfamily.org] on behalf of Darragh OHeiligh [Darragh.OHeiligh@Oireachtas.ie] Sent: 05 October 2011 11:38 To: Blind sysadmins list Cc: blind-sysadmins-bounces@lists.hodgsonfamily.org Subject: Re: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Oh yeah. Thanks. I know that removing the system from the network without uninstalling Exchange 07 using add remove programs would give me a lot of work to do. I'm very nervous about deleting the mailboxes in case something replicates and their deleted from the new server as well. Maybe I'm just paranoid though. When I try to delete the public folders from the GUI it gives me the same kind of error as I get in the console. I.e, they can not be removed before removing replication or some kind of thing like that. Will this change if the mailbox is deleted first? Thanks again. Regards Darragh Ó Héiligh Fujitsu Offices of the Houses of the Oireachtas, Fredrick Building, South Fredrick Street, Dublin2 Telephone: +353 (1) 618 3559 Email: darragh.oheiligh@oireachtas.ie Internet: http://www.oireachtas.ie From: Andrew Hodgson <andrew@hodgsonfamily.org> To: Blind sysadmins list <blind-sysadmins@lists.hodgsonfamily.org> Date: 05/10/2011 11:17 Subject: Re: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Sent by: blind-sysadmins-bounces@lists.hodgsonfamily.org Hi, If you aren't worried about the data in those public folders, then just delete the (hopefully) empty mailbox database, then remove the public folder database. That should get you in the right direction to carry out the uninstall. Sorry if telling you to suck eggs, but you realise you need to uninstall from the control panel to get the system in a working state? Just removing the complete system will leave a real mess behind. Someone at my old job did this a while back and I had to clean up the mess, luckily the computer object was still present in Active Directory so I was able to do a reinstall using the /disasterrecovery switch and then uninstall correctly, but it could have been very bad! Andrew. ________________________________________ From: blind-sysadmins-bounces@lists.hodgsonfamily.org [blind-sysadmins-bounces@lists.hodgsonfamily.org] on behalf of Darragh OHeiligh [Darragh.OHeiligh@Oireachtas.ie] Sent: 05 October 2011 11:12 To: Blind sysadmins list Cc: blind-sysadmins-bounces@lists.hodgsonfamily.org Subject: Re: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Good morning Andrew, thanks for that. Yes. I have run those commands. The addReplica script runs however it says that the command has run correctly however no values were updated. Sorry, I tried to get the exact error but for some reason it didn't let me past back to the local machine and I closed the session before I realised it. I've set off the MoveAllReplicas script again so who knows maybe at smoe stage I'll get lucky. All that's left are the system databases. There's only a few as well. OffLineAddressbook is one, events is another and EForms is there as well. I cant remember them all. I do know that the Exchange 2010 box has these databases either because it's created them it's self or through replication. I'm not sure. I seriously need to learn more about Exchange. Any ideas? All I really need to do at this stage is delete the system databases. I'm don't care at all about replication. I hope that once their deleted I'll be able to just uninstall Exchange from that server and the 2010 will behave it's self. Regards Darragh Ó Héiligh Fujitsu Offices of the Houses of the Oireachtas, Fredrick Building, South Fredrick Street, Dublin2 Telephone: +353 (1) 618 3559 Email: darragh.oheiligh@oireachtas.ie Internet: http://www.oireachtas.ie From: Andrew Hodgson <andrew@hodgsonfamily.org> To: Blind sysadmins list <blind-sysadmins@lists.hodgsonfamily.org> Date: 04/10/2011 12:54 Subject: Re: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Sent by: blind-sysadmins-bounces@lists.hodgsonfamily.org Hi, Did you use something like the following steps to do this: .\AddReplicaToPFRecursive.ps1 -server "exchange2007server" -TopPublicFolder "\NON_IPM_Subtree" -ServerToAdd "exchange2010server" Wait for replication then run: .\MoveAllReplicas.ps1 -Server "Exchange2007server" -NewServer "Exchange2010server" This needs running from the 2k10 box. You can get full statistics on the public folders by running: Get-PublicFolderStatistics -server "Exchange2007Server" | fl | out-file c:\publicfolders.txt I kept running this at various stages throughout the whole process, at the end of the process when everything has been moved you will get an empty file. It took ages on my box with only a free/busy and OAB populated. You should then be able to delete the PF database, you may need to zap the mailbox database first as it is probably associated with that pf database. Thanks. Andrew. ________________________________________ From: blind-sysadmins-bounces@lists.hodgsonfamily.org [blind-sysadmins-bounces@lists.hodgsonfamily.org] on behalf of Darragh OHeiligh [Darragh.OHeiligh@Oireachtas.ie] Sent: 04 October 2011 11:33 To: blind-sysadmins@lists.hodgsonfamily.org Subject: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Greetings, I was wondering if any of you would be able to suggest a solution to the following problem? Sinario: 1 Exchange server running version 2007. New exchange server running on 2010. Public folders seem to have been replicated across ok and the 2010 server is configured to be the primary server now. Replication has finally been removed from the 2007 server. It has therefore allowed me to remove the non-system databases. I am now trying to remove the system public databases.
From the GUI or the command line the errors are the same;
Any ideas? Error below: [PS] C:\Program Files\Microsoft\Exchange Server\V14\Scripts>Get-PublicFolder -Server <OldServer> "\Non_Ipm_Subtree" -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Server <OldServer> -Recurse Confirm Are you sure you want to perform this action? Removing public folder "\NON_IPM_SUBTREE". [Y] Yes [A] Yes to All [N] No [L] No to All [?] Help (default is "Y"): a Modification of the '\NON_IPM_SUBTREE' folder is not allowed. + CategoryInfo : NotSpecified: (0:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 36EC8CB5,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\EFORMS REGISTRY' folder isn't allowed. + CategoryInfo : NotSpecified: (1:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 46129E00,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\Events Root'. Please make sure that you specified the correct identity and t hat you have the correct permissions to delete it. + CategoryInfo : NotSpecified: (2:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : E4954678,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK' folder isn't allowed. + CategoryInfo : NotSpecified: (3:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 4E149135,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\/o=First Organization/cn=addrlists/cn=oabs/cn=Default O ffline Address Book'. Please make sure that you specified the correct identity and that you have the correct permission s to delete it. + CategoryInfo : NotSpecified: (4:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : 783E1C44,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\EX:/o=First Organization/ou=Exchange Administrative Gro up (FYDIBOHF23SPDLT)'. Please make sure that you specified the correct identity and that you have the correct permissio ns to delete it. + CategoryInfo : NotSpecified: (5:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : DBE49C6E,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY' folder isn't allowed. + CategoryInfo : NotSpecified: (6:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 51AC246C,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY\EX:/o=First Organization/ou=Exchange Administrative Grou p (FYDIBOHF23SPDLT)'. Please make sure that you specified the correct identity and that you have the correct permission s to delete it. + CategoryInfo : NotSpecified: (7:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : 5A93A77B,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Regards Darragh Ó Héiligh Fujitsu Offices of the Houses of the Oireachtas, Fredrick Building, South Fredrick Street, Dublin2 Telephone: +353 (1) 618 3559 Email: darragh.oheiligh@oireachtas.ie Internet: http://www.oireachtas.ie _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins
Andrew, Sorry if I'm annoying you but the following file shows that public folders remain on the old server however If I'm reading this properly it seems like their pending deletion? RunspaceId : 1750b26c-d8a0-477a-835f-8863295d2063 AdminDisplayName : Schedule+ Free Busy Information - Exchange Administrative Group (FYDIBOHF23SPDLT) AssociatedItemCount : 0 ContactCount : 0 CreationTime : 26/06/2010 21:55:02 DeletedItemCount : 0 EntryId : 000000001A447390AA6611CD9BC800AA002FC45A030074A00DA1DCCB334E982428C0D58143730000000000070000 ExpiryTime : 27/06/2011 02:30:00 FolderPath : SCHEDULE+ FREE BUSY\EX:/o=First Organization/ou=Exchange Administrative Group (FYDIBOHF23SPD LT) IsDeletePending : True ItemCount : 3 LastAccessTime : 05/10/2011 01:00:00 LastModificationTime : 05/10/2011 11:01:14 LastUserModificationTime : 02/10/2011 13:42:18 LastUserAccessTime : 02/10/2011 13:42:17 Name : EX:/o=First Organization/ou=Exchange Administrative Group (FYDIBOHF23SPDLT) OwnerCount : 0 TotalAssociatedItemSize : 0 B (0 bytes) TotalDeletedItemSize : 0 B (0 bytes) TotalItemSize : 1.206 KB (1,235 bytes) ServerName : StorageGroupName : DatabaseName : Public Folder Database Identity : 000000001A447390AA6611CD9BC800AA002FC45A030074A00DA1DCCB334E982428C0D58143730000000000070000 MapiIdentity : 000000001A447390AA6611CD9BC800AA002FC45A030074A00DA1DCCB334E982428C0D58143730000000000070000 OriginatingServer : server.domain.local IsValid : True RunspaceId : 1750b26c-d8a0-477a-835f-8863295d2063 AdminDisplayName : Offline Address Book - Exchange Administrative Group (FYDIBOHF23SPDLT) AssociatedItemCount : 0 ContactCount : 0 CreationTime : 26/06/2010 21:55:02 DeletedItemCount : 0 EntryId : 000000001A447390AA6611CD9BC800AA002FC45A030074A00DA1DCCB334E982428C0D58143730000000000080000 ExpiryTime : FolderPath : OFFLINE ADDRESS BOOK\EX:/o=First Organization/ou=Exchange Administrative Group (FYDIBOHF23SP DLT) IsDeletePending : True ItemCount : 0 LastAccessTime : 05/10/2011 01:00:00 LastModificationTime : 05/10/2011 11:01:14 LastUserModificationTime : LastUserAccessTime : Name : EX:/o=First Organization/ou=Exchange Administrative Group (FYDIBOHF23SPDLT) OwnerCount : 0 TotalAssociatedItemSize : 0 B (0 bytes) TotalDeletedItemSize : 0 B (0 bytes) TotalItemSize : 0 B (0 bytes) ServerName : StorageGroupName : DatabaseName : Public Folder Database Identity : 000000001A447390AA6611CD9BC800AA002FC45A030074A00DA1DCCB334E982428C0D58143730000000000080000 MapiIdentity : 000000001A447390AA6611CD9BC800AA002FC45A030074A00DA1DCCB334E982428C0D58143730000000000080000 OriginatingServer : server.domain.local IsValid : True RunspaceId : 1750b26c-d8a0-477a-835f-8863295d2063 AdminDisplayName : Offline Address Book - /o=First Organization/cn=addrlists/cn=oabs/cn=Default Offline Address Book AssociatedItemCount : 0 ContactCount : 0 CreationTime : 26/06/2010 21:55:02 DeletedItemCount : 0 EntryId : 000000001A447390AA6611CD9BC800AA002FC45A030037CFC78395CFBA469C2A8413EEADFBA80000000000080000 ExpiryTime : FolderPath : OFFLINE ADDRESS BOOK\/o=First Organization/cn=addrlists/cn=oabs/cn=Default Offline Address B ook IsDeletePending : True ItemCount : 0 LastAccessTime : 05/10/2011 01:00:00 LastModificationTime : 05/10/2011 11:01:14 LastUserModificationTime : LastUserAccessTime : Name : /o=First Organization/cn=addrlists/cn=oabs/cn=Default Offline Address Book OwnerCount : 0 TotalAssociatedItemSize : 0 B (0 bytes) TotalDeletedItemSize : 0 B (0 bytes) TotalItemSize : 0 B (0 bytes) ServerName : StorageGroupName : DatabaseName : Public Folder Database Identity : 000000001A447390AA6611CD9BC800AA002FC45A030037CFC78395CFBA469C2A8413EEADFBA80000000000080000 MapiIdentity : 000000001A447390AA6611CD9BC800AA002FC45A030037CFC78395CFBA469C2A8413EEADFBA80000000000080000 OriginatingServer : server.domain.local IsValid : True Regards Darragh Ó Héiligh Fujitsu Offices of the Houses of the Oireachtas, Fredrick Building, South Fredrick Street, Dublin2 Telephone: +353 (1) 618 3559 Email: darragh.oheiligh@oireachtas.ie Internet: http://www.oireachtas.ie From: Andrew Hodgson <andrew@hodgsonfamily.org> To: Blind sysadmins list <blind-sysadmins@lists.hodgsonfamily.org> Date: 05/10/2011 11:43 Subject: Re: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Sent by: blind-sysadmins-bounces@lists.hodgsonfamily.org Hi, Are there any mailboxes assigned to that mailbox database in 07? If not, then they wouldn't delete from the 2k10 server because the mailboxes can only be on one Exchange server. Once you migrate the mailboxes to 2k10 then they cannot be moved back to a 2k7 server. You can't remove the folder database until you remove the mailbox database it is associated with in 2k7. Are you running the public folder commands from the 2k10 box? Andrew. ________________________________________ From: blind-sysadmins-bounces@lists.hodgsonfamily.org [blind-sysadmins-bounces@lists.hodgsonfamily.org] on behalf of Darragh OHeiligh [Darragh.OHeiligh@Oireachtas.ie] Sent: 05 October 2011 11:38 To: Blind sysadmins list Cc: blind-sysadmins-bounces@lists.hodgsonfamily.org Subject: Re: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Oh yeah. Thanks. I know that removing the system from the network without uninstalling Exchange 07 using add remove programs would give me a lot of work to do. I'm very nervous about deleting the mailboxes in case something replicates and their deleted from the new server as well. Maybe I'm just paranoid though. When I try to delete the public folders from the GUI it gives me the same kind of error as I get in the console. I.e, they can not be removed before removing replication or some kind of thing like that. Will this change if the mailbox is deleted first? Thanks again. Regards Darragh Ó Héiligh Fujitsu Offices of the Houses of the Oireachtas, Fredrick Building, South Fredrick Street, Dublin2 Telephone: +353 (1) 618 3559 Email: darragh.oheiligh@oireachtas.ie Internet: http://www.oireachtas.ie From: Andrew Hodgson <andrew@hodgsonfamily.org> To: Blind sysadmins list <blind-sysadmins@lists.hodgsonfamily.org> Date: 05/10/2011 11:17 Subject: Re: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Sent by: blind-sysadmins-bounces@lists.hodgsonfamily.org Hi, If you aren't worried about the data in those public folders, then just delete the (hopefully) empty mailbox database, then remove the public folder database. That should get you in the right direction to carry out the uninstall. Sorry if telling you to suck eggs, but you realise you need to uninstall from the control panel to get the system in a working state? Just removing the complete system will leave a real mess behind. Someone at my old job did this a while back and I had to clean up the mess, luckily the computer object was still present in Active Directory so I was able to do a reinstall using the /disasterrecovery switch and then uninstall correctly, but it could have been very bad! Andrew. ________________________________________ From: blind-sysadmins-bounces@lists.hodgsonfamily.org [blind-sysadmins-bounces@lists.hodgsonfamily.org] on behalf of Darragh OHeiligh [Darragh.OHeiligh@Oireachtas.ie] Sent: 05 October 2011 11:12 To: Blind sysadmins list Cc: blind-sysadmins-bounces@lists.hodgsonfamily.org Subject: Re: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Good morning Andrew, thanks for that. Yes. I have run those commands. The addReplica script runs however it says that the command has run correctly however no values were updated. Sorry, I tried to get the exact error but for some reason it didn't let me past back to the local machine and I closed the session before I realised it. I've set off the MoveAllReplicas script again so who knows maybe at smoe stage I'll get lucky. All that's left are the system databases. There's only a few as well. OffLineAddressbook is one, events is another and EForms is there as well. I cant remember them all. I do know that the Exchange 2010 box has these databases either because it's created them it's self or through replication. I'm not sure. I seriously need to learn more about Exchange. Any ideas? All I really need to do at this stage is delete the system databases. I'm don't care at all about replication. I hope that once their deleted I'll be able to just uninstall Exchange from that server and the 2010 will behave it's self. Regards Darragh Ó Héiligh Fujitsu Offices of the Houses of the Oireachtas, Fredrick Building, South Fredrick Street, Dublin2 Telephone: +353 (1) 618 3559 Email: darragh.oheiligh@oireachtas.ie Internet: http://www.oireachtas.ie From: Andrew Hodgson <andrew@hodgsonfamily.org> To: Blind sysadmins list <blind-sysadmins@lists.hodgsonfamily.org> Date: 04/10/2011 12:54 Subject: Re: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Sent by: blind-sysadmins-bounces@lists.hodgsonfamily.org Hi, Did you use something like the following steps to do this: .\AddReplicaToPFRecursive.ps1 -server "exchange2007server" -TopPublicFolder "\NON_IPM_Subtree" -ServerToAdd "exchange2010server" Wait for replication then run: .\MoveAllReplicas.ps1 -Server "Exchange2007server" -NewServer "Exchange2010server" This needs running from the 2k10 box. You can get full statistics on the public folders by running: Get-PublicFolderStatistics -server "Exchange2007Server" | fl | out-file c:\publicfolders.txt I kept running this at various stages throughout the whole process, at the end of the process when everything has been moved you will get an empty file. It took ages on my box with only a free/busy and OAB populated. You should then be able to delete the PF database, you may need to zap the mailbox database first as it is probably associated with that pf database. Thanks. Andrew. ________________________________________ From: blind-sysadmins-bounces@lists.hodgsonfamily.org [blind-sysadmins-bounces@lists.hodgsonfamily.org] on behalf of Darragh OHeiligh [Darragh.OHeiligh@Oireachtas.ie] Sent: 04 October 2011 11:33 To: blind-sysadmins@lists.hodgsonfamily.org Subject: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Greetings, I was wondering if any of you would be able to suggest a solution to the following problem? Sinario: 1 Exchange server running version 2007. New exchange server running on 2010. Public folders seem to have been replicated across ok and the 2010 server is configured to be the primary server now. Replication has finally been removed from the 2007 server. It has therefore allowed me to remove the non-system databases. I am now trying to remove the system public databases.
From the GUI or the command line the errors are the same;
Any ideas? Error below: [PS] C:\Program Files\Microsoft\Exchange Server\V14\Scripts>Get-PublicFolder -Server <OldServer> "\Non_Ipm_Subtree" -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Server <OldServer> -Recurse Confirm Are you sure you want to perform this action? Removing public folder "\NON_IPM_SUBTREE". [Y] Yes [A] Yes to All [N] No [L] No to All [?] Help (default is "Y"): a Modification of the '\NON_IPM_SUBTREE' folder is not allowed. + CategoryInfo : NotSpecified: (0:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 36EC8CB5,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\EFORMS REGISTRY' folder isn't allowed. + CategoryInfo : NotSpecified: (1:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 46129E00,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\Events Root'. Please make sure that you specified the correct identity and t hat you have the correct permissions to delete it. + CategoryInfo : NotSpecified: (2:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : E4954678,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK' folder isn't allowed. + CategoryInfo : NotSpecified: (3:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 4E149135,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\/o=First Organization/cn=addrlists/cn=oabs/cn=Default O ffline Address Book'. Please make sure that you specified the correct identity and that you have the correct permission s to delete it. + CategoryInfo : NotSpecified: (4:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : 783E1C44,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\EX:/o=First Organization/ou=Exchange Administrative Gro up (FYDIBOHF23SPDLT)'. Please make sure that you specified the correct identity and that you have the correct permissio ns to delete it. + CategoryInfo : NotSpecified: (5:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : DBE49C6E,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY' folder isn't allowed. + CategoryInfo : NotSpecified: (6:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 51AC246C,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY\EX:/o=First Organization/ou=Exchange Administrative Grou p (FYDIBOHF23SPDLT)'. Please make sure that you specified the correct identity and that you have the correct permission s to delete it. + CategoryInfo : NotSpecified: (7:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : 5A93A77B,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Regards Darragh Ó Héiligh Fujitsu Offices of the Houses of the Oireachtas, Fredrick Building, South Fredrick Street, Dublin2 Telephone: +353 (1) 618 3559 Email: darragh.oheiligh@oireachtas.ie Internet: http://www.oireachtas.ie _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins
Hi, Are there any mailboxes assigned to that mailbox database in 07? If not, then they wouldn't delete from the 2k10 server because the mailboxes can only be on one Exchange server. Once you migrate the mailboxes to 2k10 then they cannot be moved back to a 2k7 server. You can't remove the folder database until you remove the mailbox database it is associated with in 2k7. Are you running the public folder commands from the 2k10 box? Andrew. ________________________________________ From: blind-sysadmins-bounces@lists.hodgsonfamily.org [blind-sysadmins-bounces@lists.hodgsonfamily.org] on behalf of Darragh OHeiligh [Darragh.OHeiligh@Oireachtas.ie] Sent: 05 October 2011 11:38 To: Blind sysadmins list Cc: blind-sysadmins-bounces@lists.hodgsonfamily.org Subject: Re: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Oh yeah. Thanks. I know that removing the system from the network without uninstalling Exchange 07 using add remove programs would give me a lot of work to do. I'm very nervous about deleting the mailboxes in case something replicates and their deleted from the new server as well. Maybe I'm just paranoid though. When I try to delete the public folders from the GUI it gives me the same kind of error as I get in the console. I.e, they can not be removed before removing replication or some kind of thing like that. Will this change if the mailbox is deleted first? Thanks again. Regards Darragh Ó Héiligh Fujitsu Offices of the Houses of the Oireachtas, Fredrick Building, South Fredrick Street, Dublin2 Telephone: +353 (1) 618 3559 Email: darragh.oheiligh@oireachtas.ie Internet: http://www.oireachtas.ie From: Andrew Hodgson <andrew@hodgsonfamily.org> To: Blind sysadmins list <blind-sysadmins@lists.hodgsonfamily.org> Date: 05/10/2011 11:17 Subject: Re: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Sent by: blind-sysadmins-bounces@lists.hodgsonfamily.org Hi, If you aren't worried about the data in those public folders, then just delete the (hopefully) empty mailbox database, then remove the public folder database. That should get you in the right direction to carry out the uninstall. Sorry if telling you to suck eggs, but you realise you need to uninstall from the control panel to get the system in a working state? Just removing the complete system will leave a real mess behind. Someone at my old job did this a while back and I had to clean up the mess, luckily the computer object was still present in Active Directory so I was able to do a reinstall using the /disasterrecovery switch and then uninstall correctly, but it could have been very bad! Andrew. ________________________________________ From: blind-sysadmins-bounces@lists.hodgsonfamily.org [blind-sysadmins-bounces@lists.hodgsonfamily.org] on behalf of Darragh OHeiligh [Darragh.OHeiligh@Oireachtas.ie] Sent: 05 October 2011 11:12 To: Blind sysadmins list Cc: blind-sysadmins-bounces@lists.hodgsonfamily.org Subject: Re: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Good morning Andrew, thanks for that. Yes. I have run those commands. The addReplica script runs however it says that the command has run correctly however no values were updated. Sorry, I tried to get the exact error but for some reason it didn't let me past back to the local machine and I closed the session before I realised it. I've set off the MoveAllReplicas script again so who knows maybe at smoe stage I'll get lucky. All that's left are the system databases. There's only a few as well. OffLineAddressbook is one, events is another and EForms is there as well. I cant remember them all. I do know that the Exchange 2010 box has these databases either because it's created them it's self or through replication. I'm not sure. I seriously need to learn more about Exchange. Any ideas? All I really need to do at this stage is delete the system databases. I'm don't care at all about replication. I hope that once their deleted I'll be able to just uninstall Exchange from that server and the 2010 will behave it's self. Regards Darragh Ó Héiligh Fujitsu Offices of the Houses of the Oireachtas, Fredrick Building, South Fredrick Street, Dublin2 Telephone: +353 (1) 618 3559 Email: darragh.oheiligh@oireachtas.ie Internet: http://www.oireachtas.ie From: Andrew Hodgson <andrew@hodgsonfamily.org> To: Blind sysadmins list <blind-sysadmins@lists.hodgsonfamily.org> Date: 04/10/2011 12:54 Subject: Re: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Sent by: blind-sysadmins-bounces@lists.hodgsonfamily.org Hi, Did you use something like the following steps to do this: .\AddReplicaToPFRecursive.ps1 -server "exchange2007server" -TopPublicFolder "\NON_IPM_Subtree" -ServerToAdd "exchange2010server" Wait for replication then run: .\MoveAllReplicas.ps1 -Server "Exchange2007server" -NewServer "Exchange2010server" This needs running from the 2k10 box. You can get full statistics on the public folders by running: Get-PublicFolderStatistics -server "Exchange2007Server" | fl | out-file c:\publicfolders.txt I kept running this at various stages throughout the whole process, at the end of the process when everything has been moved you will get an empty file. It took ages on my box with only a free/busy and OAB populated. You should then be able to delete the PF database, you may need to zap the mailbox database first as it is probably associated with that pf database. Thanks. Andrew. ________________________________________ From: blind-sysadmins-bounces@lists.hodgsonfamily.org [blind-sysadmins-bounces@lists.hodgsonfamily.org] on behalf of Darragh OHeiligh [Darragh.OHeiligh@Oireachtas.ie] Sent: 04 October 2011 11:33 To: blind-sysadmins@lists.hodgsonfamily.org Subject: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Greetings, I was wondering if any of you would be able to suggest a solution to the following problem? Sinario: 1 Exchange server running version 2007. New exchange server running on 2010. Public folders seem to have been replicated across ok and the 2010 server is configured to be the primary server now. Replication has finally been removed from the 2007 server. It has therefore allowed me to remove the non-system databases. I am now trying to remove the system public databases.
From the GUI or the command line the errors are the same;
Any ideas? Error below: [PS] C:\Program Files\Microsoft\Exchange Server\V14\Scripts>Get-PublicFolder -Server <OldServer> "\Non_Ipm_Subtree" -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Server <OldServer> -Recurse Confirm Are you sure you want to perform this action? Removing public folder "\NON_IPM_SUBTREE". [Y] Yes [A] Yes to All [N] No [L] No to All [?] Help (default is "Y"): a Modification of the '\NON_IPM_SUBTREE' folder is not allowed. + CategoryInfo : NotSpecified: (0:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 36EC8CB5,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\EFORMS REGISTRY' folder isn't allowed. + CategoryInfo : NotSpecified: (1:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 46129E00,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\Events Root'. Please make sure that you specified the correct identity and t hat you have the correct permissions to delete it. + CategoryInfo : NotSpecified: (2:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : E4954678,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK' folder isn't allowed. + CategoryInfo : NotSpecified: (3:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 4E149135,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\/o=First Organization/cn=addrlists/cn=oabs/cn=Default O ffline Address Book'. Please make sure that you specified the correct identity and that you have the correct permission s to delete it. + CategoryInfo : NotSpecified: (4:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : 783E1C44,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\EX:/o=First Organization/ou=Exchange Administrative Gro up (FYDIBOHF23SPDLT)'. Please make sure that you specified the correct identity and that you have the correct permissio ns to delete it. + CategoryInfo : NotSpecified: (5:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : DBE49C6E,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY' folder isn't allowed. + CategoryInfo : NotSpecified: (6:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 51AC246C,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY\EX:/o=First Organization/ou=Exchange Administrative Grou p (FYDIBOHF23SPDLT)'. Please make sure that you specified the correct identity and that you have the correct permission s to delete it. + CategoryInfo : NotSpecified: (7:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : 5A93A77B,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Regards Darragh Ó Héiligh Fujitsu Offices of the Houses of the Oireachtas, Fredrick Building, South Fredrick Street, Dublin2 Telephone: +353 (1) 618 3559 Email: darragh.oheiligh@oireachtas.ie Internet: http://www.oireachtas.ie _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins
Damn. I don't believe it. Just deleted the mailbox from storage group 1 and the public folders still will not delete. It's still complaining about replicas when I try to do it from the G U I. Regards Darragh Ó Héiligh Fujitsu Offices of the Houses of the Oireachtas, Fredrick Building, South Fredrick Street, Dublin2 Telephone: +353 (1) 618 3559 Email: darragh.oheiligh@oireachtas.ie Internet: http://www.oireachtas.ie From: Andrew Hodgson <andrew@hodgsonfamily.org> To: Blind sysadmins list <blind-sysadmins@lists.hodgsonfamily.org> Date: 05/10/2011 11:17 Subject: Re: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Sent by: blind-sysadmins-bounces@lists.hodgsonfamily.org Hi, If you aren't worried about the data in those public folders, then just delete the (hopefully) empty mailbox database, then remove the public folder database. That should get you in the right direction to carry out the uninstall. Sorry if telling you to suck eggs, but you realise you need to uninstall from the control panel to get the system in a working state? Just removing the complete system will leave a real mess behind. Someone at my old job did this a while back and I had to clean up the mess, luckily the computer object was still present in Active Directory so I was able to do a reinstall using the /disasterrecovery switch and then uninstall correctly, but it could have been very bad! Andrew. ________________________________________ From: blind-sysadmins-bounces@lists.hodgsonfamily.org [blind-sysadmins-bounces@lists.hodgsonfamily.org] on behalf of Darragh OHeiligh [Darragh.OHeiligh@Oireachtas.ie] Sent: 05 October 2011 11:12 To: Blind sysadmins list Cc: blind-sysadmins-bounces@lists.hodgsonfamily.org Subject: Re: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Good morning Andrew, thanks for that. Yes. I have run those commands. The addReplica script runs however it says that the command has run correctly however no values were updated. Sorry, I tried to get the exact error but for some reason it didn't let me past back to the local machine and I closed the session before I realised it. I've set off the MoveAllReplicas script again so who knows maybe at smoe stage I'll get lucky. All that's left are the system databases. There's only a few as well. OffLineAddressbook is one, events is another and EForms is there as well. I cant remember them all. I do know that the Exchange 2010 box has these databases either because it's created them it's self or through replication. I'm not sure. I seriously need to learn more about Exchange. Any ideas? All I really need to do at this stage is delete the system databases. I'm don't care at all about replication. I hope that once their deleted I'll be able to just uninstall Exchange from that server and the 2010 will behave it's self. Regards Darragh Ó Héiligh Fujitsu Offices of the Houses of the Oireachtas, Fredrick Building, South Fredrick Street, Dublin2 Telephone: +353 (1) 618 3559 Email: darragh.oheiligh@oireachtas.ie Internet: http://www.oireachtas.ie From: Andrew Hodgson <andrew@hodgsonfamily.org> To: Blind sysadmins list <blind-sysadmins@lists.hodgsonfamily.org> Date: 04/10/2011 12:54 Subject: Re: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Sent by: blind-sysadmins-bounces@lists.hodgsonfamily.org Hi, Did you use something like the following steps to do this: .\AddReplicaToPFRecursive.ps1 -server "exchange2007server" -TopPublicFolder "\NON_IPM_Subtree" -ServerToAdd "exchange2010server" Wait for replication then run: .\MoveAllReplicas.ps1 -Server "Exchange2007server" -NewServer "Exchange2010server" This needs running from the 2k10 box. You can get full statistics on the public folders by running: Get-PublicFolderStatistics -server "Exchange2007Server" | fl | out-file c:\publicfolders.txt I kept running this at various stages throughout the whole process, at the end of the process when everything has been moved you will get an empty file. It took ages on my box with only a free/busy and OAB populated. You should then be able to delete the PF database, you may need to zap the mailbox database first as it is probably associated with that pf database. Thanks. Andrew. ________________________________________ From: blind-sysadmins-bounces@lists.hodgsonfamily.org [blind-sysadmins-bounces@lists.hodgsonfamily.org] on behalf of Darragh OHeiligh [Darragh.OHeiligh@Oireachtas.ie] Sent: 04 October 2011 11:33 To: blind-sysadmins@lists.hodgsonfamily.org Subject: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Greetings, I was wondering if any of you would be able to suggest a solution to the following problem? Sinario: 1 Exchange server running version 2007. New exchange server running on 2010. Public folders seem to have been replicated across ok and the 2010 server is configured to be the primary server now. Replication has finally been removed from the 2007 server. It has therefore allowed me to remove the non-system databases. I am now trying to remove the system public databases.
From the GUI or the command line the errors are the same;
Any ideas? Error below: [PS] C:\Program Files\Microsoft\Exchange Server\V14\Scripts>Get-PublicFolder -Server <OldServer> "\Non_Ipm_Subtree" -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Server <OldServer> -Recurse Confirm Are you sure you want to perform this action? Removing public folder "\NON_IPM_SUBTREE". [Y] Yes [A] Yes to All [N] No [L] No to All [?] Help (default is "Y"): a Modification of the '\NON_IPM_SUBTREE' folder is not allowed. + CategoryInfo : NotSpecified: (0:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 36EC8CB5,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\EFORMS REGISTRY' folder isn't allowed. + CategoryInfo : NotSpecified: (1:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 46129E00,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\Events Root'. Please make sure that you specified the correct identity and t hat you have the correct permissions to delete it. + CategoryInfo : NotSpecified: (2:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : E4954678,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK' folder isn't allowed. + CategoryInfo : NotSpecified: (3:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 4E149135,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\/o=First Organization/cn=addrlists/cn=oabs/cn=Default O ffline Address Book'. Please make sure that you specified the correct identity and that you have the correct permission s to delete it. + CategoryInfo : NotSpecified: (4:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : 783E1C44,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\EX:/o=First Organization/ou=Exchange Administrative Gro up (FYDIBOHF23SPDLT)'. Please make sure that you specified the correct identity and that you have the correct permissio ns to delete it. + CategoryInfo : NotSpecified: (5:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : DBE49C6E,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY' folder isn't allowed. + CategoryInfo : NotSpecified: (6:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 51AC246C,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY\EX:/o=First Organization/ou=Exchange Administrative Grou p (FYDIBOHF23SPDLT)'. Please make sure that you specified the correct identity and that you have the correct permission s to delete it. + CategoryInfo : NotSpecified: (7:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : 5A93A77B,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Regards Darragh Ó Héiligh Fujitsu Offices of the Houses of the Oireachtas, Fredrick Building, South Fredrick Street, Dublin2 Telephone: +353 (1) 618 3559 Email: darragh.oheiligh@oireachtas.ie Internet: http://www.oireachtas.ie _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins
Damn. I don't believe it. Just deleted the mailbox from storage group 1 and the public folders still will not delete. It's still complaining about replicas when I try to do it from the G U I. Regards Darragh Ó Héiligh Fujitsu Offices of the Houses of the Oireachtas, Fredrick Building, South Fredrick Street, Dublin2 Telephone: +353 (1) 618 3559 Email: darragh.oheiligh@oireachtas.ie Internet: http://www.oireachtas.ie From: Andrew Hodgson <andrew@hodgsonfamily.org> To: Blind sysadmins list <blind-sysadmins@lists.hodgsonfamily.org> Date: 05/10/2011 11:17 Subject: Re: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Sent by: blind-sysadmins-bounces@lists.hodgsonfamily.org Hi, If you aren't worried about the data in those public folders, then just delete the (hopefully) empty mailbox database, then remove the public folder database. That should get you in the right direction to carry out the uninstall. Sorry if telling you to suck eggs, but you realise you need to uninstall from the control panel to get the system in a working state? Just removing the complete system will leave a real mess behind. Someone at my old job did this a while back and I had to clean up the mess, luckily the computer object was still present in Active Directory so I was able to do a reinstall using the /disasterrecovery switch and then uninstall correctly, but it could have been very bad! Andrew. ________________________________________ From: blind-sysadmins-bounces@lists.hodgsonfamily.org [blind-sysadmins-bounces@lists.hodgsonfamily.org] on behalf of Darragh OHeiligh [Darragh.OHeiligh@Oireachtas.ie] Sent: 05 October 2011 11:12 To: Blind sysadmins list Cc: blind-sysadmins-bounces@lists.hodgsonfamily.org Subject: Re: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Good morning Andrew, thanks for that. Yes. I have run those commands. The addReplica script runs however it says that the command has run correctly however no values were updated. Sorry, I tried to get the exact error but for some reason it didn't let me past back to the local machine and I closed the session before I realised it. I've set off the MoveAllReplicas script again so who knows maybe at smoe stage I'll get lucky. All that's left are the system databases. There's only a few as well. OffLineAddressbook is one, events is another and EForms is there as well. I cant remember them all. I do know that the Exchange 2010 box has these databases either because it's created them it's self or through replication. I'm not sure. I seriously need to learn more about Exchange. Any ideas? All I really need to do at this stage is delete the system databases. I'm don't care at all about replication. I hope that once their deleted I'll be able to just uninstall Exchange from that server and the 2010 will behave it's self. Regards Darragh Ó Héiligh Fujitsu Offices of the Houses of the Oireachtas, Fredrick Building, South Fredrick Street, Dublin2 Telephone: +353 (1) 618 3559 Email: darragh.oheiligh@oireachtas.ie Internet: http://www.oireachtas.ie From: Andrew Hodgson <andrew@hodgsonfamily.org> To: Blind sysadmins list <blind-sysadmins@lists.hodgsonfamily.org> Date: 04/10/2011 12:54 Subject: Re: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Sent by: blind-sysadmins-bounces@lists.hodgsonfamily.org Hi, Did you use something like the following steps to do this: .\AddReplicaToPFRecursive.ps1 -server "exchange2007server" -TopPublicFolder "\NON_IPM_Subtree" -ServerToAdd "exchange2010server" Wait for replication then run: .\MoveAllReplicas.ps1 -Server "Exchange2007server" -NewServer "Exchange2010server" This needs running from the 2k10 box. You can get full statistics on the public folders by running: Get-PublicFolderStatistics -server "Exchange2007Server" | fl | out-file c:\publicfolders.txt I kept running this at various stages throughout the whole process, at the end of the process when everything has been moved you will get an empty file. It took ages on my box with only a free/busy and OAB populated. You should then be able to delete the PF database, you may need to zap the mailbox database first as it is probably associated with that pf database. Thanks. Andrew. ________________________________________ From: blind-sysadmins-bounces@lists.hodgsonfamily.org [blind-sysadmins-bounces@lists.hodgsonfamily.org] on behalf of Darragh OHeiligh [Darragh.OHeiligh@Oireachtas.ie] Sent: 04 October 2011 11:33 To: blind-sysadmins@lists.hodgsonfamily.org Subject: [Blind-sysadmins] Migrating from Exchange 2007 to 2010. Greetings, I was wondering if any of you would be able to suggest a solution to the following problem? Sinario: 1 Exchange server running version 2007. New exchange server running on 2010. Public folders seem to have been replicated across ok and the 2010 server is configured to be the primary server now. Replication has finally been removed from the 2007 server. It has therefore allowed me to remove the non-system databases. I am now trying to remove the system public databases.
From the GUI or the command line the errors are the same;
Any ideas? Error below: [PS] C:\Program Files\Microsoft\Exchange Server\V14\Scripts>Get-PublicFolder -Server <OldServer> "\Non_Ipm_Subtree" -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Server <OldServer> -Recurse Confirm Are you sure you want to perform this action? Removing public folder "\NON_IPM_SUBTREE". [Y] Yes [A] Yes to All [N] No [L] No to All [?] Help (default is "Y"): a Modification of the '\NON_IPM_SUBTREE' folder is not allowed. + CategoryInfo : NotSpecified: (0:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 36EC8CB5,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\EFORMS REGISTRY' folder isn't allowed. + CategoryInfo : NotSpecified: (1:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 46129E00,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\Events Root'. Please make sure that you specified the correct identity and t hat you have the correct permissions to delete it. + CategoryInfo : NotSpecified: (2:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : E4954678,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK' folder isn't allowed. + CategoryInfo : NotSpecified: (3:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 4E149135,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\/o=First Organization/cn=addrlists/cn=oabs/cn=Default O ffline Address Book'. Please make sure that you specified the correct identity and that you have the correct permission s to delete it. + CategoryInfo : NotSpecified: (4:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : 783E1C44,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\OFFLINE ADDRESS BOOK\EX:/o=First Organization/ou=Exchange Administrative Gro up (FYDIBOHF23SPDLT)'. Please make sure that you specified the correct identity and that you have the correct permissio ns to delete it. + CategoryInfo : NotSpecified: (5:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : DBE49C6E,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Modification of the '\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY' folder isn't allowed. + CategoryInfo : NotSpecified: (6:Int32) [Remove-PublicFolder], ModificationDisallowedException + FullyQualifiedErrorId : 51AC246C,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Cannot delete the object '\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY\EX:/o=First Organization/ou=Exchange Administrative Grou p (FYDIBOHF23SPDLT)'. Please make sure that you specified the correct identity and that you have the correct permission s to delete it. + CategoryInfo : NotSpecified: (7:Int32) [Remove-PublicFolder], MapiPartialCompletionException + FullyQualifiedErrorId : 5A93A77B,Microsoft.Exchange.Management.MapiTasks.RemovePublicFolder Regards Darragh Ó Héiligh Fujitsu Offices of the Houses of the Oireachtas, Fredrick Building, South Fredrick Street, Dublin2 Telephone: +353 (1) 618 3559 Email: darragh.oheiligh@oireachtas.ie Internet: http://www.oireachtas.ie _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins _______________________________________________ Blind-sysadmins mailing list Blind-sysadmins@lists.hodgsonfamily.org http://lists.hodgsonfamily.org/listinfo/blind-sysadmins
participants (2)
-
Andrew Hodgson
-
Darragh OHeiligh