This article explains how to remove system file protection from hosts file on your computer. This may be required after a virus has infected a computer.
STEPS
Browse to the hosts file (C:\windows\system32\drivers\etc)
Right click on the hosts file, go into Security and Take Ownership
Re-open the security options and grant administrators Full Control
Open a command prompt and change to the location of the hosts file (cd/dC:\windows\system32\drivers\etc)
Type the following command into the command prompt to enable the hosts file to be edited again attrib-r-a-h-s hosts
IT’S TIME TO UPGRADE YOUR IT PROVIDER. WE WORK WITH BUSINESSES THAT ARE COMMITTED TO RISING TO THE NEXT LEVEL. IS THIS YOU?
Copyright Ⓒ 2023 Myrtec All Rights Reserved