we are chasing this error for a while now (#04581607).
Code: Select all
Error: boost::filesystem::remove: The directory is not empty: "C:\windows\TEMP\{ffecfddb-e365-42ac-806e-58c1b974b14d}\"
Agent failed to process method {FileSystem.DirectoryRemove}.
Veeam Support suspected Antivirus (in our case Kaspersky) from the beginning, with procmon we could now prove that AV is scanning this directory. This is expected because there is no exclude for this as this directory is not listed in KB article https://www.veeam.com/kb1999. But even if it would be on the list, due to our security policy it would no be allowed to exclude the whole C:\Windows\Temp\ dir as this is a very critical location used by different applications and is a possible destination for malware. As the Veeam subdirectory names are random like C:\windows\TEMP\{ffecfddb-e365-42ac-806e-58c1b974b14d} it is also not possible to add those to excludes. There are already other Veeam directories like c:\windows\temp\VeeamBackup and c:\windows\temp\VeeamBackupTemp.
My request: please make this ctk file directory configurable, or at least use some directory that could be easily be excluded from AV (like the two mentioned above). A lot of applications are using C:\windows\temp, most of them use a dedicated easy to exclude subdirectory. According to Microsoft this is also best practice.