Hey @wissiyou – Welcome to the Local Community Forums!
It’s possible that there’s still a setting in Windows Defender that is trying to scan the Hosts file.
You might take a look at this help doc from Microsoft and see if you can exclude the Hosts file from being scanned: