# 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.

*.DTA
*.DTH
*.COA
*.S50

*.SRT
*.SLY
*.SLT
*.SLB
*.RPT

*.report
*.layout
*.letter
*.label

*.SLM
*.PLM
*.NLM
*.ILM
*.BLM
*.CLM
*.DLM

#### Criteria Files

In the case of criteria files, the * represents the Sage Accounts user name that created the file. For example, Manager.slc

*.SLC
*.SLI
*.PRC
*.PRI
*.NMC
*.NMI
*.BKC
*.BKI
*.SKC
*.SKI
*.IVC
*.IVI
*.SPC
*.SPI
*.PCC
*.PPI
*.PCI
*.REC
*.REI
*.SAC
*.SAI
*.IPC
*.IPI
*.PDC
*.PDI

### 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:
• Click Help then click About and click Program Details.

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:
• ARCHIVES
• ATTACHMENTS
• BITMAP
• CONFIGS
• CRITERIA
• DEFAULTS
• EXPORTS
• FAX
• IMPORTS
• INVOICES
• JOURNALS
• LABELS
• LAYOUTS
• LETTERS
• MEMO
• REPORTS
• TEMPLATE
• TMail
• VATRTNS
• 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.

### AV process exclusions

Add the following relevant files as process exclusions in your anti virus software:

v25 v24 32 bit [Sage Accounts program directory]\SBDDesktop.exe You can check the program directory in Sage Accounts in Help, About. C:\Program Files\Sage\AccountsServiceV25\sg50svc_v25.exe C:\Program Files\Sage\AccountsServiceV25\sg50CtrlSvc_v25.exe 64 bit [Sage Accounts program directory]\SBDDesktop.exe You can check the program directory in Sage Accounts in Help, About. C:\Program Files (x86)\Sage\AccountsServiceV25\sg50svc_v25.exe C:\Program Files (x86)\Sage\AccountsServiceV25\sg50CtrlSvc_v25.exe 32 bit C:\Program Files\Common Files\Sage SBD\SBDDesktop\v14\SBDDesktop.exe C:\Program Files\Sage\AccountsServiceV24\sg50svc_v24.exe C:\Program Files\Sage\AccountsServiceV24\sg50CtrlSvc_v24.exe 64 bit C:\Program Files (x86)\Common Files\Sage SBD\SBDDesktop\v14\SBDDesktop.exe C:\Program Files (x86)\Sage\AccountsServiceV24\sg50svc_v24.exe C:\Program Files (x86)\Sage\AccountsServiceV24\sg50CtrlSvc_v24.exe 32 bit C:\Program Files\Common Files\Sage SBD\SBDDesktop\v14\SBDDesktop.exe C:\Program Files\Sage\AccountsServiceV23\sg50svc_v23.exe C:\Program Files\Sage\AccountsServiceV23\sg50CtrlSvc_v23.exe 64 bit C:\Program Files (x86)\Common Files\Sage SBD\SBDDesktop\v14\SBDDesktop.exe C:\Program Files (x86)\Sage\AccountsServiceV23\sg50svc_v23.exe C:\Program Files (x86)\Sage\AccountsServiceV23\sg50CtrlSvc_v23.exe 32 bit C:\Program Files\Common Files\Sage SBD\SBDDesktop\v12\SBDDesktop.exe C:\Program Files\Sage\AccountsServiceV22\sg50svc_v22.exe C:\Program Files\Sage\AccountsServiceV22\sg50CtrlSvc_v22.exe 64 bit C:\Program Files (x86)\Common Files\Sage SBD\SBDDesktop\v12\SBDDesktop.exe C:\Program Files (x86)\Sage\AccountsServiceV22\sg50svc_v22.exe C:\Program Files (x86)\Sage\AccountsServiceV22\sg50CtrlSvc_v22.exe 32 bit C:\Program Files\Common Files\Sage SBD\SBDDesktop\v12\SBDDesktop.exe [Sage Accounts program directory]\sg50svc.exe [Sage Accounts program directory]\sg50CtrlSvc.exe 64 bit C:\Program Files (x86)\Common Files\Sage SBD\SBDDesktop\v12\SBDDesktop.exe [Sage Accounts program directory]\sg50svc.exe [Sage Accounts program directory]\sg50CtrlSvc.exe

### URL's used by Sage Drive

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

Sage Drive servers drive.sage.com: 443/HTTPS
Amazon S3 servers s3.amazonaws.com: 443/HTTPS
Sage ID servers signon2.sso.services.sage.com: 443/HTTPS

### Sage 50cloud and 365 integration URLs

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

Cloudflare https://cdnjs.cloudflare.com
https://schemas.sageoverdrive.com
https://graph.microsoft.com
https://activation.sls.microsoft.com (TCP 443)
http://crl.microsoft.com/pki/crl/products/MicrosoftProductSecureCommunicationsPCA.crl (TCP 80)
http://www.microsoft.com/pki/crl/products/MicrosoftProductSecureCommunicationsPCA.crl (TCP 80)
https://ols.officeapps.live.com/olsc (TCP 443)
http://officecdn.microsoft.com (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. Press the Windows key + R then type regedit and click 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 v25 HKEY_LOCAL_MACHINE\Software\ODBC\ODBC.INI\SageLine50v25
Sage 50 Accounts v24 HKEY_LOCAL_MACHINE\Software\ODBC\ODBC.INI\SageLine50v24
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
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:

*.TMP
*.000
*.001
*.002

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:

Avast http://www.avast.com/eng/technical_support.html http://www.avg.com http://www.bitdefender.co.uk/support/how-to-add-exceptions-1163.html http://service.mcafee.com/ http://www.norman.com/Support/en-uk http://www.symantec.com/support/index.jsp http://www.pandasecurity.com/homeusers/support/ http://www.sophos.com/support/

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.