Re: Host File in the Registry

Tech-Archive recommends: Speed Up your PC by fixing your registry



Ekka wrote:
I believe that is it. Now if I export that file using reg.exe would it give me the contents of the host file? If not any idea on how I would do it by using the registry not windows explorer.

No, that registry key only tells the location of the hosts file. If you want the contents you'll need to open the hosts file at that location (%windir%\system32\drivers\etc\hosts) and read the contents. There is no way to get the contents of a file on the hard drive via the registry editor or reg.exe.
--
Tom Porterfield
.



Relevant Pages

  • Re: Backdoor.Nibu.E.
    ... the registry keys shouldn't revert back ... >>>>The Hosts file is located in the folder: ... >>>>window opens scroll through the list of programs, ... >>>>Checked by AVG anti-virus system ...
    (microsoft.public.windowsxp.general)
  • Re: Internet Explorer unwanted search engine
    ... Let AD-Aware Scan your system for advertising Spyware ... If you use a HOSTS file, ... > nothing in the registry like "search.uk.msn.com". ... Look under C:\Program Files for these folders. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: DNS cache and hosts file ignored
    ... The registry entry and file location are: ... (The registry key type is correct too... ... I have tried copying the hosts file into ...
    (microsoft.public.windowsxp.network_web)
  • Re: Backdoor.Nibu.E.
    ... the registry keys shouldn't revert back unless your system is being ... >>The Hosts file is located in the folder: ... >>window opens scroll through the list of programs, ... > to select and highlight Notepad, ...
    (microsoft.public.windowsxp.general)
  • Backdoor.Nibu.E.
    ... >The Hosts file is located in the folder: ... >window opens scroll through the list of programs, ... >Registry is causing the file to be loaded. ... >>>Checked by AVG anti-virus system ...
    (microsoft.public.windowsxp.general)