How can the TEMP folder be changed?

The "temp folder", or the "resources folder" is the location where the scanned files are getting written down for the Nodes to scan.

The temporary folder is used to store the following files:

  • EICAR Standard Anti-Virus Test File for engine testing (see https://www.eicar.org/?page_id=3950)

  • all the uploaded files to scan/process

  • all the extracted files during archive handling while scanning/processing a file

  • the file generated with sanitization before being sent back to Core

  • all the update package files sent by Core before processing them (engine and database updates)

It can be changed by configuring a new registry key as follows:

  • For MetaDefender Core v4.6 or higher:

    1. Under HKLM/Software/OPSWAT/Metascan Node/ create a new key named "global",

    2. Under HKLM/Software/OPSWAT/Metascan Node/global/ create a new string value with name "tempdirectory" and insert in the value data the desired path (ex c:\temp),

    3. Restart Metascan Node service,

  • For MetaCefender Core versions lower than v4.6:

    1. Under HKLM/Software/OPSWAT/Metascan Agent/ create a new key named "global",

    2. Under HKLM/Software/OPSWAT/Metascan Agent/global/ create a new string value with name "tempdirectory" and insert in the value data the desired path (ex c:\temp),

    3. Restart Metascan Agent service,

images/download/attachments/38580494/image2019-8-9_12-54-28.png

This article applies to MetaDefender Core v4
This article was last updated on 2019-08-09
VM