Advanced system utilities to manage, troubleshoot, and diagnose Windows and Linux systems and applications.
with the python script I can enable the ring buffer and set it to 255 minutes which solves my problem. Procmon creates 1 large file (arround 100 GByte) with all captures I'm locking for.
file_name = "ProcessMonitorPmcFile.pmc"
from procmon_parser import load_configuration, dump_configuration, Rule
with open(file_name, "rb") as f:
config = load_configuration(f)
# Print the entire dictionary
print(config)
config["Columns"] = [600] # Example widths in pixels
config["ColumnCount"] = len(config['Columns'])
config["ColumnMap"] = [40071] # Example column types (adjust as needed)
new_rules = [
Rule('EVENT_CLASS', 'is', 'Registry', 'exclude'),
Rule('EVENT_CLASS', 'is', 'Network', 'exclude'),
Rule('EVENT_CLASS', 'is', 'Process', 'exclude'),
Rule('EVENT_CLASS', 'is', 'Profiling', 'exclude'),
Rule('PATH', 'BEGINS_WITH', 'D:\\SW\\2025\\mma\\S005_SB\\', 'include'),
Rule('OPERATION', 'is', 'CreateFile', 'include')]
config["FilterRules"] = new_rules
config["DestructiveFilter"] = 1
config["FlightRecorder"] = b'\x01\x00\x00\x00'
config["RingBufferMin"] = b'\xFF\x00\x00\x00'
print(config)
with open(file_name, "wb") as f:
dump_configuration(config, f)
from procmon_parser import load_configuration, dump_configuration, Rule
with open(file_name, "rb") as f:
config = load_configuration(f)
print(config["FilterRules"])
print(config["Columns"])
print(config["ColumnCount"])
print(config["ColumnMap"])