Jianwen 的个人资料Jianwen的共享空间照片日志列表更多 工具 帮助

日志


经典悖论漫谈

 

泽熙 

古今中外有不少著名的悖论,它们震撼了逻辑和数学的基础,激发了人们求知和精密的思考,吸引了古往今来许多思想家和爱好者的注意力。解决悖论难题需要创造性的思考,悖论的解决又往往可以给人带来全新的观念。 
本文将根据悖论形成的原因,粗略地把它归纳为六种类型,分上、中、下三个部份。这是第一部份: 
由概念自指引发的悖论和引进无限带来的悖论 
(一)由自指引发的悖论 
以下诸例都存在着一个概念自指或自相关的问题:如果从肯定命题入手,就会得到它的否定命题;如果从否定命题入手,就会得到它的肯定命题。 

1-1谎言者悖论 
公元前六世纪,哲学家克利特人艾皮米尼地斯(Epimenides):“所有克利特人都说谎,他们中间的一个诗人这么说。”这就是这个著名悖论的来源。 
《圣经》里曾经提到:“有克利特人中的一个本地中先知说:‘克利特人常说谎话,乃是恶兽,又馋又懒’”(《提多书》第一章)。可见这个悖论很出名,但是保罗对于它的逻辑解答并没有兴趣。 
人们会问:艾皮米尼地斯有没有说谎?这个悖论最简单的形式是:“我在说谎”。 
1-2“我在说谎” 
如果他在说谎,那么“我在说谎”就是一个谎,因此他说的是实话;但是如果这是实话,他又在说谎。矛盾不可避免。它的一个翻版:“这句话是错的。” 
1-3“这句话是错的” 
这类悖论的一个标准形式是:如果事件A发生,则推导出非A,非A发生则推导出A,这是一个自相矛盾的无限逻辑循环。拓扑学中的单面体是一个形像的表达。
问题并不简单 
哲学家罗素曾经认真地思考过这个悖论,并试图找到解决的办法。他在《我的哲学的发展》第七章《数学原理》里说道:“自亚里士多德以来,无论哪一个学派的逻辑学家,从他们所公认的前提中似乎都可以推出一些矛盾来。这表明有些东西是有毛病的,但是指不出纠正的方法是什么。在1903年的春季,其中一种矛盾的发现把我正在享受的那种逻辑蜜月打断了。” 
他说:谎言者悖论最简单地勾画出了他发现的那个矛盾:“那个说谎的人说:‘不论我说什么都是假的’。事实上,这就是他所说的一句话,但是这句话是指他所说的话的总体。只是把这句话包括在那个总体之中的时候才产生一个悖论。”(同上) 
罗素试图用命题分层的办法来解决:“第一级命题我们可以说就是不涉及命题总体的那些命题;第二级命题就是涉及第一级命题的总体的那些命题;其余仿此,以至无穷。”但是这一方法并没有取得成效。“1903年和1904年这一整个时期,我差不多完全是致力于这一件事,但是毫不成功。”(同上) 
《数学原理》尝试整个纯粹的数学是在纯逻辑的前提下推导出来的,并且使用逻辑术语说明概念,回避自然语言的歧意。但是他在书的序言里称这是:“发表一本包含那么许多未曾解决的争论的书。”可见,从数学基础的逻辑上彻底地解决这个悖论并不容易。 
接下来他指出,在一切逻辑的悖论里都有一种“反身的自指”,就是说,“它包含讲那个总体的某种东西,而这种东西又是总体中的一份子。”这一观点比较容易理解,如果这个悖论是克利特以为的什么人说的,悖论就会自动消除。但是在集合论里,问题并不这么简单。 
1-4理发师悖论 
在萨维尔村,理发师挂出一块招牌:“我只给村里所有那些不给自己理发的人理发。”有人问他:“你给不给自己理发?”理发师顿时无言以对。 
这是一个矛盾推理:如果理发师不给自己理发,他就属于招牌上的那一类人。有言在先,他应该给自己理发。 
反之,如果这个理发师给他自己理发,根据招牌所言,他只给村中不给自己理发的人理发,他不能给自己理发。 
因此,无论这个理发师怎么回答,都不能排除内在的矛盾。这个悖论是罗素在一九○二年提出来的,所以又叫“罗素悖论”。这是集合论悖论的通俗的、有故事情节的表述。显然,这里也存在着一个不可排除的“自指”问题。 
1-5集合论悖论 
“R是所有不包含自身的集合的集合。” 
人们同样会问:“R包含不包含R自身?”如果不包含,由R的定义,R应属于R。如果R包含自身的话,R又不属于R。 
继罗素的集合论悖论发现了数学基础有问题以后,1931年歌德尔(KurtGodel,1906-1978,捷克人)提出了一个“不完全定理”,打破了十九世纪末数学家“所有的数学体系都可以由逻辑推导出来”的理想。这个定理指出:任何公设系统都不是完备的,其中必然存在着既不能被肯定也不能被否定的命题。例如,欧氏几何中的“平行线公理”,对它的否定产生了几种非欧几何;罗素悖论也表明集合论公理体系不完备。 
1-6书目悖论 
一个图书馆编纂了一本书名词典,它列出这个图书馆里所有不列出自己书名的书。那么它列不列出自己的书名?这个悖论与理发师悖论基本一致。 
1-7苏格拉底悖论 
有“西方孔子”之称的雅典人苏格拉底(Socrates,公元前470-前399)是古希腊的大哲学家,曾经与普洛特哥拉斯、哥吉斯等著名诡辩家相对。他建立“定义”以对付诡辩派混淆的修辞,从而勘落了百家的杂说。但是他的道德观念不为希腊人所容,竟在七十岁的时候被当作诡辩杂说的代表。在普洛特哥拉斯被驱逐、书被焚十二年以后,苏格拉底也被处以死刑,但是他的学说得到了柏拉图和亚里斯多德的继承。 
苏格拉底有一句名言:“我只知道一件事,那就是什么都不知道。”这是一个悖论,我们无法从这句话中推论出苏格拉底是否对这件事本身也不知道。古代中国也有一个类似的例子,那就是“言尽悖”。 
1-7“言尽悖” 
这是《庄子·齐物论》里庄子说的。后期墨家反驳道:如果“言尽悖”,庄子的这个言难道就不悖吗?再看看我们常说的:“世界上没有绝对的真理”。我们不知道这句话本身是不是“绝对的真理”。 
1-8“荒谬的真实” 
有字典给悖论下定义,说它是“荒谬的真实”,而这种矛盾修饰本身也是一种“压缩的悖论”。悖论(paradox)来自希腊语“para+dokein”,意思是“多想一想”。 
这些例子都说明,在逻辑上它们都无法摆脱概念自指所带来的恶性循环。有没有进一步的解决办法?在下面一节的最后一部份还将继续探讨。 
(二)引进无限带来的悖论 
《墨子·经说下》中有一句话:“南方有穷,则可尽;无穷,则不可尽。”如果在有限中引进无限,就可能引起悖论。 
2-1阿基里斯悖论 
稍晚于毕达哥拉斯的古希腊数学家芝诺(ZenoofElea),曾经提出过一些著名的悖论,对以后数学、物理概念产生了重要影响,阿基里斯悖论是其中的一个。 
阿基里斯(Achilles)是希腊神话中善跑的英雄。芝诺讲:阿基里斯在赛跑中不可能追上起步稍微领先于他的乌龟,因为当他要到达乌龟出发的那一点,乌龟又向前爬动了。阿基里斯和乌龟的距离可以无限地缩小,但永远追不上乌龟。 
有人用物理语言描述这个问题说,在阿基里斯悖论中使用了两种不同的时间度量。一般度量方法是:假设阿基里斯与乌龟在开始时的距离为S,速度分别为V1和V2。当时间T=S/(V1-V2)时,阿基里斯就赶上了乌龟。 
但是芝诺的测量方法不同:阿基里斯将逐次到达乌龟在前一次的出发点,这个时间为T'。对于任何T',可能无限缩短,但阿基里斯永远在乌龟的后面。关键是这个T'无法度量T=S/(V1-V2)以后的时间。 
2-2二分法悖论 
这也是芝诺提出的一个悖论:当一个物体行进一段距离到达D,它必须首先到达距离D的二分之一,然后是四分之一、八分之一、十六分之一、以至可以无穷地划分下去。因此,这个物体永远也到达不了D。这些结论在实践中不存在,但是在逻辑上无可挑剔。 

芝诺甚至认为:“不可能有从一地到另一地的运动,因为如果有这样的运动,就会有‘完善的无限’,而这是不可能的。”如果阿基里斯事实上在T时追上了乌龟,那么,“这是一种不合逻辑的现象,因而决不是真理,而仅仅是一种欺骗”。这就是说感官是不可靠的,没有逻辑可靠。 
他认为:“穷尽无限是绝对不可能的”。根据这个运动理论,芝诺还提出了一个类似的运动佯谬:“飞矢不动”。 
2-3“飞矢不动” 
在芝诺看来,由于飞箭在其飞行的每个瞬间都有一个瞬时的位置,它在这个位置上和不动没有什么区别。那么,无限个静止位置的总和就等于运动了吗?或者无限重复的静止就是运动?中国古代也有类似的说法。 
2-4“飞鸟之景,未尝动也” 
这是中国名家惠施的命题,与“飞矢不动”同工异曲。这就是不可抗拒的推理和不可回避的实事相冲突。 
德国哲学家尼采在《希腊悲剧时代的哲学》里有一章《可疑的悖论》,称芝诺的悖论为“否定感官的悖论”。尽管阿基里斯在赛跑中追上起步领先的乌龟完全合乎事实,但为什么“不合逻辑”?因为芝诺运用了“无限”这个概念,这是一种逻辑上的假设,而现实世界里是不可能有无限者存在的,这就出现了假设与现实的矛盾。 
尼采的结论 

