How can the TEMP folder be changed?

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

The temporary folder is used to store the following files:

  • EICAR Standard Anti-Virus Test File for engine testing (see http://www.eicar.org/86-0-Intended-use.html)

  • all the uploaded files to scan/process

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

  • file generated with sanitization before 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 in 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,

It can be changed by configuring a new registry key as follows in versions before 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/35217371/image2016-11-2_15_17_46.png

This article applies to MetaDefender Core v4
This article was last updated on 2019-06-28
MM