The simplest way to read and open Host file on Windows XP/7/8/10

The Host file plays an important role in controlling network connections on your computer. You can use the Host file to block websites, redirect domains, or fix access errors. Here are instructions for opening the Host file on Windows XP/7/8/10.

Instructions for opening the hosts file

Step 1: Find the folder containing the host file on the computer system. (For Windows XP and Windows 8,8.1 operating systems, you do the same)

Method 1 : Go to the Windows installation drive (default is drive C:). Then find the etc folder path, this folder contains the host file: "C:WindowsSystem32driversetc"

The simplest way to read and open Host file on Windows XP/7/8/10 Picture 1

Method 2 : Go to the Start menu in the lower right corner of the screen, enter the path C:WindowsSystem32driversetc in the Search program and files box. The etc folder will immediately appear, just click on it.

The simplest way to read and open Host file on Windows XP/7/8/10 Picture 2

Step 2: Right-click on the host file and select Open . The Open with dialog box appears, select the application to open the host file (here select open as notepad) and finally click OK .

The simplest way to read and open Host file on Windows XP/7/8/10 Picture 3

The opened hosts file has the form.

The simplest way to read and open Host file on Windows XP/7/8/10 Picture 4


Host file blocks sending malicious code via Facebook messages

To block sending malicious code via Facebook messages, add the following 2 lines to the hosts file on your computer.

127.0.0.1 ojoku.bigih.bid
127.0.0.1 plugin.ojoku.bigih.bid

Some errors when editing host file

- Cannot save the file after editing because the account is not Admin. See instructions for fixing the error of not being able to save the host file on the computer
- Some anti-virus software prevents editing the host file.

How to fix:

- Open the host file with an Administrator account.
- Turn off the anti-virus software to make editing easier.

With a few simple steps, you can read, open files on Windows to edit or add command lines to block websites, redirect domains or optimize network connections. If you encounter an error that prevents you from saving the file after editing, try temporarily disabling your antivirus software or opening Notepad with Administrator rights for easier manipulation.

3.5 ★ | 2 Vote

May be interested

  • How to open and view .EML files on Windows 7, 8 and 10?How to open and view .EML files on Windows 7, 8 and 10?
    eml files are stored on mailboxes created (or saved) using microsoft outlook express. if you just changed your old windows xp computer (with outlook express installed) with a new windows 10, 8 or windows 7 computer. you will then discover that you cannot open and view the eml file.
  • How to open and read the .DAT file?How to open and read the .DAT file?
    file creation programs must have an extension for the file. however, in some cases a program will not do so and simply provide the .dat extension for the file only. technically this doesn't hurt files, but opening the file is a bit more difficult because your windows computer won't know how to open the .dat file.
  • What is a DAT file? How to open DAT files, How to read DAT files on Windows and Macbook computersWhat is a DAT file? How to open DAT files, How to read DAT files on Windows and Macbook computers
    the article provides information about the .dat file. typical examples of .dat files, how to recognize .dat files and how to read and open files on a computer. let's see it now!
  • What is a PRC file? How to open PRC file?What is a PRC file?  How to open PRC file?
    many people wonder if they often encounter files with a prc extension but do not know what file it is, how to read it? today, tipsmake.com will provide information about prc files for you.
  • How to Fix JPG file cannot be opened error in Windows 10How to Fix JPG file cannot be opened error in Windows 10
    outdated windows versions, corrupted file systems, or third-party application conflicts may prevent you from opening jpg files.
  • How to open, run the .jar file on a Windows computer?How to open, run the .jar file on a Windows computer?
    to open a .jar file on a windows computer you will have to install the java runtime environment (jre). alternatively, you can use decompression software to view the files attached to the .jar file. if you want to find out more about the steps to run the .jar file and see the files attached in the .jar file, please refer to the following article of network administrator.
  • What is an XML file and how to open it?What is an XML file and how to open it?
    the file with the .xml extension is the extensible markup language file (xml). this is really just plain text files that use custom tags to describe the structure and other features of the document.
  • What is WMV file? How to open, edit and convert WMV filesWhat is WMV file?  How to open, edit and convert WMV files
    wmv is an abbreviation for windows media video - a compressed video format developed by microsoft.
  • How to Edit Host File on Win 10, 7 Fastest 2024How to Edit Host File on Win 10, 7 Fastest 2024
    you already know all the uses and how to edit the host file on win 10, 7 simply, please refer to hoang ha pc's article!
  • Read - Write File in CRead - Write File in C
    the previous chapter explained the standard input and output devices handled by the c language. in this chapter we will see how programmers create, open and close text files or binary files with data. storage.