Clean/Delete Infected Files Within Compressed Files

When all agents managed by the server detect virus/malware within compressed files during Manual Scan, Real-time Scan, Scheduled Scan and Scan Now, and the following conditions are met, agents clean or delete the infected files.

  • "Clean" or "Delete" is the action OfficeScan is set to perform. Check the action OfficeScan performs on infected files by going to Agents > Agent Management > Settings > Scan Settings > {Scan Type} > Action tab.

  • You enable this setting. Enabling this setting may increase endpoint resource usage during scanning and scanning may take longer to complete. This is because OfficeScan needs to decompress the compressed file, clean/delete infected files within the compressed file, and then re-compress the file.

  • The compressed file format is supported. OfficeScan only supports certain compressed file formats, including ZIP and Office Open XML, which uses ZIP compression technologies. Office Open XML is the default format for Microsoft Office 2007 applications such as Excel, PowerPoint, and Word.


    Contact your support provider for a complete list of supported compressed file formats.

For example, Real-time Scan is set to delete files infected with a virus. After Real-time Scan decompresses a compressed file named and detects an infected file 123.doc within the compressed file, OfficeScan deletes 123.doc and then re-compresses, which is now safe to access.

The following table describes what happens if any of the conditions is not met.

Table 1. Compressed File Scenarios and Results

Status of "Clean/ Delete infected files within compressed files"

Action OfficeScan is set to perform

Compressed file format



Clean or Delete

Not supported

Example: def.rar contains an infected file 123.doc.

OfficeScan encrypts def.rar but does not clean, delete, or perform any other action on 123.doc.


Clean or Delete

Supported/Not supported

Example: contains an infected file 123.doc.

OfficeScan does not clean, delete, or perform any other action on both and 123.doc.

Enabled/ Disabled

Not Clean or Delete (in other words, any of the following: Rename, Quarantine, Deny Access or Pass)

Supported/Not supported

Example: contains an infected file 123.doc.

OfficeScan performs the configured action (Rename, Quarantine, Deny Access or Pass) on, not 123.doc.

If the action is:

Rename: OfficeScan renames to abc.vir, but does not rename 123.doc.

Quarantine: OfficeScan quarantines (123.doc and all non-infected files are quarantined).

Pass: OfficeScan performs no action on both and 123.doc but logs the virus detection.

Deny Access: OfficeScan denies access to when it is opened (123.doc and all non-infected files cannot be opened).