Remove a public folder database
I have everything migrated to 2007 and now I want to remove whole public folder functionality from Exchange. If I got it, there is no need for PF in 2007. But whenI click on Remove, error message appears: -------------------------------------------------------- Microsoft Exchange Error -------------------------------------------------------- The public folder database 'Public Folder Database' cannot be deleted. Public Folder Database Failed Error: The public folder database "E12MBX2\Second Storage Group\Public Folder Database" is the default public folder database for the following mailbox database(s): E12MBX2\First Storage Group\Mailbox Database E12MBX2\Second Storage Group\Mailbox Database 2 . Before deleting the public folder database, assign a new public folder database to the mailbox database(s). -------------------------------------------------------- OK -------------------------------------------------------- But I can't remove this assignment from mailbox DB(I can only choose differentPF DB on client settings) Is there any workaround?
May 20th, 2009 11:16am

"there is no need for PF in 2007" does it mean that this is last public folder database in your environment? If so, to remove last public folder database you can use "RemoveLastAllowed" switch. I guess you are aware that removing PFs, doesn't allow you to use Outlook 2003 and older clients... Try this cmdlet... Remove-PublicFolderDatabase -Identity "E12MBX2\Second Storage Group\Public Folder Database" -RemoveLastAllowed Refrences: Removing Public Folder Databases http://technet.microsoft.com/en-us/library/cc164367.aspx Remove-PublicFolderDatabase http://technet.microsoft.com/en-us/library/aa996312.aspxAmit Tank | MVP Exchange Server | MCITP: EMA, MCSA: M | http://ExchangeShare.WordPress.com
Free Windows Admin Tool Kit Click here and download it now
May 20th, 2009 11:41am

Hello, it responds same way: Remove-PublicFolderDatabase : The public folder database "E12MBX2\Second Storag e Group\Public Folder Database" is the default public folder database for the f ollowing mailbox database(s): E12MBX2\First Storage Group\Mailbox Database E12MBX2\Second Storage Group\Mailbox Database 2 . Before deleting the public folder database, assign a new public folder databa se to the mailbox database(s). At line:1 char:28 + Remove-PublicFolderDatabase <<<< -Identity "E12MBX2\Second Storage Group\Pub lic Folder Database" -RemoveLastAllowed and I didn't find in documentation how to remove this assignment.
May 20th, 2009 1:34pm

Hi, Is this PF the last PF in your org? Please use the following commands to remove all contents in the publicfolder first: Get-PublicFolder -Server <server containing the public folder database> "\" -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Server <server containing the public folder database> -Recurse -ErrorAction:SilentlyContinue Get-PublicFolder -Server <server containing the public folder database> "\Non_Ipm_Subtree" -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Server <server containing the public folder database> -Recurse -ErrorAction:SilentlyContinue Then try to remove it again. Please also notice: If you want to remove the last public folder database in your organization, you must first make sure that your organization does not contain any servers running Exchange Server 2003 or earlier. In addition, if you remove the last public folder database, only users running Microsoft Office Outlook 2007 or Outlook Web Access will be able to connect to your Exchange organization. Thanks, Elvis
Free Windows Admin Tool Kit Click here and download it now
May 22nd, 2009 11:57am

Thanks, this moved me forward a little bit. I am unable to delete them. whenI remove erroraction switch, it responds:[PS] C:\Documents and Settings\Administrator.GLOBUS>Get-PublicFolder -Server e12mbx2 "\Non_Ipm_Subtree" -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Server e12mbx2 -Recurse ConfirmAre 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 [S] Suspend [?] Help(default is "Y"):Remove-PublicFolder : Modification of the '\NON_IPM_SUBTREE' folder is not allowed.At line:1 char:105+ Get-PublicFolder -Server e12mbx2 "\Non_Ipm_Subtree" -Recurse -ResultSize:Unlimited | Remove-PublicFolder <<<< -Server e12mbx2 -Recurse
May 22nd, 2009 12:04pm

Ok, I guess it is time to remove the values with ADSIEdit.msc Open ADSIEdit.msc (a tool from Windows Support Tools) -> Configuration Partition -> Services -> Microsoft Exchange -> Administrative Group ->Exchange Administrative Group (FYDIBOHF23SPDLT) -> Server -> ExchangeServerName -> InformationStore -> StorageGroupName -> MailboxDatabaseName -> Properties And set the value ofmsExchHomePublicMDBattrbiute to <Not Set> and try to remove public folder database. Amit Tank | MVP Exchange Server | MCITP: EMA | MCSA: M | http://ExchangeShare.WordPress.com
Free Windows Admin Tool Kit Click here and download it now
May 24th, 2009 5:02pm

Ok, done. I was forced to remove even public folder by ADSIEdit, because there were some undeletable replicas from our Exchange 2000 days. It will be great for other to know how to deal with them cleaner way, but I am ok with that. Thanks all for help.
May 25th, 2009 12:36am

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

Other recent topics Other recent topics