V tem članku so navodila za ponastavitev datoteke z gostitelji na privzeto.
Če želite, da datoteko z gostitelji ponastavimo na privzeto namesto vas, nadaljujte z razdelkom «
Samodejno odpravljanje težave«. Če želite datoteko z gostitelji sami ponastaviti na privzeto, nadaljujte z razdelkom »
Težavo bom odpravil sam«.
Če želite datoteko z gostitelji samodejno ponastaviti na privzeto, kliknite gumb ali povezavo
Odpravljanje težave, nato pa v pogovornem oknu
Prenos datoteke kliknite
Zaženi in sledite navodilom v čarovniku za odpravljanje težave.
Opomba Ta čarovnik je morda na voljo le v angleščini. Vendar samodejno odpravljanje težav deluje tudi v drugih jezikovnih različicah sistema Windows.
Opomba Če ne uporabljate računalnika, v katerem je prišlo do težave, lahko samodejni popravek shranite na pomnilniški ključek ali CD in ga nato zaženete v računalniku, v katerem je prišlo do težave.
Nato nadaljujte z razdelkom »
Ali je težava odpravljena?«.
Če želite ponastaviti datoteko z gostitelji na privzeto, naredite to:
- Kliknite Start, Zaženi, vnesite %systemroot% \system32\drivers\etcin kliknite V redu.
- Preimenujte datoteko z gostitelji v »Hosts.old«.
- Ustvarite novo privzeto datoteko z gostitelji. To naredite tako:
- Z desno tipko miške kliknite prazen prostor v mapi %WinDir%\System32\Drivers\Etc, pokažite na Novo, kliknite Besedilni dokument, vnesite hosts in pritisnite Enter.
- Kliknite Da, da potrdite, da pripona imena datoteke ne bo .txt.
- Odprite novo datoteko z gostitelji v urejevalniku besedila, na primer v Beležnici.
- V datoteko kopirajte to besedilo:
Za sistem Windows XP ali 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: # # 102.54.94.97 rhino.acme.com # source server # 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
Za sistem Windows Vista ali Windows Server 2008# Copyright (c) 1993-2006 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 ::1 localhost
Za sistem Windows 7# Copyright (c) 1993-2006 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
# localhost name resolution is handle within DNS itself. # 127.0.0.1 localhost # ::1 localhost
- Shranite in nato zaprite datoteko.
Preverite, ali ste odpravili težavo. Če ste težavo odpravili, ste končali. Če težave niste odpravili,
se obrnite na podporo
(http://support.microsoft.com/contactus?ln=sl#tab3)
.
ID članka: 972034 - Zadnji pregled: 18. julij 2012 - Revizija: 5.1
Velja za:
- Windows 7 Enterprise
- Windows 7 Home Basic
- Windows 7 Home Premium
- Windows 7 Professional
- Windows 7 Starter
- Windows 7 Ultimate
- Windows Vista Enterprise 64-bit edition
- Windows Vista Home Basic 64-bit edition
- Windows Vista Home Premium 64-bit edition
- Windows Vista Ultimate 64-bit edition
- Windows Vista Business
- Windows Vista Business 64-bit edition
- Windows Vista Enterprise
- Windows Vista Home Basic
- Windows Vista Home Premium
- Windows Vista Starter
- Windows Vista Ultimate
- Microsoft Windows XP Home Edition
- Microsoft Windows XP Professional Edition
- Microsoft Windows Server 2003 Web Edition
- Microsoft Windows Server 2003, Enterprise x64 Edition
- Microsoft Windows Server 2003 Enterprise Edition
- Microsoft Windows Server 2003, Standard x64 Edition
- Microsoft Windows Server 2003
- Windows Server 2008 Datacenter
- Windows Server 2008 Enterprise
- Windows Server 2008 Standard
| kbexpertisebeginner kbsurveynew kbmsifixme kbfixme KB972034 |