How to edit the Windows Hosts file

Last updated on

Windows 10 and Windows 8

  1. Click on the Start windows icon button to open the menu
  2. Type Notepad
  3. Right-click on Notepad and choose Run as administrator
  4. If you are prompted for an administrator password or for a confirmation, type the password, or click Allow or Yes.
  5. In Notepad, click File and Open, and navigate to the hosts file. It should be in C:\Windows\System32\drivers\etc
  6. If the folder appears blank, you will need to click the file extension dropdown where it says Text Document (*.txt), and change it to All Files (*.*).
  7. Open the file called hosts. In the Hosts file, make the necessary changes and then click Save on the File menu.

Windows Vista and Windows 7

  1. Click Start windows icon,
  2. Click All Programs
  3. Click Accessories
  4. Right-click Notepad, and then click Run as administrator.
  5. If you are prompted for an administrator password or for a confirmation, type the password, or click Allow or Yes.
  6. In Notepad, click File and Open, and navigate to the hosts file. It should be in C:\Windows\System32\drivers\etc
  7. If the folder appears blank, you will need to click the file extension dropdown where it says Text Document (*.txt), and change it to All Files (*.*).
  8. Open the file called hosts. In the Hosts file, make the necessary changes and then click Save on the File menu.

Let me know if this helped. Follow me on Twitter, Facebook and YouTube, or 🍊 buy me a smoothie.

p.s. I increased my AdSense revenue by 200% using AI 🤖. Read my Ezoic review to find out how.

Leave a reply

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