Antivirus exclusion considerations for Microsoft Dynamics CRM

Antivirus software can sometimes adversely affect performance in Microsoft Dynamics CRM, depending on how the antivirus software is configured. Virus scanning can lock certain files and make them inaccessible to other applications. Because Microsoft Dynamics CRM can touch multiple servers in an environment, the overall guidance for antivirus software is far-reaching and brings many areas into consideration. Antivirus software can affect on the following:
  • Application servers
  • Instances of Microsoft SQL Server
  • Active Directory servers
  • Reporting servers
  • Client computers

Files and folders to consider excluding from antivirus software scanning

Consider excluding the following files and folders from antivirus scanning to minimize performance decreases:

Notes

  • The following list is not exhaustive. It is built from observations and from work in various customer environments.
  • Each environment requires a thoughtful decision about what to include and to exclude. Excluding files from antivirus scans could lead to unwanted consequences. The list should be used together with your well-planned internal information technology (IT) management policies.

Microsoft Dynamics CRM servers

  • Consider the following directories for exclusion from antivirus scanning:
    • %SystemDrive%inetpubtempIIS Temporary Compressed File
    • %systemroot%system32inetsrv

  • Make sure any script-scanning functionality in your antivirus software is turned off on the server that is running Microsoft Dynamics CRM.
  • For more information about antivirus software that is used with Internet Information Services (IIS), click the following article numbers to view the articles in the Microsoft Knowledge Base:
    817442 

    (http://support.microsoft.com/kb/817442/
    )
    A 0-byte file may be returned when compression is enabled on a server that is running IIS

    821749 

    (http://support.microsoft.com/kb/821749/
    )
    Antivirus software may cause IIS to stop unexpectedly

SQL Server

  • SQL Server data files. These files usually have the following file name extensions:
  • SQL Server backup files. These files usually have the following file name extensions:
  • Full-text catalog files
  • The directory that holds SQL Server Analysis Services data
  • If a SQL Server failover cluster is being used, consider excluding the following from antivirus scanning:
    • Q: (Quorum drive)
    • C:WindowsCluster
  • Mssql.exe
  • Sqlagent.ext

For more information about SQL Server and antivirus software, click the following article number to view the article in the Microsoft Knowledge Base:

309422 

(http://support.microsoft.com/kb/309422/
)
How to choose antivirus software to run on computers that are running SQL Server

Microsoft Dynamics CRM client

  • Check for any interference from desktop security software. Some antivirus programs include a feature known as ScriptScan that can affect performance in Microsoft Dynamics CRM. Most antivirus programs have functionality to disable scanning on certain websites. Make sure that the Microsoft Dynamics CRM URL is added to this list. For more information about McAfee and other antivirus software, visit the following websites:
  • If you use other antivirus software, make sure that the Microsoft Dynamics CRM website URL is included in the trusted zone for virus scanning, and switch off on-access scanning for the Microsoft Dynamics CRM website. See your specific antivirus application documentation for more information.

Virtual servers

  • If virtual servers are used in the deployment, consider excluding the directory on the host computer that contains the virtual hard disk files.
  • For Hyper-V specifically, consider excluding the following processes:
    • Vmms.exe
    • Vmswp.exe
    • Vmwp.exe
  • For more information about virtual servers, click the following article number to view the article in the Microsoft Knowledge Base:
    961804 

    (http://support.microsoft.com/kb/961804/
    )
    Virtual machines are missing in the Hyper-V Manager Console or when you create or start a virtual machine, you receive one of the following error codes: “0x800704C8″, “0×80070037″ or “0x800703E3″

Email router

If you use an email router, consider excluding the following files from antivirus scanning:

Note
By default, these files exist at the following location:

C:Program FilesMicrosoft CRM EmailService

  • Microsoft.crm.tools.email.management.exe
  • Microsoft.crm.tools.emailagent.exe
  • Microsoft.crm.tools.emailproviders.dll
  • Microsoft.Exchange.WebServices.dll
  • Microsoft.Crm.Passport.IdCrl.dll
  • Microsoft.Crm.Tools.EmailAgent.Configuration.bin
  • Microsoft.Crm.Tools.EmailAgent.xml
  • Microsoft.Crm.Tools.EmailAgent.SystemState.xml

If a trace is being run, the trace file as configured in Emailagent.xml can also be excluded.

Enterprise Windows-based servers (Windows Server 2008, Windows Server 2008 R2, Windows Server 2003, Windows 2000, Windows Vista, Windows XP, Windows 7)

  • Windows Update-related or Automatic Update-related files
  • Windows Security files
    • *.edbo
    • *.sdbo
    • *.logo
    • *.chko
    • *.jrs
      Note: By default, these files are located in the following folder:

      %windir%SecurityDatabase

  • Group Policy-related files

For more information about Enterprise Window Servers virus scanning exclusion recommendations, click the following article number to view the article in the Microsoft Knowledge Base:

822158 

(http://support.microsoft.com/kb/822158/
)
Virus scanning recommendations for Enterprise computers that are running currently supported versions of Windows

Read More:
Antivirus exclusion considerations for Microsoft Dynamics CRM

Comments are closed.

Recent Comments

    Archives

    Categories