尼采说道:在这两个悖论里,“无限”被利用来作为化解现实的硝酸。如果无限是决不可能成为完善的,静止决不可能变为运动,那么,真相是箭完全没有飞动,它完全没有移位,没有脱离静止状态,时间并没有流逝。 
换句话讲,在这个所谓的、终究只是冒牌的现实中,既没有时间、空间,也没有运动。最后,连箭本身也是一个虚象,因为它来自多样性,来自由感官唤起的非一的幻象。下面是尼采的分析: 
假定箭拥有一种存在,那么,它就是不动的、非时间的、非造而有的、固定的、永恒的。这是一个荒谬的观念! 
假定运动是真正的实在,那么,就不存在静止。因而,箭没有位置、没有空间。又是一个荒谬的观点! 
假定时间是实在的,那么,它就不可能被无限地分割。箭飞行所需要的时间必定由一个有限数目的瞬间组成,其中每个瞬间都必定是一个原子。仍然是一个荒谬的观念! 
尼采得出这样的结论:我们的一切观念,只要其经验所与的、汲自这个直观世界的内容被当作“永恒真理”,就会陷入矛盾。如果有绝对运动,就不会有空间;如果有绝对空间,就不会有运动;如果有绝对存在,就不会有多样性;如果有绝对的多样性,就不会有统一性。 
极限理论的诞生 
事实上,这两个悖论中提到的这个“动与不动”的对立统一,今天都已经得到了完美的解决,这就是极限理论的诞生。牛顿在运动学研究时,初创微积分,但由于没有巩固的理论基础,出现了历史上的“第二次数学危机”。十九世纪初,法国科学家以柯西为首建立了极限理论,后来又经过德国数学家维尔斯特拉斯进一步的严格化,使极限理论成为微积分的坚定基础,运动问题也得到了合理的解释。 
可以想见,在微积分和极限理论发明或被接受以前,人们很难解释这一运动佯谬。感官不同于思维,当希腊人用概念来判决现实的时候,如果逻辑与现实发生矛盾,芝诺指责感官为“欺骗”。当思维找不到合理解释的时候,直观的形式、象征或比喻都无济于事。尼采的分析虽然详细、精辟,但他无法把它们综合起来。 
2-5“一尺之捶,日取其半,万世不竭” 
这是《庄子·天下》中惠施的一句名言。二千多年前中国古人同样运用了无限的概念。战国名家宋国人惠施(约公元前370-前310)曾任梁国的宰相,论辩奇才,是庄子的朋友,和公孙龙并列为名家的代表人物。他的著作多已亡佚,只能从其他诸家的论述中看到他的言行片段。 
惠施的学说强调万物的共相,因而事物之间的差异只是一种相对的概念,现存与惠施有关的奇怪命题,例如,“山与泽平”、“卵有毛”、“鸡三足”、“犬可以为牛”、“火不热”、“矩不方”、“白狗黑”、“孤驹未尝有母”等,都可以说是悖论,但是大部份没有留下具体的争辩过程。惠施的悖论在西方也很有影响。
毛泽东的偏爱 
毛泽东从辩证法的角度基本接受惠施无限可分的观点。一九六四年八月十八日,他同哲学工作者谈话时说:“列宁讲过,凡事可分。举原子为例,不但原子可分,电子也可分。”又说:“电子本身到现在还没有分裂,总有一天能分裂的。‘一尺之捶,日取其半,万世不竭’,这是个真理。不信,就试试看。如果有竭就没有科学了。” 
有人注意到,毛泽东十分偏爱这句话,如五十年代中期对家钱三强,一九六四年八月同周培源、于光远,一九七三年、一九七四年接见杨振宁、李政道,等等,都提到这句话。 
2-6“1厘米线段内的点与太平洋面上的点一样多” 
多少哲学家、数学家都唯恐陷入悖论而退避三舍。二十三岁获博士学位的德国数学家康托尔(1845-1918)六年以后向无穷宣战。他成功地证明了:一条直线上的点能够和一个平面上的点一一对应,也能和空间中的点一一对应。由于无限,1厘米长的线段内的点,与太平洋面上的点,以及整个地球内部的点都“一样多”。 
然而,康托尔的“无穷集合”与传统的数学观念发生冲突,遭到谩骂。直到一八九七年第一次国际数学家会议,他的成果才得到承认,几乎全部数学都以集合论为基础。罗素称赞他的工作“可能是这个时代所能夸耀的最巨大的工作。” 
集合论的矛盾 
同时,集合论中也出现了一些自相矛盾的现象,尤其是罗素的理发师悖论,以极为简明的形式震撼了数学的基础,这就是“第三次数学危机”。此后,数学家们进行了不懈地探讨。 
例如,一九九六年英国剑桥大学出版社出版了亨迪卡的《数学原理的重新考察》,这本书以罗素的《数学原理》(1903)为蓝本的,试图完善逻辑和数学基础。它主要阐述了亨迪卡和桑朵新创的IF(Independence-FriendlyFirst-OrderLogic)逻辑及其可能产生的影响。它挑战了许多公认的观念,如公理集合论作为数学理论的适当框架,对说谎者悖论也作了进一步的探讨。它是否将引起一场逻辑和数学基础的革命?我们还将拭目以待。
(摘自美国“新语丝”网站)

关闭WinXP2数据保护DEP的方法

1、右键我的电脑→属性→高级→启动和故障恢复→设置→编辑,调出记事本
2、找到“/noexecute=optin”的位置
3、把等号后“optin”五个字母改为“alwaysoff”
4、点文件→保存,点击“确定”关闭启动和故障恢复,再点击“确定”关闭系统属性对话框。重启后即可生效。

注册表常用技巧

注册表常用技巧

禁止气球状的弹出信息
找到HKEY_CURRENT_USER-Software-Microsoft-Windows-CurrentVersion-ExplorerAdvanced子键,把十六进制值EnableBalloonTips设置成0。

显示隐藏文件
在HKEY_CURRENT_USER-Software-Microsoft-Windows-Current Version-Explorer-Advanced子键下,有几个值影响隐藏文件和文件夹的显示。要让XP显示出隐藏的文件和文件夹,把Hidden设置成1。要显示出文件的扩展名,把HideFileExt设置成0。要显示出受保护的操作系统文件,把ShowSuperHidden设置成1。注意:这部分设置也可以通过“文件夹选项”对话框的“查看”选项卡修改。

winXP copy-move-send 增加右键菜单
HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\Move To:
{C2FBB631-2971-11D1-A18C-00C04FD75D13} 

HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\Copy To:
{C2FBB630-2971-11d1-A18C-00C04FD75D13}

HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\Send To:
{7BA4C740-9E81-11CF-99D3-00AA004AE837}

修改Windows XP安装源文件路径
展开HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion子项,双击右边窗格中的SourcePath值项,将其值改成新的Windows XP安装源文件路径即可。

改变收藏夹的目录指向
展开HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders子项,然后在右边窗口双击Fovarites,将其值改变你想指向的目录,如:F:\My documents\收藏夹。其实这个子项下的内容还可以让你共享Cookie和桌面文件夹等。另外可以把以个人用户方式登录的遨游浏览器上的收藏夹导出到IE收藏夹。

重新安装IE
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\{89820200-ECBD-11cf-8B85-00AA005B4383} 将值项IsInstalled的值改为0,这样系统就会认为IE还未安装,重启后便会自动下载安装文件并安装。

清除任务栏中的多余工具栏分隔符/保存工具栏
有时,明明已锁定了任务栏,可重起系统后会多出一两个多余的工具栏分隔符,而选“关闭工具栏”关闭后,重起系统就又出来了,可通过修改注册表来修复此问题。打开注册表编辑器:

1. 展开HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\TrayNotify

删除右边空格的IconStreams和PastIconsStream,然后打开任务管理器,结束Explorer.exe进程,然后再重建explorer进程。

2. 展开HKEY_CURRENT_USER\Software\Microsoft\Windows\Current

Version\Explorer\StuckRets2,删除该子键下所有键值。

3.(解除锁定桌面项)展开HKEY_CURRENT_USER\Software\Microsoft\Windows\Current

Version\Policies\Explorer选中No Save Setting,将键值从“1” 改为“0” ;将NoToolbarCustomize的值设为1。

解锁任务管理器
[HKEY_CURRENT_USER\Software\Miocrosoft\Windows\Current Version\Policies\System]
  "Disable TaskMgr"=REG_DWORD:0x00000000(0)

删除ATI右键

regsvr32 atiacmxx.dll /u

[转]逃课(搞笑)

成龙__霸王洗发水"
逃课篇:
其实刚开始让我逃课的时候我是拒绝的,因为你不能让我逃我就逃,至少你应该让我试一下,
我不想你拍的时候加了很多特技,说我逃课有多厉害,老师老是不点我名,也不找我谈话等等...出来之
后同学一定会骂我,根本没有这么厉害的学生,证明上面那个是假的....
    后来我知道他们逃课是有计划有预算的,那么试了一个月来以后,觉得还不错...我自己现在还每天
都逃课,还介绍给我的舍友一块儿逃,来来来,大家一起来逃课......
    那拍之前我就跟导演讲,拍的时候就拍我正常逃课,不要加任何的特技上去,没有,逃课就是逃
课...我要给同学看到,我逃课是这样子,你们逃课也是这样子(完)

优化系统速度 改变工作线程数

Previous Section
< Day Day Up >
Next Section

System Worker Threads

During system initialization, Windows creates several threads in the System process, called system worker threads, that exist solely to perform work on behalf of other threads. In many cases, threads executing at DPC/dispatch level need to execute functions that can be performed only at a lower IRQL. For example, a DPC routine, which executes in an arbitrary thread context (because DPC execution can usurp any thread in the system) at DPC/dispatch level IRQL, might need to access paged pool or wait for a dispatcher object used to synchronize execution with an application thread. Because a DPC routine can't lower the IRQL, it must pass such processing to a thread that executes at an IRQL below DPC/dispatch level.

Some device drivers and executive components create their own threads dedicated to processing work at passive level; however, most use system worker threads instead, which avoids the unnecessary scheduling and memory overhead associated with having additional threads in the system. A device driver or an executive component requests a system worker thread's services by calling the executive functions ExQueueWorkItem or IoQueueWorkItem. These functions place a work item on a queue dispatcher object where the threads look for work. (Queue dispatcher objects are described in more detail in the section "I/O Completion Ports" in Chapter 9.) Work items include a pointer to a routine and a parameter that the thread passes to the routine when it processes the work item. The routine is implemented by the device driver or executive component that requires passive-level execution.

For example, a DPC routine that must wait for a dispatcher object can initialize a work item that points to the routine in the driver that waits for the dispatcher object, and perhaps points to a pointer to the object. At some stage, a system worker thread will remove the work item from its queue and execute the driver's routine. When the driver's routine finishes, the system worker thread checks to see whether there are more work items to process. If there aren't any more, the system worker thread blocks until a work item is placed on the queue. The DPC routine might or might not have finished executing when the system worker thread processes its work item. (On a uniprocessor system, a DPC routine always finishes executing before its work item is processed because thread scheduling doesn't take place when the IRQL is at DPC/dispatch level.)

There are three types of system worker threads:

  • Delayed worker threads execute at priority 12, process work items that aren't considered time-critical, and can have their stack paged out to a paging file while they wait for work items.

  • execute at priority 13, process time-critical work items, and on Windows Server systems, have their stacks present in physical memory at all times.

  • A single hypercritical worker thread executes at priority 15 and also keeps its stack in memory. The process manager uses the hypercritical work item to execute the thread "reaper" function that frees terminated threads.

The number of delayed and critical worker threads created by the executive's ExpWorkerInitialization function, which is called early in the boot process, depends on the amount of memory present on the system and whether the system is a server. Table 3-11 shows the initial number of threads created on different system configurations. You can specify that ExpInitializeWorker create up to 16 additional delayed and 16 additional critical worker threads with the AdditionalDelayedWorkerThreads and AdditionalCriticalWorkerThreads values under the registry key HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Executive.

Table 3-11. Initial Number of System Worker Threads

Windows 2000

Windows 2000 Server

Windows XP and Windows Server 2003

Delayed

3

