Editing the hosts file in Windows 10 and Windows 11 can be done using a text editor like Notepad. However, since the hosts file is a system file, you will need to run Notepad as an administrator to make changes. Here are the steps on how to do it:
Windows 10:
- Open Notepad.
- Right-click on the Notepad icon in the taskbar and select "Run as administrator."
- In the Notepad window, click on the "File" menu and select "Open."
- Navigate to the following location: C:\Windows\System32\drivers\etc
- Select the "hosts" file and click on the "Open" button.
- Make the desired changes to the hosts file.
- Click on the "File" menu and select "Save."
Windows 11:
- Open Notepad.
- Click on the file menu and select "Open with".
- Select "Notepad (Administrator)" from the list of apps.
- In the Notepad window, click on the "File" menu and select "Open."
- Navigate to the following location: C:\Windows\System32\drivers\etc
- Select the "hosts" file and click on the "Open" button.
- Make the desired changes to the hosts file.
- Click on the "File" menu and select "Save."
Here are some additional tips for editing the hosts file:
- Make sure to back up the hosts file before making any changes.
- Be careful not to make any mistakes when editing the hosts file, as this could cause problems with your internet connection.
- If you are not comfortable editing the hosts file yourself, you can use a third-party tool like Hosts Editor.
I hope this helps!
Comments
Post a Comment