怎么修復hosts文件

如果hosts文件被惡意篡改了 , 就需要對hosts文件進行修復 。那么怎么修復hosts文件呢?下面一起來了解一下吧 。

怎么修復hosts文件

1、打開進入【我的電腦】 , 雙擊進入C盤 。
怎么修復hosts文件

2、從上方的路徑【C盤WindowsSystem32driversetc】找到【hosts】 。
怎么修復hosts文件

3、選中后 , 鼠標右擊 , 選擇【用記事本打開該文件】 。
怎么修復hosts文件

4、刪除記事本的全部內容 , 將以下內容復制后放入文件然后保存 。
怎么修復hosts文件

5、將修改后的hosts文件放入C:WindowsSystem32driversetc替換以前的hosts文件即可 。
怎么修復hosts文件

【怎么修復hosts文件】以上就是關于怎么修復hosts文件的全部內容 。