Question about Microsoft Windows XP Home Edition

3 Answers

Does any one know where I can find a hosts file editor

I need to get rid of a hosts file. is there a file editor out there somewhere. or some that can help me with that..

Posted by on

  • 17 more comments 
  • raziel334 Apr 21, 2009

    oh sorry, I am using windows xp home.

  • raziel334 Apr 21, 2009

    I know where they are.. but I cant edit them. I have am getting redirected.. and I am trying to fix it

  • raziel334 Apr 21, 2009

    so I try and edit them.. and it wont let me save..

  • raziel334 Apr 21, 2009

    AV software?

  • raziel334 Apr 21, 2009

    ok gotcha. I am an idiot... av. anti virus.. it just tells me that I have the wrong destination file.. which I know I have.. unless.. someone has a simpler way to get rid of a a redirect virus..

  • raziel334 Apr 21, 2009

    I am sorry to make this difficult.. yes I do.. I have fully updated versions of mcaffe, Ad-Aware, and Spy Bot.. ad aware picked it up.. the other two didnt. I keep getting redirected with all of my google searches.. and I would like to fix that.. since ad aware couldnt get rid of it, I was going to do it manually

  • raziel334 Apr 21, 2009

    I use mozilla, does that effect ie add ons?

  • raziel334 Apr 21, 2009

    I hope you are right.. I will let you know thank you for your help

  • raziel334 Apr 22, 2009

    that link you sent me didnt get rid of it.. if found more.. but didnt get rid of the redirector

  • raziel334 Apr 22, 2009

    ok so I ran the malwarebytes program again this afternoon. it didnt pick up anything. but google is still being redirected. and the driver that you had me look for.. isnt there.. any other ideas?

  • raziel334 Apr 22, 2009

    it says that for some reason I was denied write access to the hosts file. if any hijacked domains are in this file hijackthis my not be able to fix this. if this happens you need to edit the hosts file yourself. to do this click start, run, type notepad. c:\windows\system32\drivers\etc\hosts then press enter. find the lines hijackthis reports and delete them. save the as 'hosts' and reboot.

    it also says that my hosts file has invaild linebreaks and hijackthis can not fix that. 01 items will not be displayed.

  • raziel334 Apr 22, 2009

    here is the log it gave me though... but I have to split it up.. since its to big to put hereLogfile of Trend Micro HijackThis v2.0.2
    Scan saved at 2:51:50 PM, on 4/22/2009
    Platform: Windows XP SP3 (WinNT 5.01.2600)
    MSIE: Internet Explorer v7.00 (7.00.6000.16827)
    Boot mode: Normal

    Running processes:
    C:\Program Files\Lavasoft\Ad-Aware\AAWService.exe
    C:\Program Files\Common Files\Apple\Mobile Device Support\bin\AppleMobileDeviceService.exe
    C:\Program Files\Bonjour\mDNSResponder.exe
    C:\Program Files\Java\jre6\bin\jqs.exe
    C:\Program Files\Common Files\LightScribe\LSSrvc.exe
    C:\Program Files\McAfee\MPF\MPFSrv.exe
    C:\Program Files\Viewpoint\Common\ViewpointService.exe
    C:\Program Files\Hewlett-Packard\Shared\hpqwmiex.exe
    C:\Program Files\Viewpoint\Viewpoint Manager\ViewMgr.exe
    C:\Program Files\hpq\HP Wireless Assistant\HP Wireless Assistant.exe
    C:\Program Files\Synaptics\SynTP\SynTPEnh.exe
    C:\Program Files\Common Files\InstallShield\UpdateService\issch.exe
    C:\Program Files\Hp\HP Software Update\HPWuSchd2.exe
    C:\Program Files\Java\jre6\bin\jusched.exe
    C:\Program Files\Lavasoft\Ad-Aware\AAWTray.exe
    C:\Program Files\HP\Digital Imaging\bin\hpqimzone.exe
    C:\Program Files\Mozilla Firefox\firefox.exe
    C:\Documents and Settings\Bridget\Desktop\HiJackThis.exe

    R0 - HKCU\Software\Microsoft\Internet Explorer\Main,Start Page =
    R1 - HKLM\Software\Microsoft\Internet Explorer\Main,Default_Page_URL =
    R1 - HKLM\Software\Microsoft\Internet Explorer\Main,Default_Search_URL =
    R1 - HKLM\Software\Microsoft\Internet Explorer\Main,Search Page =
    R0 - HKLM\Software\Microsoft\Internet Explorer\Main,Start Page =
    R1 - HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings,ProxyOverride = *.local
    R3 - URLSearchHook: Yahoo! Toolbar - {EF99BD32-C1FB-11D2-892F-0090271D4F88} - C:\Program Files\Yahoo!\Companion\Installs\cpn0\yt.dll
    O2 - BHO: &Yahoo! Toolbar Helper - {02478D38-C3F9-4efb-9B51-7695ECA05670} - C:\Program Files\Yahoo!\Companion\Installs\cpn0\yt.dll
    O2 - BHO: AcroIEHlprObj Class - {06849E9F-C8D7-4D59-B87D-784B7D6BE0B3} - C:\Program Files\Adobe\Acrobat 6.0\Reader\ActiveX\AcroIEHelper.dll
    O2 - BHO: Spybot-S&D IE Protection - {53707962-6F74-2D53-2644-206D7942484F} - C:\PROGRA~1\SPYBOT~1\SDHelper.dll
    O2 - BHO: scriptproxy - {7DB2D5A0-7241-4E79-B68D-6309F01C5231} - C:\Program Files\McAfee\VirusScan\scriptsn.dll
    O2 - BHO: (no name) - {7E853D72-626A-48EC-A868-BA8D5E23E045} - (no file)
    O2 - BHO: Windows Live Sign-in Helper - {9030D464-4C02-4ABF-8ECC-5164760863C6} - C:\Program Files\Common Files\Microsoft Shared\Windows Live\WindowsLiveLogin.dll
    O2 - BHO: Google Toolbar Helper - {AA58ED58-01DD-4d91-8333-CF10577473F7} - C:\Program Files\Google\Google Toolbar\GoogleToolbar.dll
    O2 - BHO: Google Toolbar Notifier BHO - {AF69DE43-7D58-4638-B6FA-CE66B5AD205D} - C:\Program Files\Google\GoogleToolbarNotifier\5.1.1309.3572\swg.dll
    O2 - BHO: Windows Live Toolbar Helper - {BDBD1DAD-C946-4A17-ADC1-64B5B4FF55D0} - C:\Program Files\Windows Live Toolbar\msntb.dll
    O2 - BHO: Google Dictionary Compression sdch - {C84D72FE-E17D-4195-BB24-76C02E2E7C4E} - C:\Program Files\Google\Google Toolbar\Component\fastsearch_219B3E1547538286.dll
    O2 - BHO: Java(tm) Plug-In 2 SSV Helper - {DBC80044-A445-435b-BC74-9C25C1C588A9} - C:\Program Files\Java\jre6\bin\jp2ssv.dll
    O2 - BHO: JQSIEStartDetectorImpl - {E7E6F031-17CE-4C07-BC86-EABFE594F69C} - C:\Program Files\Java\jre6\lib\deploy\jqs\ie\jqs_plugin.dll
    O3 - Toolbar: Yahoo! Toolbar - {EF99BD32-C1FB-11D2-892F-0090271D4F88} - C:\Program Files\Yahoo!\Companion\Installs\cpn0\yt.dll
    O3 - Toolbar: Windows Live Toolbar - {BDAD1DAD-C946-4A17-ADC1-64B5B4FF55D0} - C:\Program Files\Windows Live Toolbar\msntb.dll
    O3 - Toolbar: &Google Toolbar - {2318C2B1-4965-11d4-9B18-009027A5CD4F} - C:\Program Files\Google\Google Toolbar\GoogleToolbar.dll
    O4 - HKLM\..\Run: [hpWirelessAssistant] C:\Program Files\hpq\HP Wireless Assistant\HP Wireless Assistant.exe
    O4 - HKLM\..\Run: [SynTPEnh] C:\Program Files\Synaptics\SynTP\SynTPEnh.exe
    O4 - HKLM\..\Run: [ISUSPM Startup] "C:\Program Files\Common Files\InstallShield\UpdateService\isuspm.exe" -startup
    O4 - HKLM\..\Run: [ISUSScheduler] "C:\Program Files\Common Files\InstallShield\UpdateService\issch.exe" -start
    O4 - HKLM\..\Run: [WinPatrol] C:\Program Files\BillP Studios\WinPatrol\winpatrol.exe
    O4 - HKLM\..\Run: [HP Software Update] C:\Program Files\Hp\HP Software Update\HPWuSchd2.exe
    O4 - HKLM\..\Run: [SunJavaUpdateSched] "C:\Program Files\Java\jre6\bin\jusched.exe"
    O4 - HKLM\..\Run: [mcagent_exe] C:\Program Files\\Agent\mcagent.exe /runkey
    O4 - HKLM\..\Run: [Ad-Watch] C:\Program Files\Lavasoft\Ad-Aware\AAWTray.exe
    O4 - HKCU\..\Run: [ctfmon.exe] C:\WINDOWS\system32\ctfmon.exe
    O4 - .DEFAULT User Startup: Vongo Tray.lnk = C:\Program Files\Vongo\Tray.exe (User 'Default user')
    O4 - Global Startup: HP Photosmart Premier Fast Start.lnk = C:\Program Files\Hp\Digital Imaging\bin\hpqthb08.exe
    O8 - Extra context menu item: &Search - ?p=ZKman000
    O8 - Extra context menu item: &Windows Live Search - res://C:\Program Files\Windows Live Toolbar\msntb.dll/search.htm
    O8 - Extra context menu item: E&xport to Microsoft Excel - res://C:\PROGRA~1\MICROS~4\OFFICE11\EXCEL.EXE/3000
    O9 - Extra button: Blog This - {219C3416-8CB2-491a-A3C7-D9FCDDC9D600} - C:\Program Files\Windows Live\Writer\WriterBrowserExtension.dll
    O9 - Extra 'Tools' menuitem: &Blog This in Windows Live Writer - {219C3416-8CB2-491a-A3C7-D9FCDDC9D600} - C:\Program Files\Windows Live\Writer\WriterBrowserExtension.dll
    O9 - Extra button: Create Mobile Favorite - {2EAF5BB1-070F-11D3-9307-00C04FAE2D4F} - C:\PROGRA~1\MI3AA1~1\INetRepl.dll
    O9 - Extra button: (no name) - {2EAF5BB2-070F-11D3-9307-00C04FAE2D4F} - C:\PROGRA~1\MI3AA1~1\INetRepl.dll
    O9 - Extra 'Tools' menuitem: Create Mobile Favorite... - {2EAF5BB2-070F-11D3-9307-00C04FAE2D4F} - C:\PROGRA~1\MI3AA1~1\INetRepl.dll
    O9 - Extra button: SmartShopper - Compare product prices - {3CC3D8FE-F0E0-4dd1-A69A-8C56BCC7BEBF} - C:\WINDOWS\system32\shdocvw.dll
    O9 - Extra button: SmartShopper - Compare travel rates - {3CC3D8FE-F0E0-4dd1-A69A-8C56BCC7BEC0} - C:\WINDOWS\system32\shdocvw.dll
    O9 - Extra button: (no name) - {53F6FCCD-9E22-4d71-86EA-6E43136192AB} - (no file)
    O9 - Extra button: (no name) - {925DAB62-F9AC-4221-806A-057BFB1014AA} - (no file)
    O9 - Extra button: (no name) - {DFB852A3-47F8-48C4-A200-58CAB36FD2A2} - C:\PROGRA~1\SPYBOT~1\SDHelper.dll
    O9 - Extra 'Tools' menuitem: Spybot - Search & Destroy Configuration - {DFB852A3-47F8-48C4-A200-58CAB36FD2A2} - C:\PROGRA~1\SPYBOT~1\SDHelper.dll
    O9 - Extra button: (no name) - {e2e2dd38-d088-4134-82b7-f2ba38496583} - C:\WINDOWS\Network Diagnostic\xpnetdiag.exe
    O9 - Extra 'Tools' menuitem: @xpsp3res.dll,-20001 - {e2e2dd38-d088-4134-82b7-f2ba38496583} - C:\WINDOWS\Network Diagnostic\xpnetdiag.exe
    O9 - Extra button: Messenger - {FB5F1910-F110-11d2-BB9E-00C04F795683} - C:\Program Files\Messenger\msmsgs.exe
    O9 - Extra 'Tools' menuitem: Windows Messenger - {FB5F1910-F110-11d2-BB9E-00C04F795683} - C:\Program Files\Messenger\msmsgs.exe

  • raziel334 Apr 22, 2009

    O16 - DPF: {05D44720-58E3-49E6-BDF6-D00330E511D3} (StagingUI Object) -
    O16 - DPF: {0E5F0222-96B9-11D3-8997-00104BD12D94} (PCPitstop Utility) -
    O16 - DPF: {2E4A92AB-F2C0-456A-9935-B715439790D7} (Setup Class) -
    O16 - DPF: {30528230-99f7-4bb4-88d8-fa1d4f56a2ab} (Installation Support) - C:\Program Files\Yahoo!\Common\Yinsthelper.dll
    O16 - DPF: {3107C2A8-9F0B-4404-A58B-21BD85268FBC} (PogoWebLauncher Control) -
    O16 - DPF: {3BB54395-5982-4788-8AF4-B5388FFDD0D8} (MSN Games – Buddy Invite) -
    O16 - DPF: {48DD0448-9209-4F81-9F6D-D83562940134} (MySpace Uploader Control) -
    O16 - DPF: {5736C456-EA94-4AAC-BB08-917ABDD035B3} (ZonePAChat Object) -
    O16 - DPF: {67DABFBF-D0AB-41FA-9C46-CC0F21721616} (DivXBrowserPlugin Object) -
    O16 - DPF: {80B626D6-BC34-4BCF-B5A1-7149E4FD9CFA} (UnoCtrl Class) -
    O16 - DPF: {9BDF4724-10AA-43D5-BD15-AEA0D2287303} (MSN Games – Texas Holdem Poker) -
    O16 - DPF: {B8BE5E93-A60C-4D26-A2DC-220313175592} (MSN Games - Installer) -
    O16 - DPF: {D0C0F75C-683A-4390-A791-1ACFD5599AB8} (Oberon Flash Game Host) -
    O16 - DPF: {D27CDB6E-AE6D-11CF-96B8-444553540000} (Shockwave Flash Object) -
    O16 - DPF: {DA2AA6CF-5C7A-4B71-BC3B-C771BB369937} (MSN Games – Game Communicator) -
    O16 - DPF: {DF780F87-FF2B-4DF8-92D0-73DB16A1543A} (PopCapLoader Object) -
    O16 - DPF: {FFB3A759-98B1-446F-BDA9-909C6EB18CC7} (PCPitstop Exam) -
    O18 - Filter hijack: text/html - (no CLSID) - (no file)
    O23 - Service: Apple Mobile Device - Apple, Inc. - C:\Program Files\Common Files\Apple\Mobile Device Support\bin\AppleMobileDeviceService.exe
    O23 - Service: Bonjour Service - Apple Inc. - C:\Program Files\Bonjour\mDNSResponder.exe
    O23 - Service: Google Software Updater (gusvc) - Google - C:\Program Files\Google\Common\Google Updater\GoogleUpdaterService.exe
    O23 - Service: hpqwmiex - Hewlett-Packard Development Company, L.P. - C:\Program Files\Hewlett-Packard\Shared\hpqwmiex.exe
    O23 - Service: InstallDriver Table Manager (IDriverT) - Macrovision Corporation - C:\Program Files\Common Files\InstallShield\Driver\11\Intel 32\IDriverT.exe
    O23 - Service: iPod Service - Apple Inc. - C:\Program Files\iPod\bin\iPodService.exe
    O23 - Service: Java Quick Starter (JavaQuickStarterService) - Sun Microsystems, Inc. - C:\Program Files\Java\jre6\bin\jqs.exe
    O23 - Service: Lavasoft Ad-Aware Service - Lavasoft - C:\Program Files\Lavasoft\Ad-Aware\AAWService.exe
    O23 - Service: LightScribeService Direct Disc Labeling Service (LightScribeService) - Hewlett-Packard Company - C:\Program Files\Common Files\LightScribe\LSSrvc.exe
    O23 - Service: McAfee Services (mcmscsvc) - McAfee, Inc. - C:\PROGRA~1\McAfee\MSC\mcmscsvc.exe
    O23 - Service: McAfee Network Agent (McNASvc) - McAfee, Inc. - c:\PROGRA~1\COMMON~1\mcafee\mna\mcnasvc.exe
    O23 - Service: McAfee Proxy Service (McProxy) - McAfee, Inc. - c:\PROGRA~1\COMMON~1\mcafee\mcproxy\mcproxy.exe
    O23 - Service: McAfee Real-time Scanner (McShield) - McAfee, Inc. - C:\PROGRA~1\McAfee\VIRUSS~1\mcshield.exe
    O23 - Service: McAfee SystemGuards (McSysmon) - McAfee, Inc. - C:\PROGRA~1\McAfee\VIRUSS~1\mcsysmon.exe
    O23 - Service: McAfee Personal Firewall Service (MpfService) - McAfee, Inc. - C:\Program Files\McAfee\MPF\MPFSrv.exe
    O23 - Service: Viewpoint Manager Service - Viewpoint Corporation - C:\Program Files\Viewpoint\Common\ViewpointService.exe

    End of file - 12316 bytes

  • raziel334 Apr 22, 2009

    I run it in safe mode and it still says the same thing

  • raziel334 Apr 22, 2009

    most of them are disabled. except for the yahoo one. thats the only one I use..

  • Anonymous Apr 22, 2009

    what about the hosts files it cant read.. do you think it has something to do with that?

  • raziel334 Apr 22, 2009

    what about the hosts files that it cant read.. does it have anything do do with those.. is there anyways I can get rid of them or something?

  • raziel334 Apr 22, 2009

    I am sorry about this.. I am not sure what do do aobut it either.. everything that you gave me I have tried.., I have ran program after program.. but it still redirects on me.. as long as I do websearches.. ya know.. .I am not sure.. I Have tried to wipe it clean. but my windows disk tells me that I have no harddrive in my computer.. so I think my computer is pretty muched screwed.. but I thankl you for all your help

  • Fritzelly May 11, 2010

    What OS are you using?



