當前位置:係統粉 >  係統教程 > Win7係統教程 >  win7 64位host文件損壞怎麼辦|win7 64位文件損壞的解決方法

win7 64位host文件損壞怎麼辦|win7 64位文件損壞的解決方法

時間:2016-12-02 來源:互聯網 瀏覽量:

win7 64位host文件損壞怎麼辦?Hosts是一個沒有擴展名的係統文件,可以用記事本等工具打開,其作用就是將一些常用的網址域名與其對應的IP地址建立一個關聯“數據庫”,當用戶在瀏覽器中輸入一個需要登錄的網址時,係統會首先自動從Hosts文件中尋找對應的IP地址,一旦找到,係統會立即打開對應網頁,如果沒有找到,則係統會再將網址提交DNS域名解析服務器進行IP地址的解析。如果遇到了hosts文件損壞的情況,該怎麼辦呢?跟著小編來看看吧。


win7 64位文件損壞的解決方法:

1、先找到hosts文件的所在文件夾,其實是位於c:\windows\system32\drivers\etc項中。

win7 64位host文件損壞怎麼辦,步驟1

2、使用快捷鍵“win+r”打開運行,輸入c:\windows\system32\drivers\etc按回車,就可以找到了。

3、把hosts文件複製到桌麵,用記事本打開。

4、刪除記事本的全部內容,把以下內容複製到文件中,然後保存。       # 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 handled within DNS itself.# 127.0.0.1       localhost# ::1             localhost

5、接著把修改後的hosts文件放到c:\windows\system32\drivers\etc來替換以前的hosts文件,就可以完成修複。


以上就是【win7 64位host文件損壞怎麼辦】的全部內容,出現相同情況的用戶不妨參考以上內容操作試試,希望這篇分享能幫助到大家。還有其他的電腦操作係統下載後使用的技巧需要了解的話,歡迎上係統粉官網查看。

我要分享:
版權信息

Copyright @ 2011 係統粉 版權聲明 最新發布內容 網站導航