用TreeWalk提高网速及其在vista中的安装方法
解决的办法当然也不止一种,比如更换DNS服务器,相信这也是被采用最多的方案;或者通过二奶机/虚拟机搭建个SERVER系统安装好DNS服务器(WIN
SERVER系统,或者LINUX/UNIX下用BIND),再把主机DNS地址更换为搭建好的DNS服务器的IP地址;或者使用OPENDNS等解决方案……
八仙过海,各显神通,各人有各人的解决之道。现在,我在这里再来提供一种方法。
首先我们需要TreeWalk DNS 8.21 – Hawk For Windows 2000, XP, 2003, .NET *这款软件。我已经把所需的安装文件上传到http://download.csdn.net/source/738436,请大家下载,或者到官方页面http://ntcanuck.com/downloads.htm进行下载。
如果你不是使用的vista和server 2008,而是Windows 2000, XP, 2003等的话,那么只要运行twdns821.exe这个安装文件就已经成功了。也可以不往下继续看此文了。
但是如果是vista或者server 2008的话就还需要一个相当漫长的过程。我先把原文介绍贴在这里:
Things you need to know about Vista, UAC, TreeWalk and ConFetch:
Vista's new User Account Control feature disrupts TreeWalk maintenance procedures, and ConFetch will fail to run if UAC is enabled. Therefore, there are currently some limitations
to successfully installing, and running, the ConFetch plug-in with TreeWalk DNS. It can all be done in a matter of minutes if you review the process first! Here's a few pointers to get you going with TreeWalk and ConFetch Ultra on Vista...
Vista Helper, May 14, 2008. The Vista
Helper script for TreeWalk v. 8.21 is available to
aid Vista users to install, and remove, TreeWalk "Hawk". Due to difficulties for the Service Control Manager in Vista to handle spaces that some users might have included in their administrator account login credentials, those users will have to logon to the
Service manually, as described below under "Logon to the newly created service" (you should review that part anyway, before leaving here for the TreeWalk 8.21 Vista Helper page if you only need to install TWDNS).
Install TreeWalk DNS (Hawk) v. 8.21 using Administrative credentials:
1. Obtain the TreeWalk installer and run it under Vista. When you arrive at the final page with the restart options, select "No, I will restart later", then exit the installer.
2. Go to Vista's new "Start" button to access the menu and find "Control Panel" if the "Windows+R" key combination doesn't work for you. If "Control Panel" is not there you will need to add it - right-click the Taskbar, select Properties,
select the "Start Menu" tab, press the "Customize" button, scroll to "Control Panel" and select "Display as a menu" or "Display as a link" if you prefer. Select "Okay", then press "Apply" and "Okay" to save changes.
3. Once you've found the "Control Panel", select "User Accounts", select "Turn User Account Control On or Off" and uncheck the check-box there. Press "Okay". Restart the computer as requested by Vista. Logon using the same Administrator
account again and simply "Close" any ensuing notices regarding "named.exe", which is TreeWalk's executable.
There are three ways to complete the next step. The simplest may be to run the Vista Helper scriptbut you can do it yourself as described below. If you choose to do this manually, you will need to delete the "twdns"
Service that the TreeWalk "Hawk" v. 8.21 installer has just created before you can use TreeWalk with Vista:
i. Open a command prompt ("Windows+R" keys, type cmd, press "OK" or as described below under "Logon
to the newly created service")
ii. Type sc delete twdns and press the "Enter" key on your keyboard
iii. if your Vista is a 32-bit version: type or paste (exactly as shown)
sc create twdns binPath= %windir%/system32/dns/bin/named.exe
...and press the "Enter" key
iv. if your version of Vista is 64-bit: type or paste (exactly as shown)
sc create twdns binPath= %windir%/syswow64/dns/bin/named.exe
...press the "Enter" key
Logon to the newly created service using one of the following methods:
a. Open the "Control Panel" again and select "Administrative Tools" to open the "Services" applet. Scroll down to the "twdns" Service and right-click for "Properties" (or double-click "twdns"). Choose the "Log On" tab and enable the "This
account" option. Type "./Local_Administrator_Account" (without the quotes, where "Local_Administrator_Account" is the Administrator's Account name you're running under, preceded by a dot and a backslash). Enter and confirm the correct password and "Okay" your
way out. (Skip ahead to start the TWDNS service, below.)
b. ...or, you can open the Start Menu and select "Run" (you may need to add this too, via the Taskbar, right-click for Properties, Start Menu tab, etc.). Once you have the "Run" box, type cmd and press "Okay" to open a
command prompt. At the command line, type or paste this (each command must be all on one line with actual login credentials where those are required):
sc config twdns obj= ./Local_Administrator_Account password= Local_Administrator_Password start= auto DisplayName= TreeWalk
...while keeping spaces intact and using proper credentials. Press the "Enter" key of your keyboard and you should receive "SUCCESS" (if not, please try the previous method). Optionally (but not required), you can also execute this at the command line (including
quotation marks, with all on one line):
sc description twdns "TreeWalk DNS Personal Server"
c. Start the TWDNS service manually from within the Services applet, TreeWalk's Control Panel or with this command:
net start twdns
Confirm that TreeWalk is working normally before installing ConFetch Ultra.
Note: After you're done you should see "TreeWalk" as the displayed name but the service will still only respond to commands that define "twdns", just like it always has.
Install ConFetch Ultra v. 13.7.4.25 using Administrative credentials:
After you've satisfactorily installed TreeWalk, obtain the ConFetch Ultra installer and run it under Vista. You will not be able to run ConFetch with UAC "On" as ConFetch needs to update TreeWalk's configuration to activate
filtering.
You can print a shortened text
version of the above or download a slightly more printer-friendly version in .zip
format for reference.
原文链接:http://confetch.com/history.htm
这个网页国内可能访问不到,我们需要翻越GFW(GONG FU WANG? 囧rz)。说明一下,这个网站是一个名叫ConFetch的(一款TreeWalk插件)软件的介绍页,这里在介绍了这个插件自己的同时却提供了在Vista上安装TreeWalk的方法。我们可以在安装好TreeWalk后不用去安装这个插件的,使用这个插件需要用到代理。TreeWalk的官方页上只说明了Vista
version pending就再也没有任何关于在Vista上安装TreeWalk的说明了。
英文可以的朋友可以直接参照上文,下面我简略的翻译并说明一下安装过程。
*整个过程中都使用同一个系统账号登录,不要更换
1. 右键以管理员权限运行twdns821.exe安装程序,到最后一步选择No,I
will restart later
2. 关闭UAC并重启
3. 重启后系统如果发出任何和“named.exe”相关的提示均直接关闭提示框,不用理会
4. (直接运行脚本,不推荐)运行Vista
Helper script(我修改了一份以适合中文版Vista),记住要右键以管理员权限运行
Vista Helper script的内容:
- :://TreeWalk Installer/Uninstaller Helper for Vista x86[32-bit] and x64[64-bit]-May 14,2008
- @echo off
- title TreeWalk "Hawk" 8.21 Vista Helper
- :: //Check to see if Vista is installed here
- ver | find "Version 6">nul
- if not errorlevel 1 goto yvsix
- if errorlevel 1 goto nvsix
- :yvsix :: //It's Vista, so check for service configuration
- sc query twdns | find "1060">nul
- if not errorlevel 1 goto install
- if errorlevel 1 goto uninstall
- :install :: // TreeWalk service is not installed, so install it
- echo/
- echo Supply credentials for your current Administrator profile
- echo/
- echo Provide current Administrator Username, then press Enter:
- set /p twusr=
- echo Provide current Administrator Password, then press Enter:
- set /p twpwd=
- echo/
- echo Please type the number for a selection, then press Enter:
- echo/
- echo [1] Information is correct. Submit.
- echo [2] There is an error. Try again...
- set selected=
- set /p selected=
- if not '%selected%'=='' set selected=%selected:~0,1%
- if '%selected%'=='1' goto proceed
- if '%selected%'=='2' goto yvsix
- cls
- echo/
- echo "%selected%": Invalid input. Please try again . . .
- echo/
- goto yvsix
- :proceed :: // Determine if Vista is 32-bit or 64-bit
- cls
- if not exist %windir%/syswow64 goto lowbit
- sc create twdns binPath= %windir%/syswow64/dns/bin/named.exe
- goto twserv
- :lowbit :: // If Vista is 32-bit then we do this instead
- sc create twdns binPath= %windir%/system32/dns/bin/named.exe
- :twserv :: // Using your credentials to configure the service
- sc config twdns obj= ./%twusr% password= %twpwd% start= auto DisplayName= TreeWalk
- sc description twdns "TreeWalk DNS Personal Server"
- net start twdns
- set twusr=
- set twpwd=
- echo The twdns service should now indicate a successful start.
- echo To exit here, just do this:
- pause
- goto end
- :nvsix :: // Oops! This is not Vista!
- echo/
- echo Sorry^! You need Vista to use this script^!
- pause
- :end
- exit
- :uninstall :: // Does the user wish to remove TreeWalk?
- echo/
- echo The TreeWalk Uninstaller will be invoked if you continue^!
- echo The "twdns" Service will also be deleted if you continue^!
- echo You must run this again when you re-install TreeWalk DNS.
- echo Press the "X" now to decline [in the red box, top right].
- pause
- cls
- echo/
- net stop twdns
- sc delete twdns
- echo/
- echo You can now uninstall TreeWalk from this computer^!
- if exist %windir%/syswow64 %windir%/syswow64/dns/unins000.exe
- if not exist %windir%/syswow64 %windir%/system32/dns/unins000.exe
- exit
如果是要在中文Vista上运行则需要把ver | find "Version 6">nul这一句改成ver | find "版本 6">nul,保存这段脚本为Vista
Helper script.cmd即可使用。
手动方法:
-1:运行cmd,进入命令提示符
-2:运行sc delete twdns指令
-3:32位系统运行sc create twdns binPath= %windir%/system32/dns/bin/named.exe;64位系统运行sc
create twdns binPath= %windir%/syswow64/dns/bin/named.exe
5. 运行service.msc,打开服务管理配置窗口,找到twdns服务
6. 双击twdns服务或者右键属性打开
7. 切换到登录标签
8. 默认的选择是本地系统账户(L),这里我们需要选择第二项此账户(T),写入“./当前登录的账户名”(也可以浏览->高级->立即查找,找到目前自己登录的账户名,双击->确定),这个账户一定是要管理员权限的,然后需要输入密码,确定即可。
9. 切换到“恢复”标签,第一次失败和第二次失败都选择成重新启动服务
10. 切换到常规,启动类型为自动
11. 启动该服务
12. 打开TreeWalk Control Panel,如果状态栏显示”Service
is running”,就表示安装成功了。
在安装后的开始几天里,效果并不是很明显,在使用几天后(需要给程序一个建立DNS缓存的过程),你就会很明显的感觉到浏览网页快了不少。在Vista中,有可能启动会失败,这样的话就需要进入服务管理(运行service.msc)),手动启动该服务(twdns)。
测试本地DNS是否成功运行的方法:
1. 运行cmd
2. 运行nslookup google.com
3. 如果返回类似下面的就表示服务器工作正常
服务器:localhost
Address:127.0.0.1
非权威应答:
名称:google.com
Address: xxxxxx
4. 如果返回这些就表示服务器没有工作或者不正常
服务器:unknow
Address:127.0.0.1
***Unknow找不到google.com:No response from server
之后可以开启UAC,不过开启UAC后要以管理员权限才能打开TreeWalk control panel
用TreeWalk提高网速及其在vista中的安装方法的更多相关文章
- centos网速特别慢的最佳解决的方法 - 关闭ipv6
我使用了centOS,可是发现网速实在是卡得差点儿不能上网,连百度都打不开,可是win却飞快. 后来想到偶然记得有一次看过一段话,说到关闭ipv6,測试来一下,果然有效,关闭来ipv6打开网速飞快. ...
- windows2012 r2 提高网速方法
2012 升级到 r2 微软官方地址:(感谢Monkey威武)Datacenter Preview:简体中文:http://care.dlservice.microsoft.com/dl/downlo ...
- CentOS 7 禁用IPV6以提高网速
方法 1 编辑文件/etc/sysctl.conf,$vi /etc/sysctl.conf添加下面的行: net.ipv6.conf.all.disable_ipv6 = net.ipv6.conf ...
- 爬虫对自己服务器 CPU,内存和网速的影响
今天无事写一遍关于爬虫对计算机的影响,主要是给小白同学普及一下爬虫的基础知识. 在我们写爬虫的时候,首先会想到开多线程,如果使用的语言是Python,很不幸,因为Python存在 GIL,在任何时候 ...
- TrafficStats——流量统计类的范例,获取实时网速
2.3开始android就提供来这个类的API,这样我们就可以方便的用他来实现统计手机流量来.这个类其实也很简单,我贴上他的几个方法,大家一看就知道怎么用了. static long getMobil ...
- 快速提高谷歌浏览器(Chrome)自带下载器的网速
之前每次下载东西都是复制好下载链接到迅雷中下载,会提高成倍网速,但是时间一长,感觉不方便,废话不多说,上干货~ 由于中国防火墙(GFW)的强大,在线下载Google浏览器的时候速度非常慢,如果只是单独 ...
- 1m网速是什么意思,1m带宽是什么意思
1M网速下载速度应是多少?我怎么才50多KB?? 建议: 一般来说是90到100算正常.最高能达到120 带究竟该有多快 揭开ADSL真正速度之谜 常常使用ADSL的用户,你知道ADSL的真正速度吗? ...
- 4K视频在线看,网速跟不上怎么办?
灿烂的阳光,温柔的风,二狗子一打开窗,觉得春天到了. “天气这么好,宅家玩电脑.”二狗子说着,点开了爱奇怪 App,最近一期的版本更新提到了支持 4K 视频播放,这是二狗子等了好久的功能. “今天我就 ...
- [无线路由] “免费”斐讯K2路由器刷OpenWRT(实战MWAN多宽带网速叠加)
(阿财首发于什么值得买)斐讯K2可以算是一个非常另类的跨界数码产品,其产品完全的醉翁之意不在酒.最多值99元的 MT7260硬件架构和用料,售价399元,金额激活K码后自动转入合作理财P2P平台,等待 ...
随机推荐
- SpringBoot整合Thymeleaf-基于SpringBoot2.X版本
1.为啥要用Thymeleaf模板引擎?现在不都前后端分离了么? 熊dei们,别着急,我们先来谈谈为啥开始用Thymeleaf模板引擎,先照顾照顾下我们这些可爱的小白童鞋.... 为啥开始用Thyme ...
- 理解 RESTful API 设计规范
RESTful是目前最流行的API设计规范,它是用于Web数据接口的设计.从字面可以看出,他是Rest式的接口,所以我们先了解下什么是Rest. REST与技术无关,它代表的是一种软件架构风格,RES ...
- Java异常处理原则与技巧总结
一 处理原则 Java异常代码中我们使用异常的目的是让异常的异常类型来提示“什么”被抛出了--- 即出了什么问题:用异常的栈打印信息来跟踪异常在“哪里”抛出 --- 即哪里出了问题: 异常提示信息来 ...
- linux(raspbian)下mysql的安装,权限设置和用户管理
一 MySQL安装:(1) 使用apt-get安装, 由于raspbian是基于Debian的自由操作系统,debian默认自带apt-get指令安装应用因此可以使用来安装 sudo apt-get ...
- EXE和DLL调用关系,DLL制作,钩子
制作DLL时,在cpp种引入了头文件,但头文件里的全局变量在cpp种却不能用 参考大佬博客https://blog.csdn.net/speargod/article/details/88854344 ...
- JVM之对象
几乎所有对象都是在堆中分配内存的,这次来讲讲java的对象. 对象的创建主要分为以下几步: 首先,查看类是否装载.当JVM读取到new指令的时候,会拿着符号描述去方法区寻找它所属的类,如果未查找到,则 ...
- Sql Server学习笔记
1.指定路径创建数据库 create database student on--创建库的时候必须写 ( name=student, filename='E:\database\student.mdf' ...
- django操作命令
下载安装 pip3 install django==1.11.21 -i https://pypi.tuna.tsinghua.edu.cn/simple 创建项目 1.终端找到存放项目的文件夹,dj ...
- 2020年十大OA办公系统排行榜
最近几年办公信息化的不断发展,走向千家万户(企业),从刚开始的大型公司,政府企业到现在中小企业的加入,市场更加的庞大,产业前进很好,在协同办公这片市场中,有哪些公司独领风骚? 泛微OA:(www. ...
- 【红外DDE算法】数字细节增强算法的缘由与效果(我对FLIR文档详解)
[红外DDE算法]数字细节增强算法的缘由与效果(我对FLIR文档详解) 1. 为什么红外系统中图像大多是14bit(甚至更高)?一个红外系统的性能经常以其探测的范围来区别,以及其对最小等效温差指标.首 ...