Disable host file locking error

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:

https://support.microsoft.com/en-us/help/2764944/hosts-file-is-detected-as-malware-in-windows-defender