Advertisement

There's no such thing as a stupid question, but they're the easiest to answer.
Login
Search

Advertisement

Web & Email Web & Email
Search Search
Search for:
Tech Support Guy > > >

how do I restore original hosts file?


(!)

kirklott's Avatar
kirklott kirklott is offline
Member with 103 posts.
THREAD STARTER
 
Join Date: Oct 2004
Experience: Intermediate
09-Oct-2008, 01:33 PM #1
how do I restore original hosts file?
Greetings.

I downloaded and installed the MVP hosts file, which has been great in reducing spyware, etc.

However, I'm finding it might be interfering with some other functions. How do I restore my hosts file to its original setting (i.e. pre MVP)?

Thanks!
cybertech's Avatar
Moderator with 69,387 posts.
 
Join Date: Apr 2002
Location: USA
09-Oct-2008, 01:45 PM #2
Did you rename the original file or overwrite it?
hewee's Avatar
Computer Specs
Member with 56,135 posts.
 
Join Date: Oct 2001
Location: Sacto. Ca.
09-Oct-2008, 03:28 PM #3
Do you have a hosts file manager?
On the hostsman hosts file manager I have if you go to the backup manager it list the original hosts file that you can restore.

HostsXpert does the same thing and you don't need to install it.
Your see on the left side "restore MS Hosts file.
But it does more so you can disable the hosts file if you need to so you can get to a site that is blocked.
If you went to a site that is blocked and then disabled the site or the hosts file you need to close down your Browser and open it again to be able to go to the site.
__________________
Donating to TSG helps to keep the site going so please do your part and help.
Keep Your Security Software Current at Calendar of Updates
"Work like you don't need the money. Love like you've never been hurt. Dance like nobody's watching."
VistaRookie's Avatar
Computer Specs
Senior Member with 1,956 posts.
 
Join Date: Apr 2008
Location: Outside of Detroit
Experience: Intermediate
09-Oct-2008, 04:13 PM #4
Actually, the default Hosts file is no file at all. A host file that functions has
no extension, just the filename of Hosts.
If you search for hosts.sam (extension stands for sample), that should
still be available.
hewee's Avatar
Computer Specs
Member with 56,135 posts.
 
Join Date: Oct 2001
Location: Sacto. Ca.
09-Oct-2008, 04:24 PM #5
Quote:
Originally Posted by VistaRookie View Post
Actually, the default Hosts file is no file at all. A host file that functions has
no extension, just the filename of Hosts.
If you search for hosts.sam (extension stands for sample), that should
still be available.

Yea the file has this in it if you don't have the hosts.sam.

Quote:
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample LMHOSTS file used by the Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to computernames
# (NetBIOS) names. Each entry should be kept on an individual line.
# The IP address should be placed in the first column followed by the
# corresponding computername. The address and the computername
# should be separated by at least one space or tab. The "#" character
# is generally used to denote the start of a comment (see the exceptions
# below).
#
# This file is compatible with Microsoft LAN Manager 2.x TCP/IP lmhosts
# files and offers the following extensions:
#
# #PRE
# #DOM:<domain>
# #INCLUDE <filename>
# #BEGIN_ALTERNATE
# #END_ALTERNATE
# \0xnn (non-printing character support)
#
# Following any entry in the file with the characters "#PRE" will cause
# the entry to be preloaded into the name cache. By default, entries are
# not preloaded, but are parsed only after dynamic name resolution fails.
#
# Following an entry with the "#DOM:<domain>" tag will associate the
# entry with the domain specified by <domain>. This affects how the
# browser and logon services behave in TCP/IP environments. To preload
# the host name associated with #DOM entry, it is necessary to also add a
# #PRE to the line. The <domain> is always preloaded although it will not
# be shown when the name cache is viewed.
#
# Specifying "#INCLUDE <filename>" will force the RFC NetBIOS (NBT)
# software to seek the specified <filename> and parse it as if it were
# local. <filename> is generally a UNC-based name, allowing a
# centralized lmhosts file to be maintained on a server.
# It is ALWAYS necessary to provide a mapping for the IP address of the
# server prior to the #INCLUDE. This mapping must use the #PRE directive.
# In addtion the share "public" in the example below must be in the
# LanManServer list of "NullSessionShares" in order for client machines to
# be able to read the lmhosts file successfully. This key is under
# \machine\system\currentcontrolset\services\lanmanserver\parameters\nullsess ionshares
# in the registry. Simply add "public" to the list found there.
#
# The #BEGIN_ and #END_ALTERNATE keywords allow multiple #INCLUDE
# statements to be grouped together. Any single successful include
# will cause the group to succeed.
#
# Finally, non-printing characters can be embedded in mappings by
# first surrounding the NetBIOS name in quotations, then using the
# \0xnn notation to specify a hex value for a non-printing character.
#
# The following example illustrates all of these extensions:
#
# 102.54.94.97 rhino #PRE #DOM:networking #net group's DC
# 102.54.94.102 "appname \0x14" #special app server
# 102.54.94.123 popular #PRE #source server
# 102.54.94.117 localsrv #PRE #needed for the include
#
# #BEGIN_ALTERNATE
# #INCLUDE \\localsrv\public\lmhosts
# #INCLUDE \\rhino\public\lmhosts
# #END_ALTERNATE
#
# In the above example, the "appname" server contains a special
# character in its name, the "popular" and "localsrv" server names are
# preloaded, and the "rhino" server name is specified so it can be used
# to later #INCLUDE a centrally maintained lmhosts file if the "localsrv"
# system is unavailable.
#
# Note that the whole file is parsed including comments on each lookup,
# so keeping the number of comments to a minimum will improve performance.
# Therefore it is not advisable to simply add lmhosts file entries onto the
# end of this file.
Hostsman has this as the original hosts file.

Quote:
# 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:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

127.0.0.1 localhost
As Seen On

BBC, Reader's Digest, PC Magazine, Today Show, Money Magazine
WELCOME TO TECH SUPPORT GUY!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.


(clock)
THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


WELCOME
You Are Using: Server ID
Trusted Website Back to the Top ↑

Content Relevant URLs by vBSEO 3.3.2