hostcruise.blogg.se

Cannot modify hosts file in windows 10
Cannot modify hosts file in windows 10












  1. #Cannot modify hosts file in windows 10 how to#
  2. #Cannot modify hosts file in windows 10 manual#
  3. #Cannot modify hosts file in windows 10 software#

So, head over to the bottom tray and quit the application.

cannot modify hosts file in windows 10

When you close the Hosts File Editor, it is minimized rather than closing. To enable the hosts file back, click again on the same “Disable Hosts File” option. But, with the hosts file editor, I just have to click on “Disable Hosts File” and the blocked websites will be available. Traditionally, I would have to delete or comment every entry in the hosts file. The best thing about the editor is you can enable and disable the website blocking on the go with a mere click of a button. Lastly, click on the Save button to write your changes to the original hosts file. If you leave the checkbox unchecked, the particular entry would be commented in the original hosts file making it ineffective.

cannot modify hosts file in windows 10

Once you are done making entries, make sure you check the checkbox besides them to make the entry active. For example, below are a couple of entries made in the Hosts File Editor. You have the old school Excel cells where you have to enter the IP Address, followed by the website URL and comments(optional). The tool is pretty simple and to the point. There are tons of Host File Editors available on GitHub but the one I prefer is Hosts File Editor. Host File Editor lets you directly edit the hosts file without moving the original file to and fro. To escape the trouble, you can use a Host File Editor.

#Cannot modify hosts file in windows 10 manual#

The problem with the manual method is the complexity of the steps and high chances of rendering the hosts file corrupt. No option of importing hosts files online.Once done, open your preferred web browser, clear cache and now the website will be blocked throughout your system. You will have a pop-up asking for Administrator permissions, just continue with it. Move the file back to the “ C:\Windows\System32\drivers\etc” location.

#Cannot modify hosts file in windows 10 how to#

Read: How to Find Out What DNS Server Am I Using? Since my local system doesn’t have a web server running, I will end up with a “Website not reachable” error message. 127.0.0.1 This line ensures that whenever I enter on any browser on my local system, the connection will be redirected to my own IP Address. For example, if I want to block on my computer, I will attach the following line at the end of the file. For our use-case, in order to block a website, we need to enter the website name prefixed by “127.0.0.1” or “0.0.0.0”. This means the lines are commented and are of no significance. Now, the hosts file has several lines of code which are prefixed by a “#”. You will be presented with an editable format of the hosts file which looks like the following screenshot. Hence, you will see a pop-up asking you to choose an app to open the file.

#Cannot modify hosts file in windows 10 software#

Since the hosts file doesn’t have an extension, Windows doesn’t know which software should be used to open it.

cannot modify hosts file in windows 10

You will need Administrator privileges for this activityĪfter you have moved the hosts file, double click on it. So, we’ll have to move it from the below-mentioned location to the Desktop. Manually editing hosts file is tedious because you cannot directly edit the hosts file in its original location, if you did, you will get an error like ” you don’t have permission to save hosts file windows 10″. Just a heads up, If you are not comfortable with huge lines of code and the idea of editing configuration files, kindly skip to the next method. The conventional way is to manually edit the hosts file and here is how you do it. So generally, there are many ways to edit and create hosts files and many popular hosts file editor in Windows 10.














Cannot modify hosts file in windows 10