3 Answers

  • Level 2:

    An expert who has achieved level 2 by getting 100 points


    An expert that got 5 achievements.


    An expert whose answer got voted for 20 times.


    An expert who has answered 20 questions.

  • Expert
  • 123 Answers

Make sure you're logged on as an administrator, the file is in the folder as fdblock said and is just called hosts, you can edit it with notepad

Posted on Apr 21, 2009

  • 12 more comments 
  • Fritzelly Apr 21, 2009

    Are you logged on as an administrator or does your user account have admin rights

  • Fritzelly Apr 21, 2009

    AV software can sometimes have an option to block the file from access so try disabling it til you've done your editing

  • Fritzelly Apr 21, 2009

    Anti Virus

  • Fritzelly Apr 21, 2009

    So you dont have any av installed?

    Try the scanner here and see what happens

  • Fritzelly Apr 21, 2009

    Also check your installed programs from Control Panel and remove anything you dont recognise.

    Check any addons in IE from the tools menu.

  • Fritzelly Apr 21, 2009
  • Fritzelly Apr 22, 2009

    Ok so its a very nasty one then...found this

    Go to Start > Control Panel > System > Hardware > Device Manager > View > Show Hidden Devices.
    Scroll down to “Non-plug and Play Drivers” and click the plus icon to open those drivers.
    Then search for “TDSSserv.sys”
    Right click on it, and select “Disable”
    Note: If you select Uninstall, it will install itself again when you reboot the system, so DON’T select Uninstall.
    Your machine will probably need to be restarted

    Then run malware and virus scan again.

  • Fritzelly Apr 22, 2009

    A difficult one!

    Can you run this program

    and post the results.

  • Fritzelly Apr 22, 2009

    Can you boot into safe mode without internet connection and then run the programs again.

  • Fritzelly Apr 22, 2009

    Lot of toolbars loaded in there, do you use them - yahoo, msn, smartshopper etc? Possibly one of them is the culprit.

    I'm still looking thru the report

  • Fritzelly Apr 22, 2009

    Can't see anything suspicious in the log file, thats not to say something hasn't been hijacked. Have hijackthis fix all the entries with No File associated.

    In safe mode do you still get the redirect happening - check your startup services and programs in MsConfig

  • Fritzelly Apr 22, 2009
  • Fritzelly Apr 22, 2009

    Did you try that last link - its supposed to specific to the Google redirect virus...?

  • Fritzelly Apr 23, 2009

    Sometimes you just need to be at the computer to fix it, else you're just guessing on the problem and what to do.

    What type of hdd is it?

    No need to wipe the disk and lose everything you have on it.

    Just reinstall windows and then transfer everything over and delete the old windows installation.

    I would say be careful about any kind of toolbar that you install though.


  • Level 2:

    An expert who has achieved level 2 by getting 100 points


    An expert that got 5 achievements.

    New Friend:

    An expert that has 1 follower.


    An expert who has answered 20 questions.

  • Expert
  • 51 Answers

