Cannot edit or overwrite in explorer hosts file, even as admin

6,160

The hosts file may be protected by Antivirus or other security software, check for that and temporarily disable it prior to making your changes.

Alternately, this has worked for me in similar circumstances: Open the Windows Explorer with 'Run as Administrator' (ctrl right-click ...) then in the ..\etc\ folder create a file 'new_hosts' as you wish it to be, rename 'hosts' to 'old_hosts' then rename new_hosts to hosts, restart the network service or reboot.

Share:
6,160

Related videos on Youtube

Pat Bell
Author by

Pat Bell

Updated on September 18, 2022

Comments

  • Pat Bell
    Pat Bell almost 2 years

    I have followed all the options I can find here. Opened hosts as administrator but cannot save 'in use by another process'. Saved in \temp as 'hosts'. Run explorer as administrator copying over ...drivers\ec\hosts - gives need permission error. (Windows 7 Home 64)