Sysmon 13.01 Prevent ArchiveDirectory creation and file delete backup

Tommy Myers 21 Reputation points
2021-02-09T00:15:19.653+00:00

Is there a way with Sysmon 13.01 to prevent the creation of the Archive Directory (default is C:\Sysmon) and prevent file deletions from saving the file to the local filesystem?

Sysinternals
Sysinternals
Advanced system utilities to manage, troubleshoot, and diagnose Windows and Linux systems and applications.
1,130 questions
{count} votes

2 answers

Sort by: Most helpful
  1. James 6 Reputation points
    2021-04-13T08:43:43.113+00:00

    I also really want to know this.

    Also, for me, changing <ArchiveDirectory>Sysmon</ArchiveDirectory> makes no difference. Even if I change it to <ArchiveDirectory>DeletedFiles</ArchiveDirectory> or whatever, it still saves to C:\Sysmon. Deleting this line makes no difference either.

    Same with 13.02.


  2. Zafer Balkan 21 Reputation points
    2023-06-04T21:42:14.5133333+00:00

    Currently, the only way to disable is provided by @dstaulcu . However, I would like to propose a new approach though. Instead of disabling it, controlling the size of archive folder also makes it a usable feature. If you like, you can keep the quota so small that it can be considered as "disabling". The method is using WMI filters and consumers to create a Filesystem quota. Check the script here:

    https://gist.github.com/zbalkan/17fbe38864a900a2f1eeac2088c5d49e