Open Marocco2 opened 2 years ago
Seems like corruption takes place when you're going to compress ProgramData\Microsoft\Windows Defender
Restore Defender logging functionality is a mess. I would suggest add this path to blacklist
Found the culprit: compressing C:\ProgramData\Microsoft\Windows Defender\Scans\mpenginedb.db would lead into corruption of history log
Given I'm gaining exclusive locks on these files I'm surprised embedded db libraries continue to have issues. Perhaps I should also be setting share_mode.
Either way I'm going to add .db, .db-shm, and .db-wal to the default excluded file types.
After a restart, Windows Defender history will appear blank and non functional. I did recover this in the past but I don't remember the exact steps and what files are involved.
I'll update the issue if I will find a solution