六月丁香五月婷婷,丁香五月婷婷网,欧美激情网站,日本护士xxxx,禁止18岁天天操夜夜操,18岁禁止1000免费,国产福利无码一区色费

學(xué)習(xí)啦>學(xué)習(xí)電腦>電腦故障>電腦故障現(xiàn)象>自動重啟>

電腦重啟過后host文件就損壞怎么處理

時間: 孟浩1018 分享

  hosts文件是一個沒有擴(kuò)展名的系統(tǒng)文件,其主要作用是加快域名解析,讓系統(tǒng)快速打開網(wǎng)頁,而最近有小伙伴反映自己的電腦重啟過后host文件就損壞了,遇到這種情況我們具體該怎么解決呢?下面就由學(xué)習(xí)啦小編跟大家分享一下解決方法吧,歡迎大家來閱讀學(xué)習(xí)。

  電腦重啟過后host文件就損壞處理方法

  1、首先我們需要找到hosts文件在哪里,其位于c:\windows\system32\drivers\etc項(xiàng)中。

  2、你可以直接按組合鍵win+r打開運(yùn)行,輸入c:\windows\system32\drivers\etc按回車,就可以找到了。

  3、找到hosts文件后將其復(fù)制到桌面,用記事本打開。

  4、刪除記事本的全部內(nèi)容,將以下內(nèi)容復(fù)制到文件中然后保存:

  # 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文件,即可完成修復(fù)。


3152652