Cannot use search engines

March 3, 2011 at 21:41:26
Specs: Windows 7
My has Windows 7 and Internet Explorer 8. I believe I was infected with a virus that corrupted my hosts file. I am a novice but a co-worker directed me on how to find it. I can open it with Notepad and it looks like there is a lot of code that was added. It is listed as a System File. I would like to edit this file but and delete the bad code but when I try to save the file after editing, I get a message that I need to contact my Adminsitrator to change the file. I checked my account and I am set up as an administrator. Can anyone help me on how to edit the file. Not being able to access Google or Bing is very frustrating.

See More: Cannot use search engines

Report •

March 3, 2011 at 22:28:46
The link below will provide you with a custom hosts file which contains a comprehensive list of malicious sites that will be blocked with the hosts file:

MVPS is reputable. If you follow the instructions with the bat file they provide, it will automatically update your hosts file for you.

Alternatively, if you want the default hosts file you can open the hosts file with Notepad then overwrite the text they provide with the text between but not including the ***************** and save. You don't need admin privileges to do this part:


# Copyright (c) 1993-2009 Microsoft Corp.
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
# For example:
# # source server
# # x client host

# localhost name resolution is handled within DNS itself.
# localhost
# ::1 localhost


Then run the bat file as administrator.

If the nasty piece of software that altered your hosts file is still resident on your pc this fix might only be temporary, you will need to locate and eliminate the malware.

Report •
Related Solutions

Ask Question