Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Examples and how to

Cleaning infected files from a document vault

Last updated on 31 December 2020 · 2 min read

Admin
M-Files Admin

Overview

Note! This article discusses anti-virus software impact on M-Files Server-side functionality only (although instructions in user guide linked below include also client computer side guidance).
In general, it is recommended to follow these instructions with regards of M-Files and virus scanning. However, there has been cases where the antimalware checks have not been enabled and guidance to exclude vault data location from virus scanning has not been followed on the M-Files application server.
In such case, because antimalware checks are not enabled, it's possible that users can save infected files to M-Files. When this happens, anti-virus software will quarantine the infected files in the vault data location on the server. This, in turn, will mean that the vault data files become unavailable from M-Files Server software point of view, which will cause problems e.g. when indexing vault data and may prevent making backups.
In server computer's Windows Application Event Logs there will be errors like "The system cannot find the file specified. (0x80070002)", "Access is denied. (0x80070005)" and/or "Access to <path to .bin file under vault data location> was denied. (0x80048005)" from M-Files indexing and/or from backup jobs.

Solution

Note! This assumes that all data of the infected files can be discarded. They will be permanently destroyed and will be not recoverable after this.
You can clean the infected files from the vault and fix the issues with indexing and backups this way:
  • Scan the vault data location on the server (against generic guidance) manually with your anti-virus software to make sure all the infected files are quarantined.
  • Run the Verify and Repair (Quick) maintenance operation for the vault in M-Files Admin. This will produce a list of errors due to missing (quarantined files) and this list will point out the related document objects in the vault. Save the list (don't perform automatic fixes if Verify and Repair suggests those).
  • Find the listed objects in the vault via M-Files Desktop (those that have an error due to missing file but note that Verify and Repair may have returned also errors for other reasons) and make sure that they are such infected ones that can be permanently destroyed. Then destroy them permanently.
  • Optionally: Run Verify and Repair again and check that missing files are no longer reported. If there are other errors, you may try automatic fixes or contact M-Files Support.

Still need help?

On this page