Hosts-tiedoston palauttaminen oletusarvoiksi Windows 10/8/7: ssä

Sisällysluettelo:

Hosts-tiedoston palauttaminen oletusarvoiksi Windows 10/8/7: ssä
Hosts-tiedoston palauttaminen oletusarvoiksi Windows 10/8/7: ssä
Anonim

Hosts-tiedosto Windowsissa, käytetään isäntien nimeämiseen IP-osoitteisiin. Jos jostain syystä havaitset, että Hosts-tiedosto on vaarantunut ja että joitain haitallisia merkintöjä on lisätty, voit palauttaa Hosts-tiedoston oletusarvoiksi, jos haluat.

Image
Image

Reset Hosts -tiedosto Windows 10/8/7: ssä

Hosts-tiedosto Windows 10/8/7: ssä sijaitsee seuraavassa osoitteessa:

C:WindowsSystem32driversetc

Jos haluat nollata Hosts-tiedoston, avaa File Explorer, kirjoita osoite osoitekenttään ja paina Enter:

%systemroot% system32driversetc

Nimeä Hosts-tiedosto uudelleen hosts.bak. Sinulta saatetaan joutua ottamaan tiedosto omistukseen ensin.

Seuraavaksi luo uusi oletus Hosts-tiedosto. Voit avata uuden nimisen tekstitiedoston isännät kansioon% WinDir% system32 drivers etc.

Kopioi-liitä seuraava teksti notepad-tiedostoon:

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

Tallenna tekstitiedosto. Vaihtoehtoisesti, jos haluat, voit ladata Windows 10/8/7: n oletustiedostoa klikkaamalla tästä. Pura sisältö ja aseta Hosts-tiedosto C: Windows System32 drivers etc -kansioon. Sinulta saatetaan pyytää oikeuksia sen korvaamiseksi.

HostsMan on hyvä freeware-apuohjelma, jonka avulla voit lisätä, poistaa merkinnät ja voit yleensä hallita isäntätiedostoa Windowsissa helposti. Siirry täältä, miten voit lukita, hallita ja muokata isäntätiedostoa Windowsissa.

Aiheeseen liittyvät julkaisut:

  • Käytä Narrator & Magnifier nopeasti näillä pikanäppäimillä Windows 10: ssa
  • Nollaa tämän tietokoneen avulla voit palauttaa Windows 10: n tehdasasetukset menettämättä tiedostoja
  • Et voi avata tiettyjä verkkosivustoja Chrome, Firefox, Edge, IE
  • SysMate Hosts File Walker: Freeware hallita Windowsin isäntätiedostoa
  • Lukitse, hallitse ja muokkaa isäntätiedostoa Windows 10/8/7: ssä

Suositeltava: