I’ve lost the ability to edit the hosts file. I suspect Kaspersky is now blocking it. “You don’t have permission to open this file” Here is sequence of events. Open hosts file as admin with Notepad Add entries to hosts file Save and Close. I noticed problems running ipconfig from the cmd line. When I tried to open hosts file again, I got the following message, “You don’t have permission to open this file” (note, I opened this file 5 minutes prior to this) I noticed a message from kaspersky about a trojan horse in the hosts file. Kaspersky offered to quarantine the file, but not sure I should take this route. I’m pretty sure this is a false positive as the only lines added to hosts file were by me. On a related note, I had a false positive on a file two weeks ago with the same Trojan horse. The sender of file ran several scans and could not find anything wrong. Others who downloaded same file had no problems. I had an online service run a Malwarescan and it turned up nothing. How do I gain access to the hosts file again?