Access to HOSTS file denied error
I recently experienced a problem on 2 of my SharePoint virtual machines where the event log was filling up with an error along the lines of;
Event ID: 6482 – Reason: Access to the path ‘C:\WINDOWS\system32\drivers\etc\HOSTS’ is denied.
I searched for help with little success and ended up restoring one the VMs to a baseline position however, within a day it was reporting the same errors again. This time when I searched for help I came across this post by Christian Vesterkvist and this seems to have solved the problems. I haven’t had a chance to do any meaningful diagnostics but my initial hunch is that it is related to installing SP1.
