You may need to run custom scans if you are using Windows Defender.
A bug is causing Quick and Full scans to fail after a few seconds. If you have sensitive information that requires daily scans, you can use the Custom scan feature to select the drives or folders that need scanning.
Source: https://www.zdnet.com/article/windows-defender-malware-scans-are-failing-after-a-few-seconds/?ftag=CAD-03-10abf6j