It is in c:\windows\system32\drivers\etc (open it in notepad as administrator) Edit The Hosts File On Windows 7 and 8

Posted on Nov 23, 2014

  • Level 2:

    An expert who has achieved level 2 by getting 100 points


    An expert that got 10 achievements.


    An expert that got 5 achievements.

    Vice President:

    An expert whose answer got voted for 100 times.

  • Expert
  • 289 Answers

The hosts file is typically stored in the following folder:


Posted on Apr 21, 2009

1 Suggested Answer

  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%


Complete. Click "Add" to insert your video. Add



Related Questions:

2 Answers

Hi! my comp is nfected with a trojan masquerading as a security tool. it keeps popping dlhost.exe is infected with virus DOS.Jeff.812 this worm is trying to send our credit card details using dlhost.exe...

First try this but be careful:
To remove Trojan, you must first stop any Trojan processes that are running in your computer's memory. To stop all Trojan processes, press CTRL+ALT+DELETE to open the Windows Task Manager. Click on the "Processes" tab, search for Trojan, then right-click it and select "End Process" key.

To delete Trojan registry keys, open the Windows Registry Editor by clicking on the Windows "Start" button and selecting "Run." Type "regedit" into the box and click "OK." Once the Registry Editor is open, search for the registry key "HKEY_LOCAL_MACHINE\Software\Trojan." Right-click this registry key and select "Delete."