3

7

Critical

5

10

5

Hypercritical

1

1

1

The executive tries to match the number of critical worker threads with changing workloads as the system executes. Once every second, the executive function ExpWorkerThreadBalanceManager determines whether it should create a new critical worker thread. The critical worker threads that are created by ExpWorkerThreadBalanceManager are called dynamic worker threads, and all the following conditions must be satisfied before such a thread is created:

  • Work items exist in the critical work queue.

  • The number of inactive critical worker threads (ones that are either blocked waiting for work items or that have blocked on dispatcher objects while executing a work routine) must be less than the number of processors on the system.

  • There are fewer than 16 dynamic worker threads.

Dynamic worker threads exit after 10 minutes of inactivity. Thus, when the workload dictates, the executive can create up to 16 dynamic worker threads.

EXPERIMENT: Listing System Worker Threads

You can use the !exqueue kernel debugger command to see a listing of system worker threads classified by their type:

kd> !exqueue

Dumping  ExWorkerQueue: 8046A5C0



**** Critical WorkQueue(  current  =0  maximum=  1)

THREAD 818a2d40  Cid 8.c    Teb: 00000000  Win32Thread: 00000000 WAIT

THREAD 818a2ac0  Cid 8.10   Teb: 00000000  Win32Thread: 00000000 WAIT

THREAD 818a2840  Cid 8.14   Teb: 00000000  Win32Thread: 00000000 WAIT

THREAD 818a25c0  Cid 8.18   Teb: 00000000  Win32Thread: 00000000 WAIT

THREAD 818a2340  Cid 8.1c   Teb: 00000000  Win32Thread: 00000000 WAIT



**** Delayed WorkQueue( current  =0  maximum  =1)

THREAD 818a20c0  Cid 8.20   Teb: 00000000  Win32Thread: 00000000 WAIT

THREAD 818a1020  Cid 8.24   Teb: 00000000  Win32Thread: 00000000 WAIT

THREAD 818a1da0  Cid 8.28   Teb: 00000000  Win32Thread: 00000000 WAIT



**** HyperCritical  WorkQueue( current=  0maximum  =1  )

