Self-recursive public folder on Exchange 2007- can't delete it
I've got an obviously corrupted public folder:
top Level name
copy of top level name
top level name
copy of top level name
top level name
...
for as far as I've felt like expanding the hierarchy. When I try to delete the subs (or the top level, for that matter), Outlook hangs, and when I try to delete it from the public folder mgt console (or the exchange shell, too), it fails with an error:
--------------------------------------------------------
Microsoft Exchange Error
--------------------------------------------------------
Action 'Remove' could not be performed on object 'Rm292-Boardroom'.
Rm292-Boardroom
Failed
Error:
The folder '\Meeting Rooms\non functioning\Rm 161\Rm292-Boardroom\Rm 161\Rm292-Boardroom\Rm 161\Rm292-Boardroom\Rm 161\Rm292-Boardroom\Rm 161\Rm292-Boardroom' or some of its subfolder(s) encountered errors and could not be deleted.
MapiExceptionPartialCompletion: Unable to delete folder. (hr=0x40680, ec=0)
Diagnostic context:
Lid: 18969 EcDoRpcExt2 called [length=54]
Lid: 27161 EcDoRpcExt2 returned [ec=0x0][length=49][latency=37]
Lid: 23226 --- ROP Parse Start ---
Lid: 27962 ROP: ropDeleteFolder [29]
Lid: 31418 --- ROP Parse Done ---
--------------------------------------------------------
Any ideas how I can get delete this self-recursive public folder?
June 25th, 2010 7:04pm
Please try the cmdlet below on the problematic public folder, and then monitor the output
Remove-PublicFolder -Identity "\Meeting Rooms\non functioning\Rm 161\Rm292-Boardroom" -Recurse: $True -Verbose
Please check the application log for further information
Resources:
How to Delete Multiple Public Folders from Your OrganizationJames Luo
TechNet Subscriber Support (http://technet.microsoft.com/en-us/subscriptions/ms788697.aspx)
If you have any feedback on our support, please contact tngfb@microsoft.com
Free Windows Admin Tool Kit Click here and download it now
June 28th, 2010 6:37am
Hi liaqaba,
Give this a try if you want to remove only the sub folders (The copies of the top level public folder). This helped me out in when I was in the same situation:
Get-PublicFolder -recurse "\top Level name\copy of top level name\" | Remove-PublicFolder -recurse
*If unsure, take a backup.
June 28th, 2010 4:52pm
Hi James; I have ran the command and got the following error message. I have also checked the event logs and there is no error mesage regarding public folders.
[PS] C:\Users\administrator\Desktop>Remove-PublicFolder -Identity "\Meeting Rooms\non func
tioning\Rm 161\Rm292-Boardroom" -Recurse: $True -Verbose
VERBOSE: Remove-PublicFolder : Beginning processing.
VERBOSE: Remove-PublicFolder : Administrator Active Directory session settings are: View Entire
Forest: 'False', Default Scope: 'fc.ca', Configuration Domain Controller: 'tc1.fc.ca',
VERBOSE: Remove-PublicFolder : Searching objects "\Meeting Rooms\non functioning\Rm
161\Rm292-Boardroom" of type "PublicFolder" under the root "$null".
VERBOSE: Remove-PublicFolder : Previous operation that ran on: 'mail.fc.ca'.
Confirm
Are you sure you want to perform this action?
Removing public folder "\Meeting Rooms\non functioning\Rm 161\Rm292-Boardroom".
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"):
VERBOSE: Remove-PublicFolder : Deleting "\Meeting Rooms\non functioning\Rm 161\Rm292-Boardroom" of
type "PublicFolder".
VERBOSE: Remove-PublicFolder : Previous operation that ran on: 'mail.fc.ca'.
Remove-PublicFolder : The folder '\Meeting Rooms\non functioning\Rm 161\Rm292-Boardroom' or some of
its subfolder(s) encountered errors and could not be deleted.
At line:1 char:20
+ Remove-PublicFolder <<<< -Identity "\Meeting Rooms\non functioning\Rm 161\Rm292-Boardroom" -Recu
rse: $True -Verbose
VERBOSE: Remove-PublicFolder : Ending processing.
ANY OTHER SUGGESTION PLEASE.
Free Windows Admin Tool Kit Click here and download it now
June 28th, 2010 6:41pm
Hi Delazoul; I have the command as you recommended and go the following error:
C:\Users\administrator\Desktop>Get-PublicFolder -recurse "\Meeting Rooms\non functioning\Rm 161\R
m292-Boardroom" | Remove-PublicFolder -recurse
Confirm
Are you sure you want to perform this action?
Removing public folder "\Meeting Rooms\non functioning\Rm 161\Rm292-Boardroom".
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"):
Remove-PublicFolder : The folder '\Meeting Rooms\non functioning\Rm 161\Rm292-Boardroom' or some of
its subfolder(s) encountered errors and could not be deleted.
At line:1 char:104
+ Get-PublicFolder -recurse "\Meeting Rooms\non functioning\Rm 161\Rm292-Boardroom" | Remove-Public
Folder <<<< -recurse
ANY OTHER SUGGESTION PLEASE.
June 28th, 2010 6:50pm
Please try to add the “ErrorAction” into the cmdlet:
Remove-PublicFolder -Identity "\Meeting Rooms\non functioning\Rm 161\Rm292-Boardroom" -Recurse: $True -ErrorAction:SilentlyContinue
Is this a public folder under system public folder node?James Luo
TechNet Subscriber Support (http://technet.microsoft.com/en-us/subscriptions/ms788697.aspx)
If you have any feedback on our support, please contact tngfb@microsoft.com
Free Windows Admin Tool Kit Click here and download it now
June 29th, 2010 5:16am
I have tried it with "ErrorAction" switch but public folder is still there.
This public folder is not under System folder node.
Can you please advice me some thing else?
Thanks
June 29th, 2010 5:47am
Please try to use
MFCMAPI to delete the problematic public folder. If it still can’t be removed, please do an Isinteg and EseUtil
/g on the public folder database
Resources:
Eseutil /G Integrity Mode
Description of the Isinteg utilityJames Luo
TechNet Subscriber Support (http://technet.microsoft.com/en-us/subscriptions/ms788697.aspx)
If you have any feedback on our support, please contact tngfb@microsoft.com
Free Windows Admin Tool Kit Click here and download it now
June 30th, 2010 4:45am
Also you can take one reboot of server then try to delete it before prceed for ESEUTIL as above said.Anil
June 30th, 2010 5:54am
Any update?James Luo
TechNet Subscriber Support (http://technet.microsoft.com/en-us/subscriptions/ms788697.aspx)
If you have any feedback on our support, please contact tngfb@microsoft.com
Free Windows Admin Tool Kit Click here and download it now
July 1st, 2010 4:28am
I have not yet tried any of the above two option because I need a approval. I will do that in next week.
Thanks.
July 1st, 2010 8:13pm
Hello...I'm having this problem with a public folder and have tried all suggestions here except isinteg and eseutil. I've even removed the folder's object in AD and it's still showing up in the public folders/all public folders list. How can
i get rid of this folder and all of it's subfolders?
Thanks...Rich T...
Free Windows Admin Tool Kit Click here and download it now
January 10th, 2011 3:47pm