Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies To: Windows SharePoint Services 3.0
Topic Last Modified: 2007-09-06
Specifies whether documents are scanned when they are downloaded.
This property is equivalent to the Scan documents on download user interface setting that is located on the Antivirus page of the SharePoint Central Administration Web site.
stsadm -o setproperty
-propertyname avdownloadscanenabled
-propertyvalue {Yes | No}
**\[-url\]** \<URL\>
The syntax for the getproperty operation is:
stsadm -o getproperty
propertyname avdownloadscanenabled
**\[-url\]** \<URL\>
Note
You can substitute -pn for -propertyname and -pv for -propertyvalue.
The following table shows possible values.
Name | Value |
---|---|
propertyname |
Gets or sets the name of the property. |
propertyvalue |
Yes: Indicates that documents are scanned when they are downloaded. No: Indicates that documents are not scanned when they are downloaded. This is the default value. |
url |
Typically, a path to the URL of the Web application, in the form http://server_name. |
To enable documents to be scanned on download, use the following syntax:
stsadm -o setproperty -pn avdownloadscanenabled -pv yes
To view the current setting of the avcleaningenabled property, use the following syntax:
stsadm -o getproperty -pn avdownloadscanenabled