Microsoft Power Toys - Windows Defender Exceptions

Discussion in 'other software & services' started by TerryWood, Aug 17, 2025 at 4:17 AM.

  1. TerryWood

    TerryWood Registered Member

    Joined:
    Jan 14, 2006
    Posts:
    1,106
    Hi @ Wilders

    I am unable to edit my hosts file, I think it is a permissions issue even though my account is administrator.
    I have tried https://hostsfileseditorplus.weebly.com/, PowerRun_x64.exe but none of them work.

    Two other options appear to remain, 1) add an exception to defender. 2) powertoys hosts editor.

    In the case of Powertoys it is over a 1gb installation just to get the hosts editor. Does anyone know how to obtain the hosts editor alone?

    Alternatively, how do I add an exception to Windows Defender to stop it blocking the editing of the hosts file?

    Thank you

    Terry
     
  2. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,780
    Location:
    NSW, Australia
    Terry,

    I can edit the hosts file with Notepad. The file is copied to my D: drive and edited there.
    I suggest you try editing the file in a WinPE.
     
  3. TerryWood

    TerryWood Registered Member

    Joined:
    Jan 14, 2006
    Posts:
    1,106
    Hi Brian

    Thanks for your help.

    I can edit the hosts file as you suggest but the problem is when you try to to save to the drivers/etc location to overwrite the existing hosts file it won't do it. Also I can take a copy and put it in a different location and save it with no problem. The issue is overwriting the existing host file?

    Terry
     
  4. TerryWood

    TerryWood Registered Member

    Joined:
    Jan 14, 2006
    Posts:
    1,106
    Hi Brian

    Update

    I did as you suggested and used a a WinPE Flash Drive to edit my hosts file and it worked a treat.

    Thanks again

    Terry
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.