1. Home
  2. Windows Tips
  3. Edit restore windows hosts file and block websites host mechanic

Edit & Restore Windows Hosts File And Block Websites With Host Mechanic

Host Mechanic is a portable application to edit, delete and restore the Windows default hosts file. This application makes it easy to add entries to Windows hosts file; you won’t have to navigate to system32/drivers/etc folder every time just to add new domains and change mapped IPs. All you need is to launch the application, enter the domain followed by IP address to add the domain entry to hosts file. Moreover, it lets you restore the Windows hosts file and block websites by mapping them with localhost. For those who aren’t familiar with hosts file, it allows users and authenticated applications to map domains with defined IPs to either block the access or boost the access speed.

To modify the host file, launch Host Mechanic, enter the IP address and the host address. Click Add to Host to insert the mapped entry into Windows hosts file. The Restore Default Host File lets you restore the previously used hosts file. Underneath the restore option, you have Delete Host File option to remove the hosts file.

Host Mechanic - Exclusive AskVG App [Microsoft Windows 7 Ultimate x64]

It must be noted that the hosts file can be vulnerable to malicious attacks due to its role in domain name resolution. Blocking access to servers by redirecting them to the local host i.e., may have security implications. This is because is accessible only by the host system. While host mechanic provides an easy mechanism for editing the host file, you can also check out the manual method for editing the host file  here. Host Mechanic works on Windows XP, Windows Vista, Windows 7 and Windows 8.

Download Host Mechanic


  1. The freeware “HostsMan,” by AbelhaDigital remains the hands-down best tool for managing one’s HOSTS file.  It even contains protections against the very thing mentioned in this article:  The power of malicious HOSTS entries to harm the computer.

    Gregg L. DesElms
    Napa, California USA
    gregg at greggdeselms dot com

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.