Help and Support

Article ID: 952167 - Last Review: November 20, 2008 - Revision: 5.1

Folders may have to be excluded from antivirus scanning when you use a file-level antivirus program in Windows SharePoint Services 3.0 or in SharePoint Server 2007

On This Page

Expand all | Collapse all

INTRODUCTION

This article includes information about folders that may have to be excluded from antivirus scanning in Microsoft Windows SharePoint Services 3.0 and in Microsoft Office SharePoint Server 2007. These folders may have to be excluded from antivirus scanning when you use a file-level antivirus program in Windows SharePoint Services 3.0 or in SharePoint Server 2007. If these folders are not excluded, you may see many unexpected behaviors. For example, you may receive "access denied" error messages when files are uploaded.

MORE INFORMATION

When you use certain file-level antivirus software programs in Windows SharePoint Service 3.0 or in SharePoint Server 2007, it is important to exclude certain folders from being scanned. If you do not exclude these folders, you may experience many unexpected issues. These issues could include service interruption.

This article contains information about the folders that may have to be excluded from antivirus scanning.

Folders that may have to be excluded from antivirus scanning for Windows SharePoint Services 3.0

You may have to configure the antivirus software to exclude the following folders and subfolders from antivirus scanning.

Note The Drive placeholder represents the drive letter in which you have installed Windows SharePoint Services 3.0 or SharePoint Server 2007. Typically, this drive letter is C.
  • Drive:\Program Files\Common Files\Microsoft Shared\Web Service Extensions

    If you do not want to exclude the whole "Web Services Extensions" folder from antivirus scanning, you can exclude only the following two folders:
    • Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Logs
    • Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Data\Applications

      Note The Applications folder must be excluded only if the computer is running the Windows SharePoint Services Search service. If the folder that contains the index file is located in some other location, you must also exclude that folder.
  • Drive:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files

    Note If you are running a 64-bit version of Windows, you should also include the following directory:
    • Drive:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files
  • Drive:\Documents and Settings\All Users\Application Data\Microsoft\SharePoint\Config
  • Drive:\Windows\Temp\WebTempDir

    Note The WebTempDir folder is a replacement for the FrontPageTempDir folder.
  • Drive\Documents and Settings\the account that the search service is running as\Local Settings\Temp\

    Note The search account creates a folder in the "gthrsvc Temp" folder to which it periodically needs to write.
  • Drive:\WINDOWS\system32\LogFiles

    Note If you use a specific account for SharePoint services or application pools identities, you may also have to exclude the following folders:
    • Drive:\Documents and Settings\ServiceAccount\Local Settings\Application Data
    • Drive:\Documents and Settings\ServiceAccount\Local Settings\Temp
  • Drive:\Documents and Settings\Default User\Local Settings\Temp

Folders that may have to be excluded from antivirus scanning for SharePoint Server 2007

You may have to configure the antivirus software to exclude the "Drive:\Program Files\Microsoft Office Servers" folder from antivirus scanning for SharePoint Server 2007. If you do not want to exclude the whole "Microsoft Office Server" folder from antivirus scanning, you can exclude only the following folders:
  • Drive:\Program Files\Microsoft Office Servers\12.0\Data. (This folder is used for the indexing process. If the Index files are configured to reside in a different folder, you also have to exclude that location.)
  • Drive:\Program Files\Microsoft Office Servers\12.0\Logs
  • Drive:\Program Files\Microsoft Office Servers\12.0\Bin
Note When you install SharePoint Server 2007 or when you apply a hotfix to an existing installation of SharePoint Server 2007, you may have to disable the real-time option of the antivirus program. Or, you may have to exclude the Drive:\Windows\Temp folder from antivirus scanning if it is required.

For more information about error messages that may occur when antivirus software scans occur in SharePoint Portal Server 2001 and in SharePoint Portal Server 2003, click the following article number to view the article in the Microsoft Knowledge Base:
320111  (http://support.microsoft.com/kb/320111/ ) Random errors may occur when antivirus software scans Microsoft Web Storage System in SharePoint Portal Server 2001 and in SharePoint Portal Server 2003
For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
910449  (http://support.microsoft.com/kb/910449/ ) Troubleshooting common permissions and security-related issues in ASP.NET
813833  (http://support.microsoft.com/kb/813833/ ) PRB: "Access Denied" error messages when you do not put strong-named assemblies in the global assembly cache

APPLIES TO
  • Microsoft Office SharePoint Server 2007
  • Microsoft Windows SharePoint Services 3.0
Keywords: 
kbexpertiseinter kbhowto kbinfo KB952167

Article Translations