卖逼视频免费看片|狼人就干网中文字慕|成人av影院导航|人妻少妇精品无码专区二区妖婧|亚洲丝袜视频玖玖|一区二区免费中文|日本高清无码一区|国产91无码小说|国产黄片子视频91sese日韩|免费高清无码成人网站入口

host 不起作用問題的解決方法

這里簡(jiǎn)單說明下,這個(gè)問題的兩個(gè)原因與解決方法:第一種: 需要修過注冊(cè)表最近有同仁反應(yīng)hosts不起作用,在網(wǎng)上找了很久,只找到大部分都是下面這篇文章,但看了有問題的客戶機(jī),發(fā)現(xiàn)需要修正的設(shè)定是相同的,

這里簡(jiǎn)單說明下,這個(gè)問題的兩個(gè)原因與解決方法:第一種: 需要修過注冊(cè)表最近有同仁反應(yīng)hosts不起作用,在網(wǎng)上找了很久,只找到大部分都是下面這篇文章,但看了有問題的客戶機(jī),發(fā)現(xiàn)需要修正的設(shè)定是相同的,所以應(yīng)該不是這個(gè)解決辦法! 由于的 需要,經(jīng)常要修改C:windowssystem32driversetchosts里面的域名指向??墒悄涿畹氖?,自己電腦上的 hosts文件修改了沒有作用,google幾天沒有結(jié)果,郁悶。所幸的是還是找到了一篇高人的文章,原來是把 HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServic esTcpipParameters里面的"DataBasePath"類型從"REG_SZ"修改為"REG_EXPAND_SZ"就OK了(需要 重新啟動(dòng)計(jì)算機(jī)),據(jù)說可能是安裝MSN 7.0/7.5后類型被修改了,而微軟對(duì)這個(gè)完全沒有說明,F(xiàn)T。 全文如下 Open regedit and browse to HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServic esTcpipParameters Examine "DataBasePath" key in this node carefully. If the path is set to %SystemRoot%System32driversetc and the key type is anything but REG_EXPAND_SZ, that is is your problem. If the type is REG_SZ, edit the DatabasePathregistry keyand hardcode th entire path (remove the env variable) e.g. c:windowssystem32driversetc or delete the existing registry key and create a new key by the same name (DataBasePath) of type REG_EXPAND_SZ and set the value to %SystemRoot%System32driversetc Files in etc dir should now be enabled. Why did this happen to you? Most likely you installed MSN Messenger 7.0/7.5 which changed the type of this key. Why did it do that, why didn't it inform you of what it has done? Ask Bill gates? Is it documented anywere? Not to the best of my knowledge. 不過在查找的時(shí)候發(fā)現(xiàn)有一個(gè)人的回復(fù)是,“保證格式和權(quán)限正確,這倒提醒了我,查看hosts文件的權(quán)限,果然這個(gè)文件沒有集成這個(gè)文件夾的權(quán)限,于是修改權(quán)限,問題解決! 總結(jié):對(duì)于的系統(tǒng)參數(shù),一個(gè)要格式正確外,一定要注意權(quán)限的設(shè)定,這個(gè)很容易被忽略掉。但問題在于這個(gè)文件從外部拷貝進(jìn)來,為什么權(quán)限沒有被文件夾自動(dòng)覆蓋掉,不解!第二種:因?yàn)闀鴮戫樞虿粚?duì)(我就是因?yàn)檫@個(gè)原因)應(yīng)該是先寫 ip[tab]域名的格式例如: 127.0.0.1 www.cctv.com
標(biāo)簽: