Your issue is different. If the file: C:\Windows\System32\Drivers\zamguard64.sys no longer exists, then the threat has been remediated. What you are seeing is a bug, where Windows Defender flags things because of their presence in detection history.
To resolve the issue, delete the DetectionHistory folder from:
C:\ProgramData\Microsoft\Windows Defender\Scans\History\Service\DetectionHistory
Note:To see the ProgramData folder and subfolders, make sure you are showing hidden files and folders.
- Windows 10: In File Explorer, select the View tab > check (tick) Hidden items
- Windows 11: In File Explorer, select View > Show > check Hidden items
Restart your computer and run a quick scan.