How does Win10 check if the Hosts file has been tampered with

  

When we use some security software, we occasionally encounter a risk warning that the Hosts file has been tampered with. In fact, to check whether the Hosts file has been tampered with, directly through the command prompt. Let's take a look at how to operate under Win10.

Operation steps

Open a command prompt window, do not use the administrator, enter "ld localhost" and press Enter. If there is a normal reply message like the picture below, the hosts The file has not been tampered with, otherwise you need to be alert!

Tips: Win8 and Win10 system press Win+X key combination, you can open the command prompt in the pop-up hidden menu!

Some Win10 users cannot save after modifying the Hosts file. If the method of using the desktop change cannot be successful, then it should be solved by adding account permissions.

Copyright © Windows knowledge All Rights Reserved