win10裡沒有hosts檔案?

時間 2021-05-31 21:05:28

1樓:vtcc

我解決了。

剛安裝了Win10,發現沒有hosts檔案。

題主說的「隱藏受保護的作業系統檔案」這一招我也一樣試了,也是沒用。

後來自己建立乙個。

在此目錄下:C:\Windows\System32\drivers\etc 新建乙個hosts.txt檔案,然後將一下內容貼上進去。

## This is a sample HOSTS file used by Microsoft TCP/IP for Windows.

## 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 example102.54.94.97 rhino.acme.comsource server

# 38.25.63.10 x.acme.comx client host

# localhost name resolution is handled within DNS itself.

# 127.0.0.1 localhost

# ::1localhost

2.修改檔案hosts.txt 為: hosts 即可。

親測可用。

2樓:Sven

C:\Windows\System32\Drivers\etc

我沒有用win10,但是我在我的虛擬機器中的win10找到了hosts檔案

win10系統使用者配置檔案消失 腫麼辦?

Roison An PS 之前安裝的PS版本是 Adobe Photoshop CS6 roustar31中文特別版.exe WIN10使用者以後不要裝這個了 這個裝了整整半年都沒事,結果該來的還是躲不掉啊 不知道最新版PS還會不會有這個問題。 我今天剛遇到這個問題,無語了,桌面檔案和軟體都丟失了,...

為什麼win10本地硬碟拷貝檔案慢 ??

推薦一款開源小軟體fastcopy 複製小檔案很快 Win10系統下複製檔案速度很慢如何解決 Windows10系統下怎樣快速複製檔案 系統城 我找到乙個特殊的辦法解決這類問題。先分乙個大點的分割槽,比如我的1TB的Z盤。之後裝東西的時候,每次都建立乙個vdisk 在控制面板裡面可以的 之後mkli...

win10的FileRepository已經40g了,可以刪除嗎?或者怎樣處理?

To delete temporary files Search forDisk cleanupfrom the taskbar and select it from the list of results.UnderFiles to delete,select the file types to ...