Export (0) Print
Expand All

Avuploadscanenabled: Stsadm property (Office SharePoint Server)

Office 2007

Updated: September 13, 2007

Applies To: Office SharePoint Server 2007

Updated: 2007-09-13


Specifies whether documents are scanned when they are uploaded.

This property is equivalent to the Scan documents on upload user interface setting that is located on the Antivirus page of the SharePoint Central Administration Web site.


stsadm -o setproperty

   -propertyname avuploadscanenabled

   -propertyvalue {Yes | No}

   [-url] <URL>

The syntax for the getproperty operation is:

stsadm -o getproperty

   propertyname avuploadscanenabled

   [-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.


Yes: Indicates that documents are scanned when they are uploaded.

No: Indicates that documents are not scanned when they are uploaded. This is the default value.


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


To enable documents to be scanned on upload, use the following syntax:

stsadm -o setproperty -pn avuploadscanenabled -pv yes

To view the current setting of the avuploadscanenabled property, use the following syntax:

stsadm -o getproperty -pn avuploadscanenabled

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