Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.


Hosts File Problems

  • Please log in to reply
3 replies to this topic

#1 zopa


  • Members
  • 3 posts
  • Local time:07:53 PM

Posted 01 May 2013 - 01:05 AM

Mod Edit:  Split from http://www.bleepingcomputer.com/forums/t/382389/cant-access-some-websites/ j- Hamluis.




I deleted my hosts file due to my computer (Windows 7) having signs of malware and virus infections.  From then, the computer would not allow me to paste in another hosts file saying that there's already a file of the same name and that I need permission from etc folder.  I followed every step from forums/t/382389/cant-access-some-websites/ but still nothing worked.  


Here's what I've attempted:


1.  I used Notepad (through running as administrator) to create a hosts file in safe mode but the computer would only allow me to save it as a text file.  And if I tried to change the name with quotes ("hosts") in save as file type All files, there would be two messages saying:

hosts already exists.  Do you want to replace it?

host, This file is set to read-only.  Try again with a different file name.


2.  Ran as administrator on mvps.bat with a blue message window that says:

The system cannot find the file specified.  Access denied.


3.  I tried Hostxpert and two warning messages that says:

Your hosts file is marked as a "system file" and can NOT be manipulated.  Press OK to remove the system file attribute, CANCEL to Quit.


4.  Ran cmd window using Dos Prompt and came up with:

A SHR C:\WINDOWS\system32\drivers\etc\hosts


5.  Ran hosts-perm.bat.  A cmd window quick pops up and disappears.  I then ran Hostxpert and the backup/restore button still can not be clicked.


Thanks for any advice.

Edited by zopa, 01 May 2013 - 11:01 AM.
Moved from XP to Am I Infected, PM sent new OP - Hamluis.

BC AdBot (Login to Remove)


#2 Broni


    The Coolest BC Computer

  • BC Advisor
  • 42,738 posts
  • Gender:Male
  • Location:Daly City, CA
  • Local time:07:53 PM

Posted 01 May 2013 - 09:07 PM

Welcome aboard p22002758.gif


p22002970.gif Download Security Check from here or here and save it to your Desktop.

  • Double-click SecurityCheck.exe
  • Follow the onscreen instructions inside of the black box.
  • A Notepad document should open automatically called checkup.txt; please post the contents of that document.

NOTE 1. If one of your security applications (e.g., third-party firewall) requests permission to allow DIG.EXE access the Internet, allow it to do so.
NOTE 2 SecurityCheck may produce some false warning(s), so leave the results reading to me.

p22002970.gif Please download Farbar Service Scanner (FSS) and run it on the computer with the issue.
  • Make sure the following options are checked:
    • Internet Services
    • Windows Firewall
    • System Restore
    • Security Center/Action Center
    • Windows Update
    • Windows Defender
    • Other Services
  • Press "Scan".
  • It will create a log (FSS.txt) in the same directory the tool is run.
  • Please copy and paste the log to your reply.

p22002970.gif Please download MiniToolBox and run it.

Checkmark following boxes:
  • Report IE Proxy Settings
  • Report FF Proxy Settings
  • List content of Hosts
  • List IP configuration
  • List Winsock Entries
  • List last 10 Event Viewer log
  • List Installed Programs
  • List Devices (do NOT change any settings here)
  • List Users, Partitions and Memory size

Click Go and post the result.

p22002970.gif Download Malwarebytes' Anti-Malware (aka MBAM): https://www.bleepingcomputer.com/download/malwarebytes-anti-malware/ to your desktop.

* Double-click mbam-setup.exe and follow the prompts to install the program.
* At the end, be sure a checkmark is placed next to Update Malwarebytes' Anti-Malware and Launch Malwarebytes' Anti-Malware, then click Finish.
* If an update is found, it will download and install the latest version.
* Once the program has loaded, select Perform quick scan, then click Scan.
* When the scan is complete, click OK, then Show Results to view the results.
* Be sure that everything is checked, and click Remove Selected.
* When completed, a log will open in Notepad.
* Post the log back here.

Be sure to restart the computer.

The log can also be found here:
C:\Documents and Settings\Username\Application Data\Malwarebytes\Malwarebytes' Anti-Malware\Logs\log-date.txt
Or at C:\Program Files\Malwarebytes' Anti-Malware\Logs\log-date.txt

p22002970.gifDownload Malwarebytes Anti-Rootkit from HERE to your Desktop.
  • Unzip downloaded file.
  • Open the folder where the contents were unzipped and run mbar.exe
  • Follow the instructions in the wizard to update and allow the program to scan your computer for threats.
  • DO NOT click on the Cleanup button. Simply exit the program.
  • When done, please post the two logs produced they will be in the MBAR folder..... mbar-log-xxxxx.txt and system-log.txt

p22002970.gif NOTE. Make sure all logs are pasted not attached.

My Website

My help doesn't cost a penny, but if you'd like to consider a donation, click DONATE


#3 zopa

  • Topic Starter

  • Members
  • 3 posts
  • Local time:07:53 PM

Posted 03 May 2013 - 11:46 AM

Thanks Broni for such a quick reply!  I will go ahead and follow your instructions.

Regarding the hosts file problem that I wrote in my first message, I resolved the issue by applying the above mentioned methods in safe mode.


Thanks Bleeping Computer!!

Edited by zopa, 03 May 2013 - 04:40 PM.

#4 Broni


    The Coolest BC Computer

  • BC Advisor
  • 42,738 posts
  • Gender:Male
  • Location:Daly City, CA
  • Local time:07:53 PM

Posted 03 May 2013 - 03:17 PM


My Website

My help doesn't cost a penny, but if you'd like to consider a donation, click DONATE


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users