電腦hosts文件如何修復

電腦的hosts文件該如何修復呢?其實這個操作非常的簡單,今天小編整理了相關的教程,下面跟我一起來看看吧。

電腦hosts文件如何修復

1、將hosts文件複製到桌面,用記事本打開

電腦hosts文件如何修復 第2張

2、刪除記事本的全部內容,將以下內容複製後放入文件然後保存

# 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:## # source server# # x client host

# localhost name resolution is handled within DNS itself.# localhost# ::1 localhost

電腦hosts文件如何修復 第3張

3、將修改後的hosts文件放入c:windowssystem32driversetc替換以前的hosts文件,修復成功!

電腦hosts文件如何修復 第4張

hosts文件位置在哪>>>

Win10系統如何修改hosts文件>>>

手機hosts文件位置在哪裏>>>

如何修改Android手機的Hosts文件>>>