Finally, to completely get rid of Trojan, you must manually remove other Trojan files. These Trojan files can be in the form of EXE, DLL, LSP, TOOLBAR, BROWSER HIJACK, and/or BROWSER PLUGIN. For example, Trojan might create a file like
%PROGRAM_FILES%\Trojan\Trojan.exe. Locate and remove these files.


If you can pass to the Windows interface you can run a Trojan remover like this one Trojan Remover at cNET. If not do it manually, instructions HERE

If your OS is Windows go to this link by Microsoft Online Scanner
also this one is a good one from TenMicro HouseCall

Oct 03, 2010 | Intel Computers & Internet


Virtual Server / Port Forwarding does not work from within the Local Network

When you use port forwarding in Virtual Servers and try to test it from within the local network, it may fail. When for example, port 80 is forwarded to a web server in the local network, you may get the router's home page instead of the web server's one or you may get nothing at all. When you try to use the server from outside the local network it will work fine though.

This can happen when you try to access the router's WAN IP address from within the local network. In order for port forwarding to work from within the local network, the router needs to support a feature called NAT loopback. This is not a part of the specification of Belkin routers and modem-routers, so most of them will not have the feature, and if a router does have it, it is not supported.

In order to use the server from within the LAN, you can address it by its internal LAN IP address (e.g.

If the WAN IP address has a DNS host name associated with it, such as, and you need to use that name to connect to the server, you can do so by associating the name to the local IP address in the hosts file (a file called hosts with no extension). This file lists IP addresses and host names and is used before actual DNS lookups are done. You can add lines to the hosts file using a text editor like Notepad on Windows. The lines look like: # comment

The lines contain an IP address and one or more host names separated by white space. Anything that follows a hash sign is a comment and will be ignored. You will need to change the hosts file on all machines in the LAN that need access to the server.

On Windows, the hosts file can be found in C:\Windows\System32\Drivers\Etc on Windows XP, Vista and Windows 7, in C:\WinNT\System32\Drivers\Etc on Windows 2000, and in C:\Windows on Windows 98 and ME. You need to have administrator rights to edit the file; on Windows Vista and Windows 7 you need to run Notepad as administrator.

on May 05, 2010 | Computers & Internet


Internet Security--The Hosts File--

The hosts file can play an important role in your internet security should you choose to use it. Many Windows users have no idea that this file exists, and wouldn't know what to do with it if they did know it exists.

Others have heard of it, and some may have even read an article like this one, explaining the crucial part it can play in securing your PC from accidentally browsing a malicious website, but have no idea how to do it themselves because it wasn't adequately explained to them.
i will attempt to do that now.

What is a host file?
The Hosts file contains addresses and web site names. This file starts when windows does, then Windows checks the Hosts file before it opens any web site, which enables it to stop any web site from loading, that is listed. This changes access back to the local (your) machine. Another feature of the HOSTS file is its ability to block other applications from connecting to the Internet, if they are added to the hosts file.

There is a Simple way to set up your hosts file to block the most well known, and some not so commonly known malicious websites.
The easiest method I know of, is to run SpyBot Search and Destroy.
Whether you want to keep it installed or not doesn't really matter, because once it changes the hosts file by adding the list of bad websites, your host file is pretty well up to date at that time. Though I would suggest updating it at least once a month.

You can also change or add to your hosts file by navigating to:


You will see the hosts file with no extension there.
After all, the hosts file doesn't really need an extension since it is primarily a reference file. Editing the Hosts file is fairly easy since you only need notepad to open it. Remember to keep the lines you add just like the lines above it with the name of the website you want to block as the entry after the IP (internet protocol) address.


This website is now officially redirected back to the address of, which is the address your computer considers Home, or your PC, rather than the IP associated with that websites name.

Now all you need to do is save and close.
If for some reason your file gets named hosts.txt, simply remove the .txt part by renaming it, and you're done.

Also remember that this file will not work unless it is located in the C:windowssystem32driversetc folder.

That's my tip for today!

Happy Cruising!

Please Vote for this Tip if you found it helpful.
Bob S.

on Mar 19, 2010 | Computers & Internet

1 Answer

I am not able to connect to the google sites from my system. I am able to browse all other sites. What should i do?

If you are using windows xp:-

Click Start, click Run, type %systemroot% \system32\drivers\etc, and then click OK.
  1. Rename the hosts file to hosts.bak.
  2. Create the new default hosts file. To do this, follow these steps:
  3. Right-click an open space in the %WinDir%\system32\drivers\etc folder, point to New, click Text Document, type hosts, and then press ENTER.
  4. Click Yes to confirm that the file name extension will not be txt.
  5. Open the new created hosts file in a text editor, for example, in the Notepad.
  6. Copy the following text to the file:
For Windows XP or Windows Server 2003

# Copyright (c) 1993-1999 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

Aug 10, 2010 | Computers & Internet

1 Answer

I am trying to edit a theme in Wordpress. It does not allow me to edit. It directs me to this page. I have already had my host confirm I have...

WordPress contains a built-in editor that allows you to edit Theme files directly from within your browser. It is called the Theme Editor. Access the Theme Editor from the Administration > Design > Theme Editor. To view a file in the Theme Editor, click on the file from the list. More information on editing themes is available at

Jan 30, 2010 | Computers & Internet

2 Answers

Computer question When trying to get to websites I have always gone to a page pops up that says: I delete it and it often...

You should check or use new hosting services, Check experience reviews and consumer opinions to get unbiased recommendations on web hosts.

Dec 28, 2009 | Dell Inspiron 531s Desktop Computer

1 Answer

Why myspace sends me directly to google

if you are using windows XP or Vista, search for a file called "hosts"
it should be inside C:\WINDOWS\system32\drivers\etc

open in using notepad or any text editor
search for
it should be on a line looking like



delete the whole line and save the "hosts" file
reboot your computer
and go enjoy your

Nov 04, 2009 | MySpace Social Network

2 Answers

Browser won't connect to but connects to

Check and search on your computer for a file called "hosts". Open the file with word or a text editor and see if there is a line saying anything about or

The file called "hosts" is a cross reference used by your computer to connect web sites with their underlying IP numeric addresses. If it's odd or been tampered with it's like your speed dials saying "dial mom" but it really dials the local library.

Dec 02, 2008 | Computers & Internet

1 Answer

Edit host file in MAC OS 10.4

You probably don't want to edit the hosts file on OS X 10.whatever. Take a look at my suggestion over here for what to do instead.

Sep 04, 2008 | Computers & Internet

4 Answers

How do I edit the hosts file on a mac

just use this widget ;) 

Jun 04, 2008 | Apple Mac OS X 10.4 Tiger for Mac

Not finding what you are looking for?
Microsoft Windows XP Home Edition Logo

Related Topics:

969 people viewed this question

Ask a Question

Usually answered in minutes!

Top Microsoft Computers & Internet Experts

micky dee

Level 3 Expert

2780 Answers

Piyal Perera
Piyal Perera

Level 3 Expert

528 Answers

Les Dickinson
Les Dickinson

Level 3 Expert

18394 Answers

Are you a Microsoft Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides