Export (0) Print
Expand All

Configuring the on-demand scan

 

Applies to: Forefront Protection for Exchange

Topic Last Modified: 2010-05-10

There are several configuration settings that you can adjust for the on-demand scan in order to meet the needs of your environment. All changes to on-demand scan settings take effect as soon as you begin the scan.

To configure the on-demand scan
  1. In the Forefront Protection 2010 for Exchange Server Administrator Console's Tasks view, in the tree, expand Task Library, and then click Mailbox On-Demand.

  2. In the Task Library - Mailbox On-Demand pane, in the Exchange Client Access Server section, specify the name of the Exchange Client Access Server (CAS) through which the on-demand scan job connects to your Exchange environment in order to scan mailboxes. You can select to Use the default CAS (the default) or you can select to Specify the CAS host name or computer name. The value of this parameter can be the fully qualified domain name of the CAS, or the name or IP address of the CAS. The default CAS is detected during the first run after installation. It is recommended that you specify a network load-balanced CAS if you want to change the default.

    NoteNote:
    Microsoft Exchange Server 2010 requires that a CAS be configured for the on-demand scan job. For earlier Exchange versions, a CAS is not required.
  3. In the Task Library - Mailbox On-Demand pane, in the Scan Targets section, configure the mailboxes to scan. For more information, see Selecting which mailboxes to scan on-demand.

  4. In the Task Library - Mailbox On-Demand pane, in the Engines and Performance section, select the number of scan engines that should be used for each scan. For more information, see Configuring the number of scan engines used for each scan.

  5. In the Task Library - Mailbox On-Demand pane, in the Scan Actions section, configure the following settings:

    1. Action—Select the action that you want performed when a virus is detected (spyware scanning is not available for the on-demand scan). For more information about actions, see Configuring the action when malware is detected.

    2. Quarantine Files—Using the drop-down list, enable (by selecting Yes) or disable (by selecting No) saving infected files detected by the file-scanning engines. Quarantining is enabled by default. Enabling quarantine causes deleted attachments and purged messages to be stored in a secure location, from which you can recover them. However, worm-purged messages are not recoverable. For more information about quarantine, see Viewing and managing quarantine.

    3. Edit Malware Deletion Text—You can specify deletion text, which is used to replace the contents of an infected file during a delete operation. The default deletion text informs you that an infected file was removed, along with the name of the file and the name of the malware found. To change the default deletion text, click Edit Malware Deletion Text, make the modifications to the deletion text in the Edit Malware Deletion Text dialog box, and then click Apply and Close to return to the Task Library - Mailbox On-Demand pane.

      NoteNote:
      FPE provides keywords that can be used in the deletion text field to obtain information from the message in which the infection was found. To use them, in the Edit Malware Deletion Text dialog box, right-click, select Insert Field, and then select the desired macro. For more information about this feature, see Keyword substitution macros.

Additional settings for the on-demand scan are not available in the Forefront Protection 2010 for Exchange Server Administrator Console. You need to use the Forefront Management Shell to enter Windows PowerShell commands.

To access the Forefront Management Shell
  • Click Start, point to All Programs, point to Microsoft Forefront Server Protection, and then click Forefront Management Shell.

After accessing the Forefront Management Shell, you can issue the following configuration commands for the on-demand scan:

Set-FseOnDemandScan -DocFilesAsContainers

Configures the on-demand scan to scan files that use structured storage and the OLE embedded data format (for example, ,doc, .xls, .ppt, and .shs) as container files. This ensures that any embedded files are scanned as potential malware carriers. The possible values are $false and $true. The default is $true.

Set-FseOnDemandScan -MaxContainerScanTime

Indicates the number of seconds that the on-demand scan scans a compressed attachment before reporting it as a ScanTimeExceeded incident. This option is intended to prevent the risk of denial of service due to zip-of-death attacks. The default value is 120 seconds (two minutes).

Set-FseOnDemandScan -BodyScanning

Indicates that the body of the message should be scanned. The possible values are $false and $true. The default is $false.

Set-FseOnDemandScan -Priority

Indicates the CPU priority of the on-demand scan. The possible values are Normal (the default), BelowNormal, and Low. Changing the setting to BelowNormal or Low enables more important jobs to take precedence over the on-demand scan when demands on server resources are high.

Set-FseOnDemandScan -SuppressMalwareNotifications

Indicates whether virus, spyware, or worm notifications should be sent when malware is detected. The possible values are $false and $true. The default of $false indicates that if virus, spyware, or worm notifications are enabled, they are sent. If they were disabled with Set-FseNotification, this parameter has no effect.

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

Community Additions

ADD
Show:
© 2014 Microsoft