Skip to main content
Code42 Support

Best practices for Code42 and antivirus

Available in:

Small Business
Applies to:


In most cases, you can back up devices in your Code42 environment and protect your devices with antivirus software without any issues. However, some antivirus programs have specific requirements for optimal behavior. This article describes our best-practice recommendations for best performance with both Code42 for Enterprise and your antivirus software.

Best practices for Code42 for Enterprise and antivirus

Code42 for Enterprise can work alongside most antivirus programs without any problems. However, certain software configurations can cause Code42 for Enterprise and an antivirus program to compete for locked files or system resources. As a result, we recommend configuring your antivirus program to exempt Code42 for Enterprise's data folders and runtime processes.

Ignoring the data folders and runtime processes is not a significant security concern. Code42 for Enterprise backs up your existing files, but only creates two types of files:

  • backup archives
  • cache files, used in processing backups

Backup archives and antivirus

The contents of backup archives are compressed and encrypted. Even if a backup archive contains a malicious file, antivirus software cannot inspect the contents of an archive. Furthermore, malicious files cannot activate or spread while in a compressed and encrypted form.

Most importantly, backup archives only contain data that is already stored elsewhere. To detect malicious files, scan the source, not the backup archive.

Cache files and antivirus

The cache files are benign records of Code42 for Enterprise operations. They only contain information about Code42 for Enterprise activity, and therefore they can be ignored by antivirus scans.

Configure Code42 for Enterprise and antivirus programs

We recommend configuring both Code42 for Enterprise and your antivirus program to avoid potential unwanted interactions with each other.

Non-Code42 products
​Information about products from other manufacturers is intended as a resource to help you get the most out of Code42 products. However, our Customer Champions cannot provide direct assistance for these products. For assistance with products not developed by Code42, contact the product's manufacturer.

Configure your antivirus program to exclude Code42 for Enterprise

Per-folder programs

Some antivirus programs operate by scanning folders. For antivirus programs that work on a per-folder basis, we recommend excluding these folders from live scans:

  • Code42 for Enterprise's app data folder
  • The Code42 for Enterprise application folder
  • Code42 for Enterprise logs
  • Code42 for Enterprise archive folders (destinations where archives are stored)

See File & Folder Hierarchy for the default locations of these folders on all supported operating systems.

Per-process programs

Some antivirus programs operate by monitoring the processes running on your device. For antivirus programs that work on a per-process basis, we recommend configuring the antivirus program to allow the Code42 service (sometimes called adding an exception). The steps for allowing the Code42 service vary by program, so consult your antivirus documentation for details.

Configure Code42 for Enterprise to exclude your antivirus program

As antivirus programs scan your device, they create cache files. Depending on your file selection, Code42 for Enterprise may attempt to back up these cache files. We recommend excluding antivirus caches from your file selection for several reasons:

  • The need to restore these cache files is very unlikely.
  • Antivirus programs may attempt to scan Code42 for Enterprise's cache files of the antivirus cache, causing an endless loop.

To exclude your antivirus cache from your backup:

  1. Consult your antivirus program's documentation to find the antivirus cache location.
  2. Sign in to your administration console.
  3. Go to Settings > Device Backup > Backup.
  4. Use the File Selection settings to exclude the antivirus cache location for all devices in your Code42 environment.