Windows, Windows 10 Tutorial

How To Edit Hosts File In Windows 10 (2021)? Very Easy Method

This tutorial teaches you How to edit Hosts file in Windows 10? Follow this guide on editing Windows 10 hosts file till the end to avoid time waste.

Microsoft has made editing or modifying Hosts file in Windows 8 and Windows 10 a little bit difficult to protect Windows users against malware attacks.

This is why, Most Windows 10 users, Who want to add their desired code to the Windows 10 hosts file, cannot edit the hosts file in Windows 10.

Like other Windows 10 users, After having installed Windows 10, It troubled me a lot. After some research, We found the main reason behind this problem.

And We will share the solution in this tutorial on How to edit or modify the hosts file in Windows 10.

Let’s get started

Why I Can’t Edit Windows 10 Hosts File?

The main reason which does not let you edit the hosts file in Windows 10 is Windows built-in antivirus or antimalware.

As well as a third-party antivirus also does not let you edit the hosts file. Therefore We’ll have to entirely disable any installed third-party antivirus software or You can also exclude Windows hosts file from being monitored If your installed antivirus program allows.

Fortunately, Windows Defender puts this feature at your disposal.

Watch The Video-Tutorial
How To Edit Hosts File In Windows 10? Very Easy Method To Modify Hosts File In Windows 10?
Watch this video on YouTube.

How To Exclude Hosts File In Windows Defender?

To exclude hosts file in Windows defender. Click on the start menu and then search for Windows defender.

This search will bring up Windows Defender. Click on it.

Click on the setting icon.

Scroll down until you find Exclusion.

Click add an exclusion.

Click Exclude a file.

Here you need to locate the host file’s location in Windows 10.

Go to drive C or where your copy of Windows 10 is installed.

Open Windows folder.

Click System32

Here you need to search for a folder named Driver.

Here you’ll find the hosts file in the folder etc. Mark the hosts file and click exclude this file.

Congratulations, You’ve successfully excluded it from being monitored and now It can be edited. You can execute the same process with any third-party antivirus.

In case, Your antivirus does not provide with exclusion option, As most of the freeware antivirus programs don’t offer, You can simply disable your antivirus for a while.

Suggested – How To Upgrade From Windows 7 To Windows 10?

How To Find Host File In Windows 10?

Now a little bit about how to find the hosts file in Windows 10?

Go to C drive or where you have installed Windows.

Then Windows folder.

Click System32.

Here you need to search for a folder named Driver.

Here you’ll find the hosts file in the folder etc.

Double click on it and open it with Notepad.

Now You can edit the hosts file in Windows 10.

Suggested – Best And Free Slideshow Software

Final Words

We do hope today’s this tutorial on How to edit or modify hosts file in Windows 10 has been helping and useful for Windows 10 users.

You are more than welcome to let me know if We could not explain anything properly or if you run into any problems using the comment section. We will try to help you solve your problem.

Please stay tuned, stay blessed, and don’t forget to like, subscribe, and comment.

Leave a Reply

Your email address will not be published.