THREAD 818a1b20  Cid 8.2c   Teb: 00000000  Win32Thread: 00000000 WAIT

    Previous Section
    < Day Day Up >
    Next Section

    内存优化 修改注册表


    Windows IT Pro


    Windows IT Library

    - Advertise

    Windows IT Pro Logo


    Home  |   Books  |   Chapters  |   Topics  |   Authors  |   Book Reviews  |   Whitepapers  |   About Us  |   Contact Us




    search for  on  this site the network power search help

    Performance Registry Secrets
    View the book table of contents

    Author:
    Tim Daniels

    Published:
    December 1997

    Copyright:
    1998

    Publisher:
    29th Street Press

    Abstract
    In this chapter, you will find specific ways to improve the performance of your general Windows NT system, your network, your file systems, and your printers. Mark Russinovich contributed to this chapter, selecting some of his favorite performance-oriented registry modifications to help you squeeze every drop of power from your Windows NT machines.



    GENERAL SYSTEM PERFORMANCE
    The tuning parameters in this section tune the general performance of NT, rather than a specific aspect of NT such as file systems or memory. By our definition, these keys tune NT itself, not specific device drivers or user-level applications.
    VI-1 Managing the number of threads can help you optimize performance. When NT boots, it creates a pool of worker threads that NT’s kernel, Executive Subsystems, and device drivers use. When one of these components places a work item, such as the Cache Manager’s lazy cache flusher or the Memory Manager’s idle memory zero-filler, in a queue, a thread is assigned to process it. If too many threads are in the pool, they needlessly consume system resources. However, if not enough threads are in the pool, work items are not serviced in a timely manner. Adjust the following two registry keys to change the number of threads.

    Hive:
    HKEY_LOCAL_MACHINE

    Key:
    System\CurrentControlSet\Control\Session Manager\Executive

    Value Name:
    AdditionalCriticalWorkerThreads

    Data Type:
    REG_DWORD

    Value:
    <any number>

    VI-2
    Hive:
    HKEY_LOCAL_MACHINE

    Key:
    System\CurrentControlSet\Control\Session Manager\Executive

    Value Name:
    AdditionalDelayedWorkerThreads

    Data Type:
    REG_DWORD

    Value:
    <any number>

    The number you specify in the value increases the number of threads created for the specified work queue. NT has two thread queues. Threads in the Critical Work Queue execute in the low real-time priority range, so they have precedence over most system activity. Threads in the Delayed Work Queue have a slightly lower priority that results in higher latency — the threads that service it compete with other processing for CPU time. The number of threads created for each queue is based on two criteria: whether the system is a server or workstation and how much physical memory the system has. You can’t tell directly whether more threads in a particular situation give you better performance, but you can experiment with benchmark workloads to see if they provide a benefit.
    VI-3 To make your foreground windows more responsive than your background windows, in Windows 3.51 you could boost priorities. In NT 4.0 Workstation, instead of boosting priorities, you set quantums to boost foreground windows (Server treats foreground and background windows alike). Change this registry entry to set the boost value.

    Hive:
    HKEY_LOCAL_MACHINE

    Key:
    System\CurrentControlSet\Control

    Value Name:
    PriorityControl

    Data Type:
    REG_DWORD

    Value:
    0

    You can also set the boost value with a slider in the Performance tab of the System Control Panel applet. Valid values are shown below.

    0
    No quantum boost for foreground windows

    1
    Foreground windows have quantums twice as long as other windows

    2
    Foreground windows have quantums three times as long as other windows

    VI-4 Here’s a tricky registry entry.

    Hive:
    HKEY_LOCAL_MACHINE

    Key:
    System\CurrentControlSet\Control\Session Manager\Executive

    Value Name:
    PriorityQuantumMatrix

    Data Type:

    Value:

    Although you can’t use this value to enhance performance, its name implies that you can. This value actually encodes expiration data about NT Beta and Release Candidates.
    MEMORY PERFORMANCE
    When you think of memory performance, fast SRAMs and multilevel caching come to mind. Although these hardware components play a critical role in the latency and throughput of a computer’s memory subsystem, tweaking the Registry obviously cannot upgrade your machine’s hardware. So in this section, improving memory performance means improving the way NT uses physical and virtual memory. You know you’re experiencing memory problems that you can fix with registry entries, rather than additional hardware, when you get “not enough memory to complete task…” messages in the system Event Log or on the display monitor.
    VI-5 The file system cache grows and shrinks as the applications’ memory demands change. However, at system startup, the cache’s minimum, maximum, and “ideal” sizes are calibrated based on the Registry value you set below.

    Hive:
    HKEY_LOCAL_MACHINE

    Key:
    System\CurrentControlSet\Control\Session Manager\
    Memory Management

    Value Name:
    LargeSystemCache

    Data Type:
    REG_DWORD

    Value:
    0

    This value controls the size of the system’s file system cache. A value of 0 indicates a small cache, which is the default setting for Workstation, while 1 indicates a large cache, which is the default setting for Server. Servers usually perform some file sharing and therefore require a larger cache.
    VI-6 NT categorizes memory as either paged or nonpaged. Paged memory holds data that can temporarily be moved from physical memory to the system’s paging file if space is needed for different data in physical memory. Nonpaged memory stores data that must be present in physical memory at all times. NT allocates a portion of physical memory for nonpaged memory when the system starts up, and this allocation can’t grow. If drivers or NT exhaust this storage, the system may become unstable or operations may start to fail. Modifying these two registry entries lets you override the defaults set for the paged and nonpaged pools.

    Hive:
    HKEY_LOCAL_MACHINE

    Key:
    System\CurrentControlSet\Control\Session Manager\
    Memory Management

    Value Name:
    NonPagedPoolSize

    Data Type:
    REG_DWORD

    Value:
    <number in bytes >

    This value is the number of bytes of physical memory you want to allocate for nonpaged memory. To monitor your memory, use Performance Monitor to watch the percentage of committed memory that’s used. If more than 80 percent of memory is used consistently, you should increase this value. Likewise, if the system’s nonpaged memory usage is low, reducing the amount allocated for it increases system performance.

    VI-7
    Hive:
    HKEY_LOCAL_MACHINE

    Key:
    System\CurrentControlSet\Control\Session Manager\
    Memory Management

    Value Name:
    PagedPoolSize

    Data Type:
    REG_DWORD

    Value:
    <number in bytes >

    This value is the number of bytes in the paged memory pool. It overrides the system’s default calculation, which is roughly equal to the physical memory on Workstation and a minimum of 50 MB on Server. Paged pool is different from virtual memory size — the paged pool is space reserved in the system’s virtual memory map for NT and device drivers to allocate pageable data.
    You can monitor the amount of paged pool the system uses with the Performance Monitor, which also shows the maximum allocation possible. If the amount of memory used is consistently more than 80 percent, you should use this setting to override the default.
    NETWORKING PERFORMANCE
    The registry gives you lots of control over Windows NT’s various networking components. Because your system may not run every networking service, you should identify which components are active so that you can target them when evaluating networking performance with tools like Performance Monitor.
    General Networking
    VI-8 This value controls the order in which your network redirectors are used. If you have more than one network redirector, such as Lanmanager Workstation or Client Services for NetWare, loaded on your system, you should consider changing this entry.

    Hive:
    HKEY_LOCAL_MACHINE

    Key:
    System\CurrentControlSet\Control\NetworkProvider

    Value Name:
    Order

    Data Type:
    REG_SZ

    Value:
    <redirector name,redirector name,redirector name>

    In this value, you set the order in which the WNet API uses your network providers. When the WNet API is called, it processes requests by sending them to each network provider in the order listed. If it gets back a response that the provider doesn’t process that type of request, the API calls the next provider listed. Thus, if most of your system’s activity relates to accessing NetWare shares, you should move the NetWare provider name to the start of the list. This small modification can improve performance significantly.
    Redirector
    The Windows NT Redirector manages remote volume connections. When you access a volume across the network, Redirector takes the file system request and invokes the appropriate protocol to send the request to a file system server component on the other machine.
    VI-9 The entry below switches the behavior of Redirector between write-through and write-behind. By default, Redirector delays sending the server write requests to a volume, which lets other operations proceed or complete. When you change this value, Redirector sends write operations immediately and waits for a response before proceeding with other operations.

    Hive:
    HKEY_LOCAL_MACHINE

    Key:
    System\CurrentControlSet\Services\Rdr\Parameters

    Value Name:
    UseWriteBehind

    Data Type:
    REG_DWORD

    Value:
    0

    To disable write-behind, change this value to 1; the default is 0. You may need to use this highly synchronous mode in specialized environments or when tracking down networking problems with a network monitoring tool; otherwise, you should use the write-behind value because write-through degrades performance.
    VI-10 The value in the registry entry below is a hybrid between write-through and write-behind modes.

    Hive:
    HKEY_LOCAL_MACHINE

    Key:
    System\CurrentControlSet\Services\Rdr\Parameters

    Value Name:
    UseAsyncWriteBehind

    Data Type:
    REG_DWORD

    Value:
    1

    The default value of 1 enables asynchronous write-behind, which means that Redirector immediately sends write requests to the server but doesn’t wait for a response before processing other requests. Changing the value to 0 disables asynchronous write-behind; you should disable it only when the network requires special coherency guarantees or when you’re debugging.
    Lanmanager Workstation
    Lanmanager Workstation is Microsoft’s implementation of a Redirector. It speaks SMB (Server Message Block).

    V-11
    Hive:
    HKEY_LOCAL_MACHINE

    Key:
    System\CurrentControlSet\Services\LanmanWorkstation\ Parameters

    Value Name:
    MaxCmds

    Data Type:
    REG_DWORD

    Value:
    15

    This value specifies the number of threads that the Workstation service creates during initialization to handle requests; the default value is 15. If Workstation has more requests than it has threads to service those requests, it holds up some requests until a thread finishes servicing a request. Therefore, if multiple users or applications are simultaneously accessing remote shares, increasing this value can improve network throughput.

    VI-12
    Hive:
    HKEY_LOCAL_MACHINE

    Key:
    System\CurrentControlSet\Services\LanmanWorkstation\ Parameters

    Value Name:
    SessTimeout

    Data Type:
    RED_DWORD

    Value:
    45

    This value sets the number of seconds after a request is queued before Lanmanager indicates that the request has failed (if it hasn’t been processed). The default value is 45. Applications that access network shares may report not having enough memory to process a request — too many outstanding operations are on the volume and some requests are timing out. Raising this value lets more operations be serviced asynchronously and may cause the messages to go away.

    VI-13
    Hive:
    HKEY_LOCAL_MACHINE

    Key:
    System\CurrentControlSet\Services\LanmanWorkstation\ Parameters

    Value Name:
    CacheFileTimeout

    Data Type:
    REG_DWORD

    Value:
    10

    This value specifies the time after which Lanmanager Workstation purges its locally cached data after closing a file. Many applications open files, perform an operation, close them, and repeat this sequence to perform more operations. If you have a system with a dedicated application, you can adjust this value to improve performance. Increase the time if applications close and reopen the same files at intervals longer than 10 seconds, and reduce the time if applications access few files and do not open and close them regularly.

    VI-14
    Hive:
    HKEY_LOCAL_MACHINE

    Key:
    System\CurrentControlSet\Services\LanmanWorkstation\ Parameters

    Value Name:
    DormantFileLimit

    Data Type:
    REG_DWORD

    Value:
    45

    This value sets the number of files that Lanmanger leaves open in the file system cache after an application closes it. By default, Lanmanager Server allows only a certain number of open files from any one Lanmanager Redirector connection. Having a file open on the connection can improve performance if the application opens it again. However, keeping files open can also overload the server’s limit, and in those cases you should reduce this value.
    VI-15 Normally, Lanmanager Workstation reads and stores data in the local file cache before an application requests it. These read-aheads can cause network degradation when applications rarely read files sequentially on shared volumes or when the network’s throughput is low. To better manage the read-ahead function, change this registry entry.

    Hive:
    HKEY_LOCAL_MACHINE

    Key:
    System\CurrentControlSet\Services\LanmanWorkstation\ Parameters

    Value Name:
    ReadAheadThroughput

    Data Type:
    REG_DWORD

    Value:
    -1

    This value sets the minimum network throughput, in kilobytes per second, before Lanmanager Workstation enables the read-ahead function. The default value is -1.
    Lanmanager Server
    Lanmanger Server is Microsoft’s implementation of an SMB (Server Message Block) file server. It is a focal point of performance tuning for any file-sharing server.
    VI-16 If you frequently get “server paged” or “server nonpaged” errors in Performance Monitor, you are seeing Lanmanager Server running out of memory that it’s allocated for itself. You may want to raise these values to give Lanmanager Server more memory; however, giving these memory resources to Lanmanager keeps other system drivers and applications from using them. To give Lanmanager more paged and nonpaged memory, change the registry entries below.

    Hive:
    HKEY_LOCAL_MACHINE

    Key:
    System\CurrentControlSet\Services\LanmanServer\ Parameters

    Value Name:
    MaxNonPagedMemoryUsage

    Data Type:
    REG_DWORD

    Value:
    0

    VI-17
    Hive:
    HKEY_LOCAL_MACHINE

    Key:
    System\CurrentControlSet\Services\LanmanServer\ Parameters

    Value Name:
    MaxPagedMemoryUsage

    Data Type:
    REG_DWORD

    Value:
    0

    These values set the number of megabytes allocated by Lanmanager Server for nonpaged and paged memory. The default, which is determined internally, is 0.
    VI-18 By default, Lanmanager Server’s worker threads run at one priority level higher than typical application threads. If network throughput is low because the Server’s threads are competing with other threads for processor time, you may want to change this registry entry to increase the priority boost.

    Hive:
    HKEY_LOCAL_MACHINE

    Key:
    System\CurrentControlSet\Services\LanmanServer\ Parameters

    Value Name:
    ThreadPriority

    Data Type:
    REG_DWORD

    Value:
    1

    Valid values are 0, 1, or 2, which determine how many levels above normal priority Lanmanager’s worker threads run; and 15, which makes Lanmanager Server’s threads run at real-time priority. Increasing the priority may reduce the responsiveness of other applications and services on the machine, especially if you set it to real-time priority.
    VI-19 When the server maintains extra pre-initialized end-points, establishing new connections takes less processing. This value sets the number of end-points the server maintains.

    Hive:
    HKEY_LOCAL_MACHINE

    Key:
    System\CurrentControlSet\Services\LanmanServer\ Parameters

    Value Name:
    MinFreeConnections

    Data Type:
    RED_DWORD

    Value:
    2

    Valid values range from 2 to 5; the default is determined internally. You can reduce the value to minimize idle memory overhead when the memory resources on the system are in high demand.
    VI-20 If memory resources are scarce or if you want to limit the total number of users that can simultaneously log on to the server, change this registry entry.

    Hive:
    HKEY_LOCAL_MACHINE

    Key:
    System\CurrentControlSet\Services\LanmanServer\ Parameters

    Value Name:
    Users

    Data Type:
    REG_DWORD

    Value:
    <number>

    The value is the number of users who can long on to the server simultaneously.
    VI-21 Every time a connection is made to Lanmanager Server, resources are allocated to service it. Sometimes idle connections tie up resources for a long time. To free resources sooner, change this registry entry.

    Hive:
    HKEY_LOCAL_MACHINE

    Key:
    System\CurrentControlSet\Services\LanmanServer\ Parameters

    Value Name:
    AutoDisconnect

    Data Type:
    REG_DWORD

    Value:
    15

    This value specifies the number of minutes a connection can be idle before it is automatically disconnected and the resources associated with it are freed. The default value is 15. Reducing this value can keep resource usage to a minimum, but it’s possible to incur additional overhead if clients reconnect after their connections are dropped.
    VI-22 The registry entry below tells Lanmanager Server to allocate work items for processing raw SMBs (Server Message Blocks).

    Hive:
    HKEY_LOCAL_MACHINE

    Key:
    System\CurrentControlSet\Services\LanmanServer\ Parameters

    Value Name:
    EnableRaw

    Data Type:
    REG_DWORD

    Value:
    1

    Setting this value to 1 (the default) enables support for raw SMBs, and performance improves. Setting this value to 0 disables support.
    VI-23 Opportunistic locking is a performance-enhancing protocol Windows NT file systems use to detect remote machines’ modifications to shared files and directories. Enabling op-locks can cause you to lose cached data if the system fails.

    Hive:
    HKEY_LOCAL_MACHINE

    Key:
    System\CurrentControlSet\Services\LanmanServer\ Parameters

    Value Name:
    EnableOpLocks

    Data Type:
    REG_DWORD

    Value:
    1

    The default value is 1, which enables op-locking. Change the value to 0 to disable this feature.

    Page: 1, 2
    next page

    ADS BY GOOGLE
    SPONSORED LINKS
    FEATURED LINKS

    EXCHANGE 2007 Mastery Series – May 29, 2008
    3 Info-packed eLearning seminars for only $99! Learn the pros and cons of your mailbox high availability options, see real-world examples of Transport Rules, and get started with basic PowerShell commands with Mark Arnold, MCSE+M and Microsoft MVP.
    Windows IT Pro Master CD: Take the Experts with You!
    Find the solutions you need in thousands of searchable articles, helpful bonus content, and loads of expert advice with the Windows IT Pro Master CD. Order comes with a 1-year subscription to the new, online articles posted every day!
    Making the Case for Oracle Database on Windows
    One of the best-kept secrets in the IT industry is the depth of support Oracle offers to customers deploying its databases on Microsoft Windows platforms.
    SQL Server Magazine Master CD: Take the Experts with You!
    Find the solutions you need in thousands of searchable articles, helpful bonus content, and loads of expert advice with the SQL Server Magazine Master CD. Order comes with a 1-year subscription to the new, online articles posted every day!
    Attention User Group Leaders...
    Announcing the eNews Generator—a FREE HTML e-newsletter builder for user group leaders. Build your HTML and text e-newsletters in minutes. And add Windows IT Pro & SQL Server Mag articles alongside your own message!.
    Become a fan of Windows IT Pro on Facebook
    Join the Windows IT Pro fan club on Facebook. Chat with other IT Pros, upload your pictures, check out what's up n' coming in the next issue and more!

    Clean Windows XP
    Clean out Windows XP in Minutes! 100% Free XP Cleaning Download...
    www.PCTuneUpTips.com
    Registry Cleaners Exposed
    Don't Download Any Registry Cleaner Until You See This Shocking Review!
    RegistryCleanerGuide.org
    Virus & Trojan Remover
    Perform Registry Compression, Defrag, Manage & Cleanup Your PC.
    www.RegClean.com
    Server Performance
    Windows Server Performance Monitor the professionals choice
    www.DemandTech.com

    Solve the 12 Toughest Active Directory Management Tasks Today
    No matter which management tasks you’re dealing with, you’ll discover a new set of ideas about how to best manage your Active Directory environment.
    Get Started with Oracle on Windows DVD
    Learn how Oracle gives you the power to grow by providing a scalable, easy-to-use platform for running your business at a price you can afford.
    Automatically fix broken links!
    Patented technology lets you migrate files without broken links.
    Order Your Fundamentals CD Today!
    Register today for your in-depth copy of one of three Fundamental CDs on the following topics – Exchange, SQL, and SharePoint.
    Virtualization Essentials – Free Online Conference :: June 24th
    Learn virtualization basics - Discover how to reduce IT costs while increasing the efficiency, utilization, and flexibility of your existing computer hardware. Register Today!
    Gain enhanced insight into and control over your IT systems.
    View this web seminar to learn about the latest and greatest features and product enhancements in the Systems Center Configuration Manager SP1 and R2.
    11 Myths About Microsoft Exchange Backup & Recovery
    This white paper will guide you in overcoming Exchange Backup and Recovery myths with careful planning and the right toolset.

    Windows IT Pro Home Register About Us Affiliates / Licensing Press Room Media Kit Contact Us/Customer Service

    SQL Connected Home IT Library SuperSite FAQ Wininfo News
    Europe Edition Office & SharePoint Pro Windows Dev Pro Windows Excavator


    Windows IT Pro is a Division of Penton Media Inc.
    Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing

    地震 网站变成灰黑色 css 代码

    使用方法:

    最简单的把页面变成灰色的代码是在head 之间加

    <style type="text/css">
    html {
    FILTER: gray
    }
    </style>

    第一情况:把下面代码复制到你网页的<head></head>中就可以了实现

    <style type="text/css">
    <!--
    BODY {
    filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
    }
    -->
    </style>

    第二情况:如果你的站已有CSS,那加入

    html { filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1); }

    就可以了

    第三情况:如果你的CSS中已有BODY {}那么你就加入

    filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
    例如:

    BODY {
    FONT-SIZE: 12px; MARGIN: 0px; COLOR: #000000; BACKGROUND-COLOR: #ffffff;
    filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);}

    第四情况:有一些站长的网站可能使用这个css 不能生效,是因为网站没有使用最新的网页标准协议

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">

    请将网页最头部的<html>替换为以上代码。

    第五情况:有一些网站FLASH动画的颜色不能被CSS滤镜控制,可以在FLASH代码的<object …>和</object>之间插入:

    <param value="false" name="menu"/>
    <param value="opaque" name="wmode"/>

    Browserflags

    Ok, In the WinXP registry's HKCR section, a lot of items have the Browserflags and Editflags values. I have no idea what they do, or what the various data in the values does, either.
    Does anyone know of a site that explains these values in detail, effects of modifying each value's data, or anything else? It seems they're responsible for a variety of things, like (I think) making corresponding entries in Tools-Folder Options-File Types editable or locked. Plus various other things. In the above HKCR\shell\explore entry, it seems these keys may be responsible for whether an opened explorer window shows the folder tree or not.
    Lots of the BF/EF values have different data, but the most common I see are:

    CODE

    [HKEY_CLASSES_ROOT\Folder\shell\explore]
    "BrowserFlags"=dword:00000008
    "ExplorerFlags"=dword:00000000

    Many are different (see the 3 examples posted below). I've seen data of: 0, 1, 2, 3, 8, and 65536 among others. And sometimes the value is binary instead of a dword.

    CODE

    [HKEY_CLASSES_ROOT\Folder\shell\explore]
    "BrowserFlags"=dword:00000010
    "ExplorerFlags"=dword:00000012
    [HKEY_CLASSES_ROOT\mp3file]
    "EditFlags"=dword:00010000
    "BrowserFlags"=dword:00000008
    [HKEY_CLASSES_ROOT\Msi.Package]
    "EditFlags"=hex:00,00,10,00
    "BrowserFlags"=dword:00000000

    Dword, Binary, lots of different data values. It's pretty darn confusing. Trying to track changes with a registry monitor will probably drive you insane, because checking or unchecking the same option in two different entries in Tools-Folder Options-File Types doesn't neccessarily change each entry's data to the same number(!).
    Then there's the other ~19 values that frequently appear in HKCR entries.
    The first nine, I pretty much get what they do, They're posted just for general info for anyone that might need it.
    The second group, I have little or no clue what they do. For Full/PreviewDetails, no idea *where* they do it smile.gif
    AlwaysShowExt (REG_SZ, Apparently forces filetype's extension shown in explorer.)
    BaseClass (REG_SZ, References item's larger class. On AudioCD Entry, value is "Drive" for example.)
    FriendlyTypeName (REG_EXPAND_SZ, References entry's "friendly" name or a resource in various DLLs)
    ContentType (REG_SZ, Lists the appropriate Mime type for the filetype)
    InfoTip (REG_EXPAND_SZ, References entry's Infotip resource or a resource in various DLLs)
    IsShortcut (REG_SZ, Sometimes Blank, Sometimes Value="1" Apparently tells Windows filetype is a shortcut.)
    MP2.Last (REG_SZ, Backup filetype created by WMP or another media player, I think.)
    NeverShowExt (REG_SZ, Apparently forces filetype's extension hidden in explorer.)
    PerceivedType (REG_SZ, References a general filetype, i.e. Image/Video/Application)
    -Now there's these guys...

    NoOpen
    (REG_SZ, HKCR\bin, HPCR\dat, HKCR\ACLfile, Blank Data.)
    DefaultDropEffect (DWORD, HKCR\cdafile Data="0x00000004" )
    PreferExecuteOnMismatch (DWORD, Many keys. Value usually="1")
    TileInfo (Reg_SZ, HKCR\dllfile Data="prop:FileVersion;FileDescription" Shows prop info somewhere, but where?)
    URL Protocol (REG_SZ, KHCR\file Blank. Found in protocol entries: "http/https" Also in "file". "ed2k", "telnet" etc.)
    Source Filter (REG_SZ, HKCR\file. Data="{E436EBB6-524F-11CE-9F53-0020AF0BA770}" CLSID. No idea.)
    LocalizedString (REG_SZ, HKCR\folder Blank data. No idea.)
    ShellFolder (REG_SZ, HKCR\ftp Data="{63da6ec0-2e98-11cf-8d82-444553540000}" CLSID. No idea.)
    FullDetails (REG_SZ, HKCR\InternetShortcut Data="prop:System.Link.TargetUrl;System.Rating; etc.." Where?)
    PreviewDetails (REG_SZ, HKCR\InternetShortcut Data="prop:System.Link.TargetUrl;System.Rating; etc.." Where?)
    Searching for information on the BF/EF entries is darn near impossible as search results catch the millions of registry entries posted in millions of forums. I have scoured 3 books on the XP registry, and these items were not mentioned at all in two books, and given a one-line mention in the third. Even though they're in code examples that detail everything else, BrowserFlags/EditFlags get no mention.
    I don't care so much about the second group of 10 entries, as they don't seem like anything I need or want to tweak. But I'm pretty sure BrowserFlags/EditFlags handle things I DO want to screw with, and it bothers me I can't find out what. So, does anyone here know:
    1. What do these entries actually do?
    2. What data values are valid for each entry?
    3. What do each of those data values do?

    Even a link to somewhere they're explained beyond "Uh, they manage complex stuffs." would be very much appreciated. I've looked for information on these values off and on for 2 years now, with zero success.
    This is definitely one of those things where whoever helps me solve it earns a spot on my Christmas list. smile.gif
    Thanks in advance.
    Kel

    [deXter]

    May 6 2007, 12:20 AM

    BrowserFlags 0x8 or 0x9 indicates that a particular app should open in its own window when its associated file is clicked (as opposed to opening within IE. For eg: MS Office docs). 0x10 indicates that when a link is clicked, the existing window should be reused instead of opening a new window. (0x22 in windows explorer - when you open a folder, it opens in an existing window instead of opening a new one). 0x24 or 0x00 indicates that the viewer should be embedded in the browser.
    EditFlags indicates what explorer should do with a particular filetype and/or defines what class it is. 00 01 00 00 turns off the "Confirm open after download" box in IE. 00 00 00 means no special attributes have been defined for that class. 02 00 00 00 is used for the mailto: protocol for mail clients.
    Technically, the EditFlags value for a filetype indicates a set of attributes that control the behavior of the filetype, or more specifically how the system should handle it. For eg, 0x00040000 indicates that the file is unsafe and should always be prompted before execution and 0x00100000 indicates that a file of that class shouldn't be included in the Recent Documents list. Now to indicate both these attributes in a single EditFlags binary, a logical OR is performed. = 0x00060000. Now this, in the binary EditFlags will be stored with reversed bytes as 00 00 06 00.
    For more details, read the Creating a File Association article on MSDN.

    kelaniz

    May 6 2007, 01:18 AM

    deXter: That page was exactly what I was looking for, and the info in your post was a bonus. I swear MSDN hates me. I *scoured* that site, and that same section on more than one occasion looking for this info, and never saw it. smile.gif
    Editflags looks to be so useful, I wonder why it's not more commonly used amongst regtweakers? Sure, those settings are there to keep people from screwing up their install, but for those who know what they're doing (and even when they don't, try it anyway) being able to change those behaviors is pretty useful. For example, a tweak to remove a few dozen useless filetypes from the recent document list might make that feature worth the problems it creates. Same thing for a tweak to remove these two annoyances from a few filetypes:
    FTA_noEditIcon (0x00000200)
    -Prohibits the modification or deletion of the icon assigned to the file class.
    FTA_NoNewVerb (0x00000020)
    Prohibits the addition of new verbs to the file class.
    BrowserFlags seems to have some nifty possibilities, too.
    Anyway, Many thanks for your post. It'll be very, very helpful.
    Cool avatar, btw. Turn the guy pale white, make the cat look bored and I'd think I was staring into a mirror. smile.gif
    -Kel

    [deXter]

    May 6 2007, 01:23 AM

    Glad to be of help smile.gif
    That avatar is a very accurate digital representation of me, my cat and my computer. Yes, that also includes the blue computer chair, and the toolbox tongue.gif
    You can make your own custom avatar from here: http://www.messdudes.com/

    治标又治本!Win XP异常故障解决方法

     

    http://school.21tx.com 2005年10月14日 Yesky

    -

    Windows XP除了界面上的美观和安全性能大大提高外,在很多小地方考虑得很周到,体贴方便了用户。比如它的储存当前状态到硬盘,然后开机不必再经过硬件的初始化,直接从储存的状态读取数据,一般能在15秒左右开机,启动的速度大大提高。

    但是,由于硬件和软件的兼容性,使用XP的这种功能的时候,可能会遇到一些异常的情况,下面就分析一下并给出参考的解决办法:
    一、板载声卡发音不正常

    现在很多主板都附带了AC97的声卡,如果您的机器里的板载声卡是软声卡,那么有可能会在挂起到硬盘后,第二次快速开机的时候,发现声音不正常。笔者见过一块精英的SIS735主板上附带的软声卡就是如此——不仅在WindowsXP快速开机后发音不正常,在Windows98退出到纯Dos状态后,再用EXIT指令回到windows图形界面的时候,声卡根本不发音。
    参考的解决办法:由于这是硬件方面的问题,故此人工调整的机会不大。可以尝试更换最新的驱动程序,如果不行,就只好买一块外接的声卡或是老老实实地重新启动电脑了。值得注意的是,在XP中,此时声卡还是有很小沙哑的声音的,听起来就像音箱的问题不是声卡的问题,实际却是这种声卡必须经过硬件的重新初始化才能重新使用造成的。这才是我写出这点异常情况真正原因,免得大家在音箱上浪费时间,甚至乱“调整”损坏了音箱。
    二、显示不正常(花屏或黑屏)

    有的机器,在快速开机或是从SLEEP状态唤醒后,可能会出现花屏和黑屏现象。这可能有三种原因:
    1、显示卡驱动的不完善:这算是最轻的故障,你找一个稳定的驱动程序版本安装就是;
    2、电源功率对显示卡的影响:有的劣质电源功率不够,会造成AGP显示卡的供电不足,而XP的重新快速开机是不再初始化硬件的,依赖主板的ACPI功能,所以可能会在电源方面有些影响。
    参考的解决办法:一是在BIOS里和windows的电源选项里进行调整,尽量不使用花哨的功能;二是可以建立一个文本文件的快捷方式,放在桌面上,加上自己定义的快捷键,在黑屏或花屏的时候,按快捷键启动这个文本,可能会在屏幕的部分区域显示出文本的内容,多用鼠标点击切换几次画面,显示卡因为刷新了显存中的内容,可能会恢复正常的显示,这是个有点旁门左道、治标不治本的法子,但很实用,呵呵。

    三、快速开机后鼠标无法移动
    这种故障并不是死机,键盘还是有响应的。其实在以前的windows9X里的唤醒后,也有出现。可能会有两种情况:
    1、你的鼠标和主板或是电源不兼容。
    2、你的鼠标是冒牌货,所以windowsXP在使用相应内置的驱动程序的时候,识别上有问题,造成一些BUG。
    参考的解决办法:先试试把鼠标拔掉,再插上,利用windows的即插即用再次检测鼠标,但这样长久可能会损坏主板接口;更换其他品牌的鼠标,最好是正品鼠标;或是把鼠标的连接从PS/2接口与串口切换一下试试,有些PS/2接口的鼠标是不太适应XP的新功能的。顺便提醒一句,别小看鼠标的冒牌问题,以为能用就成——在安装windowsXP和Windows2000的时候,经常就因为假鼠标造成安装的失败。
    四、激活问题
    Windows XP加入了激活的设置防止盗版。有的人安装的是30天要激活的版本,如果你的主板电池掉电了,开机的日期不正常,在快速开机的“欢迎使用”之后,windows XP可能会提示你必须激活才能使用。因为有的人贪图方便,可能会在没保存或转移某些重要文档的情况下就用了挂起到硬盘的功能,遇到激活提示的时候,因为激活功能锁定了系统,不能再进入图形界面处理未完成的文档而损失工作的成果。这虽不算快速开机的真正故障,也不算很普遍,还是要提醒大家的,如果你不想激活产品,那么注意你的日期哦——因为快速开机毕竟也是一种重新启动,windowsXP是会检测的。

    假作真来真亦假--虚拟磁盘分区之满汉全席

    http://school.21tx.com 2004年06月18日 中国电脑教育报

    上一页 1 2 3 下一页

    Windows XP中,我们可以将任意一个分区挂载到NTFS文件夹(注意必须是NTFS文件夹)中,这样就可以按目录树对磁盘分区进行访问,从此不需要再记忆数据到底存放在哪个分区了。它的设置方法并不复杂:

    单击“开始→运行”,打开“运行”对话框,输入“compmgmt.msc”后回车,打开“计算机管理”窗口。选择左侧控制台树的“磁盘管理”项目,然后在右侧卷列表里用鼠标右键单击G盘,并选择“更改驱动器名和路径”命令,接下来的步骤可以参见图2所示,很快就能把G盘挂载到E盘的某个目录(假设是E:\\\\Download)。现在小强可以继续把下载文件存放到E:\\\\Download,但是文件实际上是保存在G盘。

    -


    图2 挂载分区

    利用分区挂载,我们还可以完成一些很“另类”的功能,例如轻松地禁止普通权限的用户使用光驱:

    选择左侧控制台树的“磁盘管理”项目,在右侧卷列表中用鼠标右键单击光驱图标,选择“更改驱动器名和路径”命令;删除原来的光驱盘符(不要理会警告信息),再单击“添加”按钮;选择“装入以下空白NTFS文件夹”选项,并指定该空白NTFS文件夹的路径,假设是在“D:\\\\光驱\\\\E”,这样就把该光驱挂载到指定的NTFS文件夹;今后用户就只能通过“C:\\\\光驱\\\\E”来访问光驱了,对“D:\\\\光驱”这个目录设置NTFS权限,方法是:用鼠标右键单击该目录,选择“属性”,在打开的“属性”对话框中切换到“安全”选项卡,然后删除用户列表里的普通用户(必须事先在“文件夹选项”对话框里禁用“简单文件共享”功能),普通用户将无法访问光驱(会提示“访问拒绝”)。

    需要注意的是,我们无法直接对“D:\\\\光驱\\\\E”设置NTFS权限。挂载目录必须位于某个NTFS分区,换句话说,这是一个NTFS目录。

    移花接玉:物理内存变磁盘分区
    把物理内存虚拟成磁盘分区,听起来很玄,其实可以说“古已有之”——熟悉Windows 98启动盘的朋友都知道,里面的Ramdrive.sys就是一个内存磁盘虚拟工具,借助Config.sys配置文件里“devicehigh=ramdrive.sys /E 2048”语句,它可以在物理内存里划分出一个2MB的区域,并将它虚拟成磁盘E,然后将Erd.cab压缩包里的维护工具释放到E盘里。看来,这个Ramdrive能耐还不小,不过遗憾的是启动盘里的Ramdrive只能在实模式的Dos下工作,在Windows XP环境下就会“水土不服”。好在我们还有“Ramdisk for XP”,它可以说是Ramdrive的同门师弟,完全可以在Windows XP下工作,我们可以从http://www.skycn.com/soft/13390.html下载它的最新版本。它的使用方法很简单:只需在配置窗口上指定虚拟分区占用的物理内存容量、文件系统类型、还有该虚拟分区的盘符,最后单击“Add”按钮即可,如图3所示。

    十分钟打造适用所有电脑的Windows封装包

    http://school.21tx.com 2005年10月12日 Yesky

    -

    1 2 3 4 下一页

    对于那些经常需要给朋友攒机或者重新安装操作系统的电脑高手来说,每次安装Windows系统所经历的漫长等待无异于一次折磨。虽然身边有Ghost之类分区镜像软件,但是每台计算机配置不同造成Windows对于硬件的检测不一样,再加上Windows XP/2003独有的激活策略,这似乎使得Ghost没有了用武之地。其实这些并非没有解决之道,只要将自动应答文件和Ghost有机结合起来,我们也可以打造出一个适用于所有计算机的Windows封装包,这样仅需十分钟即可完成以前几个小时的繁琐安装了。
    一、卸载驱动程序

    大家都知道在第一次安装Windows的时候,系统会对当前计算机硬件进行检测,并且安装相应的驱动程序,因此对一个已经正常运行的Windows封包之前,需要卸载各种驱动程序,而这对最终得到的封装包是否能够运用在其它计算机中也是非常必要的。

    1. 卸载硬件驱动程序

    卸载硬件驱动程序并不是在设备管理器中随意卸载,必须要按照一定的顺序进行,通常我们可以参照网卡、USB设备、声卡、显卡、显示器等步骤进行。在卸载驱动程序的时候,首先从设备管理器中选取某个设备,接着右击鼠标并且从弹出菜单中选择“卸载”命令即可。

    2. 更改ACPI属性

    ACPI是高级电源管理的意思,虽然如今大部分计算机都支持ACPI功能,但是不同主板的ACPI类型不同,倘若你和别人所使用的计算机的ACPI不同,那么就会出现电脑无法软关机的故障,为此一定要更改ACPI属性。更改ACPI属性的时候,先从资源管理器中选择“计算机→ACPI Uniprocessor PC”,接着从鼠标右键菜单中选择“更新驱动程序”命令,在出现的驱动程序更新向导中依次选择“从列表或指定位置安装→不要搜索,我要自己选择要安装的程序”,这时可以看见图1所示的窗口(如图1),将ACPI类型更改为“Standard PC”一项即可。

    3. 更改驱动器属性

    在创建Windows封装包过程中,更改磁盘驱动器的属性非常重要,如果忽略这个步骤,那么其它计算机使用这个封装包安装Windows之后就会出现无法正常引导计算机,并且不断重新启动的故障。因此我们需要将IDE控制器更改为标准双通道的PCI IDE控制器,这样才能使其适用于如今各种不同类型的主板。首先从资源管理器的“IDE ATA/ATAPI控制器”中找到当前正在使用的IDE控制器,右击鼠标之后从弹出菜单中选择“更改驱动程序”命令,接着在出现的驱动程序更新向导中依次选择“从列表或指定位置安装→不要搜索,我要自己选择要安装的程序”,最后从窗口中选取“标准双通道PCI IDE控制器”一项即可。

    完成上述三方面的驱动程序卸载之后,基本上就可以利用Windows的自动应答文件来创建封装包了。不过提醒大家注意的是,无论卸载硬件驱动程序还是更改相关的属性,完毕之后系统都会提示重新启动计算机,这时候切记不要选择重新启动计算机,而是在下面的重新封装过程中由程序自动关闭计算机,否则重新启动计算机之后系统会提示发现新硬件,又需要安装新的驱动程序了。

    图1 更改ACPI属性

    上一篇: 微软IE浏览器非常规修改全攻略
    下一篇: 让“主题”在你的桌面绽放

    1 2 3 4 下一页

    微软开恩 官方补丁一分不花让Pro变Server

    http://school.21tx.com 2004年06月11日 PCPOP电脑时尚

    我们知道Windows 2000专业版或Windows XP专业版操作系统中IIS最多允许10个客户端的连接,在Windows 2000服务器版或Windows 2003服务器版操作系统中则不存在这种连接限制问题。

    Microsoft提供了一个管理IIS的小工具MetaEdit,MetaEdit工作在Windows NT4.0 Windows 2000上,我发现它在Windows XP上也能正常工作,另外,MetaEdit只能管理II4.0、IIS5.0或更高版本的IIS。

    -

    下面教你如何利用这个工具突破Windows XP专业版IIS客户端连接限制:

    首先,你需要到下面的地址下载MetaEdit,最新版本是2.2,地址【这里】。然后执行MtaEdt22.exe按向导提示完成安装。最后,在MetaEdit中设置客户端连接限制的参数。安装MetaEdit完毕后,在开始菜单的程序组Administrative Tools下点击MetaEdit 2.2运行,出现窗口:

    在窗口的左边将树展开至LM W3SVC,直接在W3SVC文件夹上单击,选择右边列表中Name为MaxConnections的项,双击后,出现对话框:

    在最后Data的文本框中默认的是10,这就是Windows XP专业版IIS默认设置的最大客户端连接数了,现在你可以改变这个默认值了,我把它改为10000,注意:在Win2000 上的IIS客户端连接数最大为2000000000。

    关于这个工具我还未对Windows2000和Windows NT4下的IIS做过测试,有兴趣的朋友可以按上面的方法试一下。

    我的隐私我做主--用ASL轻松锁定电脑一法

    http://school.21tx.com 2004年06月12日 中国电脑教育报

    任何人都不喜欢别人侵扰自己的私人空间,笔者向大家推荐Active System Locker这款软件,它能轻松解决此类问题。

    Active System Locker
    软件版本:3.0
    软件大小:611KB
    下载地址:http://www.skycn.com/soft/6102.html
    一、基本设置
    将其下载安装后执行该程序,便会弹出一个窗口,从这个窗口中暂时看不出来有什么特别之处,只有一个钥匙样的图标(如图所示)。点击它,屏幕会被立刻被锁住,被锁的屏幕上会有一个对话框,需要输入正确的口令,点“UNLOCK”按钮才能解锁。

    -

    使用前需要设置一下密码,依次打开菜单“File→Option”,出现选项对话框,选择“General Security”选项卡,点击其中的“Change PassWord”按钮,在出现的窗口中填入自己所设的密码即可。

    如果在“Advanced Tuning”一栏中的“Lock error delay”及 “Number of attempts”后分别输入表示密码错误后重试的时间和次数,这样就可避免别人去乱猜密码了。为了防止别人随意更改自己的设置,可勾选“Ask password on entering 'Option' screen and program exit”前的复选框,如果想更改设置,一定要输入正确的密码才行。


    轻轻一按锁住电脑

    二、让软件智能加锁、解锁
    我们若想让系统自动在午休时间12∶30加锁,在上班时间14∶00自动解锁,可通过以下步骤实现:

    1. 在主界面上依次点击菜单“File→Option”,打开设置界面。

    2. 点击“Startup and Schedule”选项卡;在“Lock at time”后的对话框中分别填入几点几分的数值设定加锁的时间,用同样的方法操作“Unlock at time”,别忘了把它们勾选,最后点击“OK”按钮结束。

    三、其它安全设置
    为了防止别人重新启动机器,以跳过该程序去破坏电脑,我们可以分别勾选“Lock system on program startup”、“Minimize program on startup”、“Start program when Windows starts”这三项复选框,这样当系统启动时便会立即开启锁定程序,让破坏者无从下手。

    通过以上操作便可轻松实现锁定自己的电脑,它还可以实现在锁定前设置警告信息、设定热键等功能,由于比较简单,对此兴趣的朋友不妨试试。

    教程:加速IE浏览器载入和浏览的速度

    在默认情况下,IE仅允许从一个网络服务器上同时下载两个会话。这会影响到你网页浏览的速度,因为你无法同时下载到所有组成网页的对象,这样页面的显示就会慢得多。如果你可以强制IE同时下载更多的对象的话,网页的显示就会快得多。
    一个Windows注册表修改的技巧能够做到这一点。通过这样的修改,你就可以迫使IE使用超过两个同时进行的会话。最好的数目是10。下面是操作步骤:
    运行注册表编辑器,依次展开到HKEY_CURRENT_USER\Software\Microsoft
    \Windows\CurrentVersion\InternetSettings。
    选择“编辑”→“新建”→“DWORD值”,创建一个新的DWORD值,命名为MaxConnectionsPer1_0Server,并将其值设为10。
    选择“编辑”→“新建”→“DWORD值”,创建另一个名叫MaxConnectionsPerServer的DWORD值,将其值设为10。
    小提示:
    如果你想要设置的值比10更多,那么这两个DWORD的值相应也要设置一样的。
    最后,退出注册表编辑器并退出IE。当你重启IE后,新的值就会让你的浏览速度加快了。

    迅雷去广告

    1)首先关闭迅雷程序,然后打开迅雷程序的安装目录(默认安装在:C:\Program Files\Thunder Network\Thunder)你可以根据自己的安装目录查找

    2)删除迅雷安装目录下名为“AD”的文件夹

    3)如果能找到名为“iTargetAD.dll”的文件也将其删除

    4)最后重新启动迅雷便看不到讨厌的广告图片了

    5)C;\Program Files\Thunder Network\Thunder,在其下找到gui.cfg,用记事本打开,把“ADServer=”后面的地址去掉即可,不会再显示其它的广告,代之的迅雷本身的一个单一的标志条. 如果还有的话,删除gui.cfg里所有的网址,一般能行的. 所以不必再去下载去广告的补丁。
    6) 再点击该文件的属性,设置属性为“只读”。此法很有用,升级采用覆盖方式。

    六步走!Windows系统硬件冲突故障巧解决

    在计算机中,系统资源包括中断请求(IRQ)线路、直接存储器存储(DMA)通道、输入/输出(I/O)端口和内存地址。当将相同的系统资源分配给两个或多个设备时,就会发生硬件冲突,发生冲突的硬件设备将无法正常工作。以下的方法能够帮助大家解决硬件冲突。
    一、确保设备驱动程序只安装了一次
    1.单击“开始”,指向“设置”,再单击“控制面板”,然后双击“系统”。
    2.单击“设备管理器”选项卡,然后查找重复设备。
    3.如果某一设备出现两次,而实际上只安装了一个这类设备,请将每次出现的该设备都删除,方法是:右键单击重复出现的设备,然后单击“删除”(如图1)。

        4.重新安装设备的驱动程序。

    二、查看资源设置

    确保设备在“设备管理器”选项卡上,只出现一次之后,请检查其资源设置:在“系统属性”的“设备管理器”选项卡上,双击冲突的设备,然后单击“资源”选项卡,检验是否在查看正确设备的资源设置(如图2)。如果不出现“资源”选项卡,则表明该设备未使用任何资源。

    三、是否存在“系统保留”类型的硬件冲突?
    如果“资源”选项卡显示“手工设置配置”按钮,则说明设备存在冲突或其他问题,已被禁用;或者设备所使用的资源设置能正常工作,但不符合任何已知配置。如果在“资源”选项卡上,看到的是资源设置框,请确定是否存在“系统保留”类型的硬件冲突:在“系统属性”的“设备管理器”选项卡上,双击冲突的设备,然后在“资源”选项卡上,查看“冲突的设备列表”。如果“冲突的设备列表”下并没有列出任何冲突,说明正在查看的设备不存在硬件冲突。此时,可以重新启动计算机,以便Windows可以重新配置该硬件。有时,即使是特定设备所使用的资源与计算机的保留资源冲突,这种冲突很可能不会出现问题。如果不出现任何其他问题,则可以忽略这种资源冲突。如果冲突使设备出现使用上的问题,请继续以下解决方法。

    四、配置一种或多种设备,使之使用不同资源
    如果两种设备被配置为使用相同的资源,将其中一种或两种设备配置为使用不同资源,就可以解决硬件冲突问题。
    1.在“系统属性”的“设备管理器”选项卡上,双击冲突设备,然后在“资源”选项卡上,查看“冲突的设备列表”,确定哪些资源设置与其他设备冲突。
    2.在“资源类型”和“设置”的资源设置列表下,双击与其他资源发生冲突的设置旁的图标。如果收到一条消息,说明只有清除“使用自动的设置”复选框之后才能更改资源设置,则请单击“确定”,清除“使用自动的设置”复选框,然后再次双击“设置”旁的图标。
    3.滚动可用资源设置并阅读各种设置的“冲突信息”。如果发现某一设置与其他某个设备并不冲突,请保留“值”框中的所选设置,然后单击“确定”,再次单击“确定”,关闭“系统属性”对话框,并重新启动计算机。
    也许需要调整硬件卡上的跳线,才能符合新设置;也许需要运行硬件厂商提供的配置实用程序,这取决于硬件的类型。如果卡上的跳线设置不对,解决冲突问题之后,硬件也还是无法正常工作。

    五、释放保留的资源设置
    如果“冲突信息”显示所有设置都与其他设备冲突,请连续单击“取消”,关闭“系统属性”对话框,然后释放保留的资源设置:
    1.在“系统属性”的“设备管理器”选项卡上,双击“计算机”。
    2.单击“保留资源”选项卡,单击发生冲突的资源类型(如图3),如果某个资源设置已被保留,那么,系统中的任何设备都不能使用它。“设置”框中列出了已保留的资源设置。如果此框为空,则说明该类型的设置目前尚未保留。

    3.单击“设置”下的特定资源,再单击“删除”,然后单击“确定”。

    六、禁用不再需要的设备
    如果发生冲突的设备之一已经不再需要,可以将其禁用,以解决硬件冲突问题。如果禁用即插即用设备,那么,其他设备可自动获取这些设备的资源。如果禁用的设备不是即插即用型,那么必须从“设备管理”的硬件列表中删除此设备,然后将它从计算机中取出以释放所占用的资源。因此,在禁用不再需要的设备之前,应确定该设备能否“即插即用”。
    (一)确定设备“即插即用”:
    1.在“系统属性”的“设备管理器”选项卡上,双击要禁用的设备。
    2.在“资源”选项卡上,查找“手工设置配置”按钮。如果出现该按钮,则表明该设备能够“即插即用”。
    3.单击“确定”,返回“设备管理器”选项卡。
    (二)禁用“即插即用”设备:
    1.在“设备管理器”选项卡上,双击该设备。
    2.在“设备的用法”下,单击以选中“在此硬件配置文件中禁用”复选框(如图4),单击“确定”,然后再次单击“确定”。

    3.如果提示重新启动计算机,请重新启动。如果不提示重新启动计算机,请单击“确定”,关闭“系统属性”对话框,然后重新启动计算机。
    (三)禁用非“即插即用”设备:
    1.在“设备管理器”选项卡上,单击要禁用的设备,然后单击“删除”。
    2.单击“确定”。
    3.重新启动计算机。
    经过以上六步走,相信你的电脑系统中硬件冲突故障已经解决了!

    做个明白人 全面清除软件模棱两可概念

     

    我们经常会遭遇许多相似但却并不相同的东西,往往模棱两可。比如:Windows Messenger 和MSN Messenger,OutLook Express和Outlook,.bat 和 .cmd等等,你能说清它们之间有哪些区别吗?千万别轻易在它们之间划上等号,否则“菜鸟”的头衔又非你莫属了……

    Windows Messenger、MSN Messenger
        相似度:Windows Messenger和MSN Messenger具有相似的外观、感受和技术(如图1,左边是Windows Messenger,右边是MSN Messenger)。它们都可以使你在计算机上与身处世界各地的朋友或家人进行即时通信,可以使用文本、语音甚至视频进行聊天。


    图1

        表层相异度:Windows Messenger目前的最高版本为4.7,是Windows XP系统自带,安装完Windows XP就已经有了。而MSN Messenger则在需要时自行下载安装,最高版本是眼下正处在测试期的7.0。
        深层相异度:Windows Messenger利用了Windows XP中的几个新增技术——例如回声消除、更短的延迟时间、更高的带宽编码等等;而MSN Messenger的聊天游戏交互功能更多些,可以文字交流、传送文件、声音交流、视频交流之外还专门为提供了一个“活力地带”。在“活力地带”中可以多人游戏,共享文件等活动,另外它所具有的网络电话、视频会议、远程协作和发送电子邮件功能更体现出其强大魅力。
         结论:基于MSN Messenger的技巧和软件都比较多,普通用户建议还是安装使用MSN Messenger比较好。
    小提示
        如果想同时登录两个MSN账户,可以尝试同时使用Windows Messenger和MSN Messenger。

    Windows XP SP1a、SP1
        相似度:它们都是WinXP Service Pack(升级包)。在微软网站上的许多系统更新文件中,Service Pack 1一词同时适应于SP1和SP1a。它们都包含自2001年10月发行、到2002年8月中旬的所有针对Windows XP的安全修补程序。SP1一共修补了原版本的371个问题(不含“冲击波”蠕虫的安全补丁)。
        相异度:从内容上看,Windows XP Service Pack 1a与Windows XP SP1惟一的区别就是SP1a不包括微软的虚拟机(VM),不提供对Java的支持。查看自己的XP系统安装了哪一级的补丁,可以右键单击“我的电脑”,选择“属性”,如图2。另外,它们发布的时间也不相同。SP1是2002年9月9日发布的,SP1a则发布于2003年2月3日。


    图2

        结论:如果已经安装了SP1,就完全没必要升级到SP1a。为了系统的安全,建议统一升级到SP2。
    小提示
    如果要提供对USB 2.0的更好支持,建议升级到SP1a。

    Outlook Express、Outlook
        相似度:两者都可以收发电子邮件。
        相异度:Outlook Express (简称“OE”,如图2)是IE及各种Windows版本中附带的电子邮件客户端,目前最高版本是6.0,是随Windows免费赠送的;而Outlook 则是符合商业使用者需求的产品,它是微软Office产品的一个组件,只有安装了Office且选择了Outlook的用户的机器上才可以使用它。相比OE来讲,Outlook除了可靠性与使用简易性,具有更多电子邮件功能,完整地整合了电子邮件、任务和日程安排、联系人管理等众多实用功能,是商业使用者最理想的客户端程序。它最大的特点在于它能将电子邮件功能与其他Office工具之间的紧密整合,以协助信息管理与共同工作。搭配Exchange Server还可以发挥更强大的信息管理功能。
        结论:家庭用户使用OE就够了,商业办公环境推荐使用Outlook(如图3)。


    图3

    Terminal Service(终端服务)、Remote Desktop(远程桌面)
        相似度:Terminal Service和“远程桌面”都可以通过网络对计算机进行远程控制,即让别人在另一台机器上访问你的桌面,以达到远程协助的目的;远程控制时,主机必须与Internet连接,并拥有合法的公网IP地址;同时,还必须以管理员或Administrators组成员用户的身份登录系统,才具有启动Terminal Service或“远程桌面”的权限。
        相异度:Terminal Service出现在Server版本的Windows中,允许多个用户同时登录一台主机,而“远程桌面”存在于Windows XP以后的所有版本中,一般同一时间内只能允许一个用户登录主机。
        结论:对于普通用户来讲,如果你是Windows XP以上操作系统,“远程桌面”这个功能很有用。有了问题可以直接利用这个功能向高手们远程求助,告知自己的IP地址或域名,可用的用户名及密码(一般权限的用户即可),对方就可直接通过“远程桌面”来访问你的机器帮你排除困难,如图4。


    图5

    bat与.cmd文件
        相似度:同为批处理文件的扩展名。
        相异度:.bat是大家都非常熟悉的批处理文件的后缀名,早在Dos时代都被广泛使用。批处理的最大好处就是可以在我们休息的时候用它去自动完成一些大量重复性的工作。但随着Windows版本的不断升级,在WindowsNT/2000以上的操作系统中,.bat扩展名的批处理文件运行时,有时会有一些堆栈溢出之类的错误发生,而导致批处理程序的中断,无法继续完成后续的工作。此时,用.cmd的扩展名就可以有效的避免这一问题。
        结论:建议在Windows 2000以上操作系统下,批处理文件都用.cmd作为扩展名。

    上一篇: 六步走!Windows系统硬件冲突故障巧解决
    下一篇: 怎样防止别人用ipc$和默认共享入侵

    【重要声明】:天新网刊载此文仅为提供更多信息目的,并不代表天新网同意文章的说法或描述,也不构成任何建议,对本文有任何异议,请联系我们

    怎样由IP地址反查其域名?

    1. 怎样由IP地址反查其域名?

    HP : 0 / 202

    MP : 34 / 2768

    EXP : 10%

    江湖异人

    成员等级: 9
    发表总数: 102
    金币总数: 227
    所属组别: 普通成员
    注册日期: 2003/09/11

    如: 220.189.208.218 我如何知道他的域名呢?
    用ping -a , dig ,nslookup 都不行啊。 sad.gif

    是的,我是超级菜鸡

    发表于2004/08/29, 18:26


    Top

    大鬼
    离线

    2. Re:怎样由IP地址反查其域名?

    HP : 0 / 538

    MP : 201 / 7206

    EXP : 52%

    名动江湖

    成员等级: 22
    发表总数: 605
    金币总数: 351
    所属组别: 高级成员
    注册日期: 2003/10/16

    ping -a 可查到主机名

    发表于2004/08/30, 14:05


    Top

    jzyin
    离线

    3. Re:怎样由IP地址反查其域名?

    HP : 0 / 142

    MP : 20 / 1548

    EXP : 69%

    拜师学艺

    成员等级: 6
    发表总数: 61
    金币总数: 50
    所属组别: 普通成员
    注册日期: 2004/08/24

    找不到就是没有域名

    发表于2004/08/31, 08:23


    Top

    我轻扬
    离线

    4. Re:怎样由IP地址反查其域名?

    HP : 0 / 164

    MP : 25 / 1932

    EXP : 59%

    江湖游侠

    成员等级: 7
    发表总数: 75
    金币总数: 110
    所属组别: 普通成员
    注册日期: 2004/05/11

    现在这用的很少,在arpa里搜索吧

    发表于2004/09/2, 05:30


    Top

    wolf13
    离线

    5. Re:怎样由IP地址反查其域名?

    HP : 0 / 351

    MP : 86 / 4621

    EXP : 5%

    名动江湖

    成员等级: 15
    发表总数: 259
    金币总数: 336
    所属组别: 中级成员
    注册日期: 2003/11/15

    ZAFCSERVER 这是我帮你解析的结果
    是用net tools x工具实现的,我现在没有发现有什么好的办法和工具,如果有的望指点一下。

    发表于2004/09/19, 23:45


    Top

    wolf13
    离线

    6. Re:怎样由IP地址反查其域名?

    HP : 0 / 351

    MP : 86 / 4621

    EXP : 5%

    名动江湖

    成员等级: 15
    发表总数: 259
    金币总数: 336
    所属组别: 中级成员
    注册日期: 2003/11/15

    ping -a 也可以达到同样的效果

    发表于2004/09/19, 23:46


    Top

    xxbin
    离线 荣誉奖品 (1)

    7. Re:怎样由IP地址反查其域名?

    HP : 1025 / 1709

    MP : 4095 / 26834

    EXP : 38%

    rotartsinimdA

    成员等级: 69
    发表总数: 12285
    金币总数: 392
    所属组别: 管理员
    注册日期: 2003/01/1

    它的DNS服务器如果没有配置反向查询域的话是反查不到它的DNS名称的
    有个办法
    break into

    user posted image
    xxbin@netbuddy.org

    发表于2004/09/21, 22:48


    Top

    netman
    离线

    8. Re: Re:怎样由IP地址反查其域名?

    HP : 0 / 192

    MP : 31 / 2066

    EXP : 68%

    武林侠客

    成员等级: 8
    发表总数: 94
    金币总数: 146
    所属组别: 普通成员
    注册日期: 2004/09/9

    我怎么在xp中好像不能用

    发表于2004/09/21, 22:58


    Top

    小宝
    离线

    9. Re:怎样由IP地址反查其域名?

    HP : 0 / 482

    MP : 160 / 6355

    EXP : 29%

    名动江湖

    成员等级: 20
    发表总数: 481
    金币总数: 785
    所属组别: 中级成员
    注册日期: 2003/11/12

    如果做了反向解析就能查到
    用nslookup
    set type=ptr
    2.2.2.2

    有一天,我想象到了自己以后的生活:娶一个姿色平庸但有市户口和固定工作的女人。恩爱个一年半载之后彼此厌倦,她摔碟子我砸碗,她整日以泪洗面怨自己命苦遇人不淑,我每天借酒消愁叹怀才不遇人生苦短。墙角坐着一个屁大的孩子涕泗横流仰天长嚎―――天知道是谁家的孩子?

    发表于2004/09/22, 18:04


    Top

    sanmou
    离线

    10. Re:怎样由IP地址反查其域名?

    HP : 0 / 2

    MP : 1 / 28

    EXP : 10%

    新手上路

    成员等级: 1
    发表总数: 3
    金币总数: 13
    所属组别: 普通成员
    注册日期: 2004/09/22

    以前我发现tracert这个命令也可以.甚至可以看到主机的名字?

    让软件真正的都不显示启动画面

    http://school.21tx.com 2005年10月15日 《电脑应用文萃》邮发代号:6-188 剑锋

    当我们双击一DOC文件时会出现Word的启动画面,单击网页中的邮件链接时,还是会出现OE的启动画面。

        怎样才能够真正地能够把它们去掉,减少系统资源消耗?今天,笔者就给大家一些治标更治本的办法。
    OutLook Express
        设置OE为默认电子邮件后,启动“注册表编辑器”,打开[HKEY_CURRENT_USER\IdentitIEs\\Software\microsoft\Outlook Express\5.0],在右边窗口中右击,选择“新建—DWORD值”,命名为Nosplash。双击Nosplash,再在“键值”框中输入“1”。以后在网页中单击邮件写作链接也不会出现启动画面。

    Adobe Reader
        打开Adobe Reader中文版,选择“编辑→首选项”,单击对话框中的左边列表中“启动”,然后在右边选项中将“应用程序启动”条目下的“显示启动画面”复选框取消(如图1)。双击PDF文件,将不会出现启动画面。


    图1

    MyIE2
        单击“选项→MyIE2选项”,单击“常规→启动时”,取消“显示启动画面”即可(如图2)。如果你使用maxthon,则无需进行任何设置,在任何时候单击网址启动浏览器将不会出现启动画面。


    图2

    Word文件
        启动“资源管理器”,选择“工具→文件夹选项”,再单击“文件类型”标签,找到“DOC Microsoft Word文档”项目,选择旁边的“高级”钮,然后双击“操作”下的“打开”项,在打开窗口中将"C:\Program Files\Microsoft Office\OFFICE11\WINWORD.EXE" /n /dde %1修改为"C:\Program Files\Microsoft Office\OFFICE11\WINWORD.EXE" /q /n /dde "%1"(如图3,即在后面加上/q,同时在%1上加上半角双引号),以后在“资源管理器”中双击DOC文件将不再会有启动画面出现。


    图3

    小提示
    ★经试验,在“资源管理器”中双击XLS(即Excel)文件不会出现启动画面。
    ★在“文件类型”标签中找到“PPT Microsoft PowerPoint演示文档”项目,依照上述操作,将“打开”项设置为"C:\Program Files\Microsoft Office\OFFICE11\POWERPNT.EXE"  "%1" -splash(注意将-splash放在"%1"后面)即可。