How to remove the Drop Off Library in SharePoint 2010

In my dev environment I was testing the functionality of the Content Organizer site feature. By activating this site feature it creates a drop off library on your site. I wouldn’t recommend doing this until you have a plan in place of how you want this to work. I say this because once you enable this feature and then disable it…It does not delete the drop off library. It also won’t let you delete that library from the GUI either. The only way I have found to remove and delete that drop off library is the following:

I created a PS script and saved it to c: drive of central admin server. I open up SP management shell on this server and type > powershell -file c:\RemoveDOL.ps1


The script looks like this:


if((Get-PSSnapin | Where {$_.Name -eq “Microsoft.SharePoint.PowerShell”}) -eq $null) {

Add-PSSnapin Microsoft.SharePoint.PowerShell;



Get-SPSite -Identity  | Get-SPWeb -Limit ALL | ForEach-Object {


Disable-SPFeature –Identity DocumentRouting –url $_.Url –Confirm:$false


$dropOffLibrary = $_.Lists[“Drop Off Library”]


$dropOffLibrary.AllowDeletion = “True”




Hope this will help someone else facing this same issue.