Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Recycle-bin-enabled: Stsadm property (Windows SharePoint Services)

PerformancePoint Server 2007

Updated: November 8, 2007

Applies To: Windows SharePoint Services 3.0


Topic Last Modified: 2007-11-05

Turns the Recycle Bin on or off. If the Recycle Bin is turned off, the entire contents of all Recycle Bins in the Web application are emptied.

This property is equivalent to the Recycle Bin Status user interface setting that is located on the Web Application General Settings page of the SharePoint Central Administration Web site.

The syntax for the setproperty operation is:

stsadm -o setproperty

   -propertyname recycle-bin-enabled

   -propertyvalue {On | Off}

   [-url] <URL>

The syntax for the getproperty operation is:

stsadm -o getproperty

   propertyname recycle-bin-enabled

   [-url] <URL>

You can substitute -pn for -propertyname and -pv for -propertyvalue.

The following table shows possible values.


Name Value


Gets or sets the name of the property.


On: Turns on all Recycle Bins, that is, the primary Recycle Bin and second stage recycle bin. Deleted items are sent to the Recycle Bins.

Off: Turns off all Recycle Bins. The following message is displayed when you turn off this setting:

"Turning off the Recycle Bins deletes any items stored there for the entire Web application. Future deletions will not be sent to the Recycle Bins. Are you sure you want to turn off the Recycle Bins?"


Typically, a path to the URL of the Web application, in the form http://server_name.

To turn off the Recycle Bins, use the following syntax:

stsadm -o setproperty -pn recycle-bin-enabled -pv off

To view the current setting of the recycle-bin-enabled property, use the following syntax:

stsadm -o getproperty -pn recycle-bin-enabled

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft