How to edit the HOSTS file of Windows 10 with the default application and third-party application?

  

The host before win10 is very good, although win7/8 is different from winxp, but it is also very good, but many friends do not know how to modify win10's hosts? It doesn't matter, here are two ways to share, one of which is to use the windows system to change directly, and there is a

Windows 10 is available in less than a month, as some people expected, guessed or hoped. Similarly, some things are not as good as everyone planned, at least for the underlying users. Just as Microsoft continues to gather information from Windows computers, some individuals are also looking for ways to evade the information being collected. Since it's black into Windows' core code, trying to remove code that keeps sending data to Microsoft servers is rude, unethical, or perhaps illegal. We need to try some other means to see if we can bypass or block these programs.

One of the easiest ways is to unplug your PC's network cable, or turn off the WiFi adapter; but, let's face it! You can never stay away from the Internet like this.

Another method is to find the host name stored in the Windows map and store the IP address, which is the HOSTS file we often say. If you think this is complicated or risky, then you will be happy to know that there are actually safer methods. Ok, let's not continue to circle, now we have to go straight to the point.

Editing HOSTS files

First, using Windows methods

Windows knows every place you have been on the Internet, and this information is safely stored in the original data. Concentrated, like an IP address. Needless to say, unless you know exactly where it is, you can't know the real domain name of an IP address, which is what the HOSTS file does.

Enter the HOSTS file:

1, simply navigate to the address: C:\\Windows\\system32\\drivers\\etc (directly in the address bar of the file browser) Paste). So, you can immediately see a file with the name of the hosts. It is visible by default, but to prevent you from finding it, go to the View menu and click on the box to hide the file in the menu.

2, (This will start editing) Press the Win+R key combination to enter the run function. Now, write C:\\Windows\\system32\\drivers\\etc\\hosts in Notepad, which will open the HOSTS file directly in Notepad.

3. Press Win+S to search for Notepad. Once the search list appears, right click on it and select Run as administrator. Now go back to the File menu and paste the following in the file name area: C:\\Windows\\system32\\drivers\\etc\\hosts

Important! Don't forget to create a backup copy of the HOSTS file before editing anything inside

This will only take you a few more seconds, because you only need to copy a file to a secure location. It is. Note that you need to use administrator privileges to copy this copy back to its original location.

Good! I actually saw it here, what should I do now?

Now is the time to open the HOSTS file with Notepad. Open the notepad by finding it in the search list and double-clicking on the notepad. But if you just follow steps #2 and #3 here, maybe it doesn't work. Because by default, all websites will not be blocked, there will only be a lot of text text. The following is an example description of the problem.
Copying content to the clipboard




  • As you already know, if you read the text in the HOSTS file, all the things written after # are Just a text description. To block something, you need to go back to the last # place and write:
    Copy content to the clipboard</>CODE


  • 0.0.0.0 www.The-Website -You-Want-To-Block.com #additional comment

    Note: Make sure you only write one URL per line. Also, don't put # at the top

    Disclaimer: In the video example, we blocked the Softpedia website just to tell you exactly how to do it.

    We hope you don't do this (block our homepage) :)

    Tip: You can put # behind the name of the website you want to block, so you can add a comment.

    Important Information: You need to edit the HOSTS file with Notepad with administrator privileges so that you can save your changes in this location. Once you have saved a new file with your added information, the website you entered will no longer be accessible. If you want to access these blocked sites again, just remove them from the list.

    One purpose of this operation is to shield the Windows system from sending your personal data to Microsoft. In addition, you can find these domain names that you need to block in the following article: news.softpedia.com/news/blocking-these-domains-stops-windows-10-from-phoning-home-488630.shtml

    Second, the use of third-party applications

    Because editing HOSTS files is a basic means that can be used to block some specific domain names, developers have developed a simpler and faster way to do The same thing. An example is the following gadget software called HostsMan (you can find the download link for HostsMan here: http://www.softpedia.com/get/Network-Tools/Misc-Networking-Tools/HostsMan.shtml)

    The whole process has been simplified to take only a few seconds. First go download and install this software.

    Step 1: Once the main window appears, if you haven't chosen the default, you should choose to run HostsMan as an administrator.

    Step 2: Go to the Hosts menu and select Open.

    Note: Choosing to open using the Notepad Editor requires you to do the same as described above. But the difference is that the Open option will put the contents of the HOSTS file into the editor that comes with the application.

    Step 3: At the bottom of the menu, press the + (plus) button.

    Step 4: Write down the name of the website you want to block and click Add.

    Note: You don't have to click the Add button for each added website. To add more website names, just write their website address line by line, and click Add when you are done.

    This application is not just an alternative to our first method, it has many other features, you can also do it:

    Select predefined online resources, and these A domain name is a website that was originally thought to contain certain malware and other potentially harmful content;

    cleaning the HOSTS file by looking for a copy, deleting all comments, replacing the IP address, or rearranging the hosts; Br>

    Resolve domain name issues, clean up hidden DNS, and open HOSTS folder for advanced features at command prompt or PowerShell;

    Create multiple HOSTS with just a few mouse clicks A copy of the file and store it securely. This is useful for users who want to create multiple different files that block specific content.

    The two methods described above, Xiaobian Conscience recommend the first one, this is relatively simple, and does not require third-party software. If the first method is invalid, friends can try the second method to ensure Safe and effective.

  • Copyright © Windows knowledge All Rights Reserved