
The second part is the resolved domain address of the destination, and finally third part is the comment section, which always started with the hash (#). Consequently, we have access to more and. It has become a more personal activity than ever. Step 2 Paste this line C:WindowsSystem32driversetc and press ENTER. Step 1 On Windows 10 home screen ( Start Menu ) click on Ask me anything circle. In order to be able to edit it you must have Administrator privileges.
#How to modify hosts file in windows 10 how to#
The above statement has three parts, the first part is the IP Address of the host system, by default it is 127.0.0.1, i.e., localhost. Surfing the Internet is an activity that, more than being part of our day to day, is part of our life. This post is a short tutorial about how to edit hosts file in Windows 10 OS.

Open File Explorer by pressing the Windows key (WIN) + E. We aren’t going too deep in this, we know that you are already familiar with the stuff and you just want to know the procedure to modify the host file in Windows 11.Īlso, Read: Windows 11 FAQs Answered, Every Doubts Regarding the New Updateīefore getting to the editing part, let’s discuss a little bit about the data structure in the host file, the file structure looks like the below statement, 127.0.0.1 #test-comment The easiest way to edit the hosts file is to make a copy of it and then replace the original in the ‘etc’ folder. 2.Here you need to locate the hosts file, right-click on it and choose Properties. 1.Navigate to C:WindowsSystem32driversetc.

From Notepad, open the following file: c:\Windows\System32\Drivers\etc\hosts. In the search results, right-click Notepad and select Run as administrator. There could be a number of reasons behind this, like you want to block some website from that particular PC, or unlock a particular port to access some work-related stuff. In order to fix Access denied when editing hosts file error in Windows 10, you need to disable the read-only feature. Can’t edit hosts file in Windows 10 For Windows 10 and 8.
