<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="/xsl/rss.xsl" type="text/xsl" media="screen"?>
<!--åå®¢åå«æ¥å¿ï¼æ¯äºèç½ä¸ä¸ç§ä¸ªäººä¹¦ååäººéäº¤æµçå·¥å·ãéè¿åå®¢è®°å½ä¸å·¥ä½ãå­¦ä¹ ãçæ´»åå¨±ä¹çç¹æ»´ï¼çè³è§ç¹åè¯è®ºï¼ä»èå¨ç½ä¸å»ºç«ä¸ä¸ªå®å¨å±äºèªå·±çä¸ªäººå¤©å°ãå»ºç«åå®¢ï¼æå©äºä»äººå¨äºèç½ä¸æ´å¥½å°è®¤è¯æ¨ï¼ä¹æå©äºæ¨æ´å¥½çåå«äººäº¤æµãåå®¢ä¸çæ¯ä¸ä¸ªå¼æ¾åå±äº«çä¸çãæçåå®¢ç±æçå¬å¸å¼åï¼ç®åæ¯åè´¹æå¡ã--> 
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:ppp="http://blog.sohu.com/ppp/"
	>

	<channel>
		<title>张磊.LIVE</title>
		<link>http://zhangleixp.blog.sohu.com/</link>
		<description><![CDATA[生命是一个过程，可悲的是它不能重来，可喜的是它也不需要重来。]]></description>
		<pubDate>Tue, 30 Sep 2008 17:32:29 +0800</pubDate>
		<ppp:ebi>0c954b4792</ppp:ebi>
		<generator>搜狐博客</generator>
		<image>
			<title>http://blog.sohu.com</title>
			<url>http://js.pp.sohu.com/ppp/blog/images/common/logo_150_60.gif</url>
			<link>http://blog.sohu.com/</link>
			<width>100</width>
			<height>43</height>
			<description>搜狐博客</description>
		</image>
		
		<item>
			<title>[转]有些人，有些事，有些话，有些爱</title>
			<link>http://zhangleixp.blog.sohu.com/69376857.html</link>
			<comments>http://zhangleixp.blog.sohu.com/69376857.html#comment</comments>
			<dc:creator>张磊.LIVE</dc:creator>
			<pubDate>Sun, 4 Nov 2007 12:07:12 +0800</pubDate>
			<category>采英撷华</category>
			<guid>http://zhangleixp.blog.sohu.com/69376857.html</guid>
			<description><![CDATA[<p><font style="LINE-HEIGHT: 1.3em">有些人一直没机会见，等有机会见了，却又犹豫了，相见不如不见。</font><br /><font style="LINE-HEIGHT: 1.3em">有些事一直没机会做，等有机会了，却不想再做了。</font><br /><font style="LINE-HEIGHT: 1.3em">有些话埋藏在心中好久，没机会说，等有机会说的时候，却说不出口了。</font><br /><font style="LINE-HEIGHT: 1.3em">有些爱一直没机会爱，等有机会了，已经不爱了。</font><br /><br /><br /><font style="LINE-HEIGHT: 1.3em">有些人很多机会相见的，却总找借口推脱，想见的时候已经没机会了。</font><br /><font style="LINE-HEIGHT: 1.3em">有些话有很多机会说的，却想着以后再说，要说的时候，已经没机会了。</font><br /><font style="LINE-HEIGHT: 1.3em">有些事有很多机会做的，却一天一天推迟，想做的时候却发现没机会了。</font><br /><font style="LINE-HEIGHT: 1.3em">有些爱给了你很多机会，却不在意没在乎，想重视的时候已经没机会爱了。</font><br /><br /><br /><font style="LINE-HEIGHT: 1.3em">人生有时候，总是很讽刺。</font><br /><font style="LINE-HEIGHT: 1.3em">一转身可能就是一世。</font><br /><font style="LINE-HEIGHT: 1.3em">说好永远的，不知怎么就散了。最后自己想来想去竟然也搞不清当初是什么原因分开彼此的。</font><br /><font style="LINE-HEIGHT: 1.3em">然后，你忽然醒悟，感情原来是这么脆弱的。</font><br /><font style="LINE-HEIGHT: 1.3em">经得起风雨，却经不起平凡；风雨同船，天晴便各自散了。</font><br /><font style="LINE-HEIGHT: 1.3em">也许只是赌气，也许只是因为小小的事。</font><br /><font style="LINE-HEIGHT: 1.3em">幻想着和好的甜蜜，或重逢时的拥抱，那个时候会是边流泪边捶打对方，还傻笑着。该是多美的画面。</font><br /><br /><br /><font style="LINE-HEIGHT: 1.3em">没想到的是，一别竟是一辈子了。</font><br /><font style="LINE-HEIGHT: 1.3em">于是，各有各的生活，各自爱着别的人。曾经相爱，现在已互不相干。</font><br /><font style="LINE-HEIGHT: 1.3em">即使在同一个小小的城市，也不曾再相逢。</font><br /><font style="LINE-HEIGHT: 1.3em">某一天某一刻，走在同一条街，也看不见对方。先是感叹，后来是无奈。</font><br /><br /><br /><font style="LINE-HEIGHT: 1.3em">也许你很幸福，因为找到另一个适合自己的人。</font><br /><font style="LINE-HEIGHT: 1.3em">也许你不幸福，因为可能你这一生就只有那个人真正用心在你身上。<br /></font>很久很久，没有对方的消息，也不再想起这个人，也是不想再想起。 <br />再回首时，容颜已无法辨认！</p>
<p><font size="1">[原文链接：</font><a href="http://free.21cn.com/newbbs/mainframe.jsp?url=/forum/bbsMessageList.act?bbsThreadId=1399174"><font size="1">http://free.21cn.com/newbbs/mainframe.jsp?url=/forum/bbsMessageList.act?bbsThreadId=1399174</font></a><font size="1">&nbsp;]</font></p>
<p><font size="1"></font>&nbsp;</p>]]></description>
		</item>
		    
		
		
		<item>
			<title>《你的灯亮着吗？》&#8212;&#8212;读书笔记 </title>
			<link>http://zhangleixp.blog.sohu.com/35984150.html</link>
			<comments>http://zhangleixp.blog.sohu.com/35984150.html#comment</comments>
			<dc:creator>张磊.LIVE</dc:creator>
			<pubDate>Fri, 2 Mar 2007 17:55:40 +0800</pubDate>
			<category>我思故我在</category>
			<guid>http://zhangleixp.blog.sohu.com/35984150.html</guid>
			<description><![CDATA[<p>&nbsp; 《你的灯亮着吗？&mdash;&mdash;发现问题的真正所在》是温伯格的书系中的一本，很是喜欢。很薄的一本书，作者从人思考的角度去讨论问题的产生及解决。以下是此书中我觉得很好的观点，括号中的注是偶自己的想法：</p>
<p><strong>1、问题其实就是你的期望的东西和你体验的东西之间的差别。<br /></strong>（注：问题的定义，很经典。）</p>
<p>2、幻觉中的问题是真正的问题。</p>
<p>3、不要把问题的解决方法误认为是问题的定义&mdash;&mdash;特别是在你使用自己的解决方法时。</p>
<p><strong>4、如果你太轻易地解决了他们的问题，他们永远都不会相信你真的解决了他们的问题。<br /></strong>（注：偶经常遇到这种情况，特别是一些疑心较重的人）</p>
<p><strong>5、道德在遇到有利可图的问题时，往往很快就烟飞云散了。<br /></strong><font size="2">（注：经典，严重同意。）</font></p>
<p><strong>6、不要过早的下结论，但也不要忽略你的第一印象。</strong></p>
<p>7、你永远不能肯定你有一个正确的定义，但是永远不要放弃寻求它的努力。</p>
<p><strong>8、每种解决方法都会带来新的问题，我们永远都不能消灭问题。<br /></strong><font size="2">（注：无独有偶，软件开发界中也有类似的一句话：&ldquo;程序中有100个错，改正1个，现在还有101个错误。&rdquo;）</font></p>
<p><strong>9、问题最难处理的部分恰恰是意识到它们的存在。<br /></strong>（注：是啊，发现问题难，解决问题易。）</p>
<p><strong>10、如果在对问题的理解中，你想不出至少3中可能出错的地方，那么你并没有真正地理解这个问题。</strong></p>
<p>11、不要轻易下结论，但是也不要忽视你的第一印象。</p>
<p><strong>12、每一种新的观点都会带来新的不相称。</strong></p>
<p><strong>13、一旦用文字来表述一个问题，请仔细推敲这些文字，以使表述在每个人的头脑中都是一个意思。</strong></p>
<p>14、天有不测风云。Where the skies are not cloudy all day.</p>
<p><strong>15、当别人能够很好的解决自己的问题时，千万不要越俎代庖。<br /></strong><font size="2">（注：哈，不要多管闲事，提醒自己一下！）</font></p>
<p>16、如果这是他们的麻烦，就让它成为他们的麻烦。</p>
<p><strong>17、如果某人能够解决这个问题，但是他本人却并不会遇到这一问题时，那么你们首先要做的就是让他也感受到这个问题。</strong></p>
<p><strong>18、试试换过来指责你自己，即使只有一秒钟。<br /></strong><font size="2">（注：问题通常在自己身上，如果每个人都能这样指责自己，那么争端就少了很多。）</font></p>
<p>19、如果人们的灯真的亮着，一个小小的提醒可能比你那些复杂的解决方法都更有效。</p>
<p><strong>20、问题的根源常常在你自己身上。</strong></p>
<p>21、在问题解决者的山谷里，制造问题的人是国王，总统或者主教。</p>
<p>22、以眼还眼，以牙还牙。</p>
<p><strong>23、不管看上去如何，人们很少知道他们想要什么，直到你给了他们想要的东西。<br /></strong><font size="2">（注：软件用户通常并不十分清晰他们的需求，直到你给了他一个成品。<br />&nbsp;&nbsp;&nbsp;&nbsp; 创新是企业发展的源泉。）</font></p>
<p>24、并没有多少人真的希望解决他们的问题。</p>
<p>25、我们永远没有足够的时间来把它做好，但是我们总有足够的时间来重新整理一遍。</p>
<p>26、我们永远没有足够的时间来考虑我们是否真的需要它，但是我们总有足够的时间来为之后悔。</p>
<p><strong>27、鱼总是最后一个看到水的。</strong></p>
<p><strong>28、首先对自己要诚恳。</strong></p>
<p><strong>This above all, to thine own self be true.</strong> </p>
<p><a href="http://www.china-pub.com/computers/common/info.asp?id=9919" target="_blank"><font size="1">关于此书：《你的灯亮着吗？&mdash;&mdash;发现问题的真正所在》</font></a> </p>]]></description>
		</item>
		    
		
		<item>
			<title>安装一些软件时，反复出现提示需要重启动</title>
			<link>http://zhangleixp.blog.sohu.com/35789201.html</link>
			<comments>http://zhangleixp.blog.sohu.com/35789201.html#comment</comments>
			<dc:creator>张磊.LIVE</dc:creator>
			<pubDate>Thu, 1 Mar 2007 12:11:19 +0800</pubDate>
			<category>IT相关</category>
			<guid>http://zhangleixp.blog.sohu.com/35789201.html</guid>
			<description><![CDATA[<p><strong><font face="Verdana">问题现象：</font></strong></p>
<p><font face="Verdana">1、Visual Studio.NET 安装时</font></p>
<p><font face="Verdana">在安装Visual Studio.NET第一步时，出现下面的提示：<br /><br /><font color="#ff0000" size="2">&ldquo;安装程序检测到另一个程序要求计算机重新启动．必须重新启动计算机后才能安装Visual.Studio.NET系统必备．系统重新启动后，你需重新启动安装程序．单击 确定 重新启动．单击 取消 退出安装程序，以后再安装．&rdquo;</font> <br /><br />重新启动后再安装Visual.Studio.NET，还是提示需要重新启动。</font></p>
<p><font face="Verdana">2、SQL Server 2000 安装时</font></p>
<p><font face="Verdana" color="#ff0000">&ldquo;以前的某个程序安装已在安装计算机上创建挂起的文件操作。运行安装程序之前必须重新启动计算机。&rdquo;</font></p>
<p><font face="Verdana">重启动之后再执行安装，仍然出现提示需要重新启动。</font></p>
<p><font face="Verdana">其他好多软件都会出现类似的情况。</font></p>
<p><strong><font face="Verdana">解决方法：</font></strong></p>
<p><font face="Verdana">在注册表中删除键值<font size="2">HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\<strike>pendingfilerenameoperations </strike>&nbsp;即可解决问题。</font></font></p>
<p><font face="Verdana" size="2"><strong>原因：</strong></font></p>
<p><font face="Verdana">我查找了一些资料，pendingfilerenameoperations可以看作是一个队列，其中存放需要在系统引导时执行重命名和删除操作的文件。 在smss.exe(Session Manager)启动之后，就会执行队列中指定的操作。&nbsp;</font></p>
<p><font face="Verdana">安装程序为什么需要使用到此项呢？参考下面这篇文章吧：（为了方便不能上国外网的网友，转贴下面）</font></p>
<p><a href="http://blogs.msdn.com/hansr/archive/2006/02/17/PatchReboot.aspx"><font face="Verdana">How to detect if a reboot is needed after installing a patch</font></a><br /><a href="http://blogs.msdn.com/hansr/archive/2006/02/17/PatchReboot.aspx"><font face="Verdana">http://blogs.msdn.com/hansr/archive/2006/02/17/PatchReboot.aspx</font></a></p>
<div>
<h2><font face="Verdana">How to detect if a reboot is needed after installing a patch</font></h2>
<p><font face="Verdana">If you use </font><a name="#h3"><font face="Verdana">ITMU</font></a><font face="Verdana"> (SMS 2003 Inventory Tool for Microsoft Updates) or MBSA 2.0 to scan <br />machines for patch status, a patch may be reported as installed even though a <br />reboot is needed in order complete the installation. Example scenario:<br /><br />- You install patch M05-051 (KB 902400) by manually downloading the patch <br />installation EXE and then running the EXE.<br /><br />- After the installation is done, you do not reboot the machine even though the <br />installation wizard states that it's needed.<br /><br />- You scan the client using </font><a name="#h4"><font face="Verdana">ITMU</font></a><font face="Verdana"> (scanwrapper.exe) or MBSA 2.0 (mbsacli.exe). The <br />patch is reported as installed by both </font><a name="#h5"><font face="Verdana">ITMU</font></a><font face="Verdana"> and MBSA. However, MBSA flags that a <br />reboot is needed by some software update/patch as part of its general vulnerability <br />scan, not its software updates scan. Note that in this scenario, MBSA 1.2.x would <br />report the patch as applicable.<br /><br /><br />This behavior is by design. Both </font><a name="#h7"><font face="Verdana">ITMU</font></a><font face="Verdana"> and MBSA 2.0 use the Windows Update Agent <br />(WUA) as their scan agent, hence the identical results. (WUA logs to <br />%systemroot%\WindowsUpdate.log). In order for </font><a name="#h8"><font face="Verdana">ITMU</font></a><font face="Verdana"> to accurately report software <br />update status, the software updates/patches need to be installed through </font><a name="#h9"><font face="Verdana">ITMU</font></a><font face="Verdana"> or <br />Microsoft Update. The reason for this is that when a patch is manually installed, a <br />registry key/value that </font><a name="#h10"><font face="Verdana">ITMU</font></a><font face="Verdana"> uses to detect needed reboots is not set. This is set <br />by WUA which is not utilized when the patch is manually installed. Here's how </font><a name="#h11"><font face="Verdana">ITMU</font></a><font face="Verdana"> <br />detects a pending reboot:<br /><br />1. When a patch is installed by WUA, either via </font><a name="#h12"><font face="Verdana">ITMU</font></a><font face="Verdana"> or Microsoft Update, if the <br />patch installation returns exit code 3010, WUA creates the volatile registry key <br />HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto <br />Update\RebootRequired. It then adds a DWORD value for each update ID that requires <br />a reboot, for example:<br /><br />&quot;9306cdfc-c4a1-4a22-9996-848cb67eddc3&quot;=1<br /><br />2. When </font><a name="#h13"><font face="Verdana">ITMU</font></a><font face="Verdana"> next performs a scan via smswushandler.exe which invokes a WUA scan, <br />the following takes place:<br /><br />a) WUA will scan for missing updates according to their detection rules. If a patch doesn't pass its detection rules, WUA reports that a reboot is pending. <br /><br />b) If a patch is reported as installed by WUA, </font><a name="#h14"><font face="Verdana">ITMU</font></a><font face="Verdana"> (smswushandler.exe) checks to <br />see if any patches are listed under <br />HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired. If so, those are flagged as applicable. As mentioned <br />earlier, this key will be missing if a patch was manually installed. Note that the <br />RebootRequired key is automatically deleted when the machine reboots as it's <br />volatile (only held in memory). It's possible to manually create the RebootRequired <br />key and its values to force </font><a name="#h15"><font face="Verdana">ITMU</font></a><font face="Verdana"> to detect a pending reboot. The Win32 API <br />RegCreateKeyEx could be used with the REG_OPTION_VOLATILE flag set for dwOptions to create the RebootRequired key.<br /><br /><br />So without SMS and </font><a name="#h16"><font face="Verdana">ITMU</font></a><font face="Verdana"> in the picture, why does MBSA 1.2.x report the patch as <br />applicable while </font><a name="#h17"><font face="Verdana">ITMU</font></a><font face="Verdana"> and MBSA 2.0 (actually WUA) report it as installed when the <br />detection rules really are the same? The reason is that when WUA comes across a <br />file version or file CRC detection rule, in addition to the file's original <br />location, for example system32, WUA also checks the files that the <br />PendingFileRenameOperations value under <br />HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager points to. <br /><br />Example:<br /><br />The detection rule for a patch states that file system32\clbcatq.dll should be <br />version 10.<br />The current version of the file in system32 is 9.<br />WUA performs a scan and finds that the file is in compliance.<br />PendingFileRenameOperations&nbsp; has the following two entries:<br />\??\C:\WINDOWS\system32\SET31.tmp<br />!\??\C:\WINDOWS\system32\clbcatq.dll<br />During a scan, WUA will actually check the file version of system32\SET31.tmp which <br />is 10.<br />SET31.tmp will be renamed to clbcatq.dll when the machine restarts.<br /><br /><br /><br />Besides the above two registry values under &quot;Session Manager&quot; and &quot;RebootRequired&quot;, <br />there is a third one that can be used to detect a pending reboot. </font><a name="#h18"><font face="Verdana">ITMU</font></a><font face="Verdana"> can't use <br />this though as </font><a name="#h19"><font face="Verdana">ITMU</font></a><font face="Verdana"> reports compliance on a per patch basis, not per machine. <br />However, MBSA 2.0 makes use of this new registry key that was introduced with <br />version 6.1.22.0 and later of update.exe. The key is <br />HKLM\SOFTWARE\Microsoft\Updates\UpdateExeVolatile and the value is called flags. <br />See http://support.microsoft.com/default.aspx?kbid=832475 for details on this <br />value. Basically, if you have a 1 or 2 in the flags value, a reboot is pending. <br />MBSA 1.2.x or </font><a name="#h20"><font face="Verdana">ITMU</font></a><font face="Verdana"> does not check this key/value. A possible workaround to detect <br />pending reboots when a patch was not installed via WUA, is to for example send out <br />a vbscript or update sms_def.mof to check for the presence of this key/value.<br /><br />To use MBSA 2.0 to detect a missing reboot, run mbsacli /n Password+OS+SQL+IIS /nai <br />/nm<br /></font></p>
<p><font face="Verdana">To query WUA for outstanding reboots, use the script at </font><a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wua_sdk/wua/using_wua_to_scan_for_updates_offline.asp"><font face="Verdana">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wua_sdk/wua/using_wua_to_scan_for_updates_offline.asp</font></a><font face="Verdana">&nbsp;and replace &quot;IsInstalled=0&quot; with &quot;RebootRequired=1&quot;.</font></p>
<p><font face="Verdana">&nbsp;Published Friday, February 17, 2006 11:44 PM by </font><a href="http://blogs.msdn.com/user/Profile.aspx?UserID=19454"><font face="Verdana">hravnaas</font></a><font face="Verdana"> </font></p></div>]]></description>
		</item>
		    
		
		<item>
			<title>让Windows XP 登录时打开数字键 </title>
			<link>http://zhangleixp.blog.sohu.com/35629311.html</link>
			<comments>http://zhangleixp.blog.sohu.com/35629311.html#comment</comments>
			<dc:creator>张磊.LIVE</dc:creator>
			<pubDate>Wed, 28 Feb 2007 09:54:42 +0800</pubDate>
			<category>IT相关</category>
			<guid>http://zhangleixp.blog.sohu.com/35629311.html</guid>
			<description><![CDATA[<p>新安装的 Windows XP 开机后，在用户登录窗体时，数字键是不启用的，也就是Num Lock 小灯是不亮的，输入数字密码时需要手动按下NumLock 键，颇不方便。可以通过修改注册表解决这个问题：</p>
<p>Windows Registry Editor Version 5.00</p>
<p>[HKEY_USERS\.DEFAULT\Control Panel\Keyboard]<br />&quot;InitialKeyboardIndicators&quot;=&quot;2&quot;</p>
<p><font size="1">注：本文源自我的老站: </font><a href="http://zhangleixp.itpub.net/"><font size="1">http://zhangleixp.itpub.net/</font></a></p>]]></description>
		</item>
		    
		
		
		<item>
			<title>代理服务器的寻找一法</title>
			<link>http://zhangleixp.blog.sohu.com/28256496.html</link>
			<comments>http://zhangleixp.blog.sohu.com/28256496.html#comment</comments>
			<dc:creator>张磊.LIVE</dc:creator>
			<pubDate>Thu, 4 Jan 2007 10:05:01 +0800</pubDate>
			<guid>http://zhangleixp.blog.sohu.com/28256496.html</guid>
			<description><![CDATA[<p>清华BBS上，进入<a href="http://bbs.tsinghua.edu.cn/bbsdoc.php?board=NetResources">NetResources (网络资源)</a>版的<a href="http://bbs.tsinghua.edu.cn/bbsgdoc.php?board=NetResources">文摘区</a>，里面有最近更新的代理服务器列表。</p>
<p>可以直接添加到IE设置中，或者使用其他的代理工具。</p>
<p>在我的<a title="张磊@itpub.net" href="http://zhangleixp.itpub.net/" target="_blank">老站</a>上有另外一篇关于代理服务器的使用方法：《<a title="国内代理服务器列表及使用方法by张磊@ZHANGLEIXP.ITPUB.NET" href="http://zhangleixp.itpub.net/post/13774/74403" target="_blank">国内代理服务器列表及使用方法</a>》</p>]]></description>
		</item>
		    
		
		
		
	</channel>
</rss>
