Modifying your anti virus software to avoid conflicts with Sage Accounts and Sage Drive

Under certain conditions, the anti virus software you're using to protect your computer may have an adverse effect on the performance of Sage Accounts. When Sage Accounts creates or accesses a file, the anti virus software can lock the file as it performs a scan. This means that your software may slow down or appear to hang as the file is locked by the anti virus software. In extreme circumstances, anti virus software can also affect the stability and general functionality of your software.

If you're using Eset or Nod 32 anti virus software, you may be able to resolve the issue by following the steps in article 14577.

If you use Avast! anti virus software and it's quarantining Sage files, please refer to article 31334.

If you're getting the message 'SBD Desktop has encountered an error and will now close' when using Bitdefender, please refer to article 33454.

Please note, we can't support you with modifying your antivirus software. If you need help with this, please refer to your local IT support. We don't recommend excluding Sage files and folders from scheduled scans.

Files used by Sage Accounts

This section lists the file extensions for the files used by Sage Accounts that you may want to exclude from your anti virus software's real time scanning routine.

The file extensions listed in this article may not be unique to files used by Sage Accounts and you may not want to exclude these from your anti virus scanning routine. If in any doubt please refer to your IT Administrator.

To improve the performance of Sage Accounts, it may not be necessary to exclude all of the file types listed below from the anti virus' real time scanning routine.

Data Files

Report and Layout Files

Sage 50 Accounts

Memo Files

Criteria Files

Folders used by Sage Accounts

This section lists the folders that are used by Sage Accounts. Excluding these from the anti virus real time scan may go a long way to improving the performance of Sage Accounts.

Depending on the version of Sage Accounts, some of the following folders may not exist. To check the program directory and data directory:
  • Sage Accounts 2012 (v18) and above - Help > About > Program Details.

    Sage Accounts 2011 (v17) and below - Help > About > System Information tab > select Directories in the left-hand pane.

The following folders are used only by Sage software:

  • The Sage Accounts program directory.
  • The Sage Accounts data directory.
  • Exclude the folder that contains the ACCDATA folder. If you don't want to exclude this entire folder, you should exclude ACCDATA and the following folders that are located in the same folder as ACCDATA:
    • BITMAP
    • FAX
    • LABELS
    • MEMO
    • TMail
  • C:\Program Files\Common Files\Sage SBD
  • C:\Program Files\Common Files\Sage Line50
  • C:\Program Files\Common Files\Sage Report Designer 2007
  • C:\Program Files\Common Files\Sage Shared
  • C:\Program Files\Sage EBanking
  • C:\Program Files\Sage\AccountsService - v21 and above

    If you're using a 64-bit version of Windows, replace Program Flies with Program Files (x86).

  • C:\Documents and Settings\All Users\Application Data\Sage

    If you're using Windows 7 or Windows Vista this folder is C:\ProgramData\Sage

If you're using Eset anti virus, you may also need to turn off file scanning through threat sense. For further assistance, please refer to your local IT or software provider.

URL's used by Sage Drive

Ensure your Firewall or antivirus software isn't blocking the following hosts:

Host Address
Sage Drive servers 443/HTTPS
Amazon S3 servers 443/HTTPS
Sage ID servers 443/HTTPS

Sage 50cloud and 365 integration URLs

Ensure your Firewall or antivirus software isn't blocking the following hosts:

Host Address
Microsoft (TCP 443) (TCP 80) (TCP 80) (TCP 443) (TCP 80)

Running Reports

When running reports in Sage Accounts, several temporary files are created. The anti virus software scan may lock these files affecting the performance of Sage Accounts. As some of the files created use a file extension that's commonly used by other Windows applications, it isn't practical to exclude these files from the anti virus scan. This section explains how to change the location of these files so that the anti virus software can be configured to exclude a specific folder rather than all files with a certain extension.

This involves making changes to the Microsoft Windows registry. Using Registry Editor incorrectly can cause serious, system-wide problems that may require a reinstall of the Microsoft Windows operating system to correct them. Sage can't guarantee that any problems resulting from the use of Registry Editor can be solved. If in any doubt, please refer to your IT Administrator.

  1. Windows key + R > type regedit > OK
  2. Locate the following key:

    For 64 bit operating systems, replace HKEY_LOCAL_MACHINE\Software\ODBC\ODBC.INI with HKEY_LOCAL_MACHINE\Software\wow6432node\ODBC\ODBC.INI

    Version Browse to
    Sage 50 Accounts v23 HKEY_LOCAL_MACHINE\Software\ODBC\ODBC.INI\SageLine50v23
    Sage 50 Accounts v22 HKEY_LOCAL_MACHINE\Software\ODBC\ODBC.INI\SageLine50v22
    Sage 50 Accounts v21 HKEY_LOCAL_MACHINE\Software\ODBC\ODBC.INI\SageLine50v21
    Sage 50 Accounts 2014 (v20) HKEY_LOCAL_MACHINE\Software\ODBC\ODBC.INI\SageLine50v20
    Sage 50 Accounts 2013 (v19) HKEY_LOCAL_MACHINE\Software\ODBC\ODBC.INI\SageLine50v19
    Sage 50 Accounts 2012 (v18) HKEY_LOCAL_MACHINE\Software\ODBC\ODBC.INI\SageLine50v18
    Sage 50 Accounts 2011 (v17) HKEY_LOCAL_MACHINE\Software\ODBC\ODBC.INI\SageLine50v17
    Sage Instant Accounts v20 HKEY_LOCAL_MACHINE\Software\ODBC\ODBC.INI\SageLine50v20
    Sage Instant Accounts v19 HKEY_LOCAL_MACHINE\Software\ODBC\ODBC.INI\SageLine50v19
    Sage Instant Accounts v18 HKEY_LOCAL_MACHINE\Software\ODBC\ODBC.INI\SageLine50v18
    Sage Instant Accounts v17 HKEY_LOCAL_MACHINE\Software\ODBC\ODBC.INI\SageLine50v17
  3. Within this key, create a new String Value called TempPathname.

    TempPathname is case sensitive. Using the wrong case causes an error message when running reports in Sage Account

  4. Modify the String Value and in the Value data box > type in the path to the folder where you want the temporary files to be created.

    We recommend you create a new folder in the Sage settings directory called Reports_Temp and enter the path to this folder in the Value data box. To find the Settings directory, within the software browse to Help > About.

  5. You can now configure your anti virus software to exclude the following file types specifically in this folder:


You've now configured Sage Accounts to create temporary files in a specific folder when running reports.

Commonly used anti virus software

A list of commonly used anti virus programs and links to the support areas of their websites.

To add these exclusions to your anti virus software please refer to the User Guide or press F1 to open the Help system. Please note that these products aren't recommended, produced or supported by Sage.

The list below provides links to the support areas for the most commonly used anti virus software:

Bit Defender

Sage can't be held accountable for any content or advice given on these websites or for any virus that could affect your PC as a result of adding these exclusions.