2008年6月25日星期三

比尔·盖茨太牛了


软件业老大盖茨先生把自己全部580亿美元的财富捐给了名下慈善基金--比尔及梅琳达盖茨基金会,一分一毫也不会留给自己子女。盖茨表示我们希望以最能够产生正面影响的方法回馈社会。
一个字“服”。“儿孙自有儿孙福”,比尔理解得深刻。
“以最能够产生正面影响的方法回馈社会”,人家的思想境界比许多经受党多年教育的同志还要高尚。
资本家也不光是剥削,也想着回馈社会!盖茨曾说,名下的巨额财富,“不仅是巨大的权利,也是巨大的义务。”他的富豪同胞,钢铁巨头安德鲁·卡内基说,在巨富中死去,是一种耻辱。石油大王洛克菲勒则称,多挣钱为的是多奉献。
深思!!

2008年5月31日星期六

关于四川地震

汶川地震发生时我正在西安,震感还是相当地明显,当时没有想到这次地震会造成如此具大的灾难,尽管12号下午电视上就报了这次地震发生在四川汶川震级7.8级(后修正为8级)。
接下来,电视中开始播放抢险救灾的节目。政府的动作确实够快,子弟兵又一次发挥了至关重要的作用。想象一下,突然之间大地颤动,房屋倒塌,肯定有不少人当场就失去了生命,也会有不少人被掩埋,真地是难过又无助。最让我触动的是,在随后的救灾现场摆放着一遛的书包,一个书包就是一个孩子,其中有多少人脱险又有多少人遇难!!
回到天津,单位组织捐款30元,我又替7个月的儿子捐了10元,短信捐了3元。钱不多,尽一份力吧。

2008年3月13日星期四

关于“艳照门”和陈冠希

照片确实够惊艳,POSE摆的确实够开放。柏芝的红脸蛋是酒精的功劳,酒后乱性,果然不假。
冠希也够可怜的,男欢女爱,关别人啥事!可是众FANS不饶啊,他们想知道他们的偶像在床上的风采,于是网上传播之势迅雷不及掩耳。
冠希其实不简单,不管是用男性魅力还是支票的影响,让那么多美人上了床,也值得男人羡慕。不过也有人很受伤,如某张柏芝的FANS竟然绝食抗议,有人调侃"人家谢霆锋还没怎样呢,你这是做啥?!"
还有阿娇,这个艺名就很暧昧,很容易让人想起"金屋藏娇"。那几张内衣照还算有分寸,也很性感,如果只有这几张,她也不用"很傻很天真"地表白了。
"人在江湖混,债总是要还的。"

2008年3月11日星期二

重返blogspot

因为blogspot国内无法访问的原因,离开了一段时间。现在,我又回来了。无法访问也许并不是坏事,博客应该是一个自我释放的地方,少了许多顾虑,少了伪饰和矫情,可以说些真心话。就象一个人搬到一个陌生的地方,可以不修边幅,可以酗酒,可以骂街,做真的自我。

2007年9月5日星期三

在 Windows XP Service Pack 2 中 Microsoft Outlook 的邮件没有立即发送

SYMPTOMS

If you use Network Address Translation (NAT), you may not receive new e-mail notifications in Outlook 2002.

Back to the top

CAUSE

This problem can occur in a NAT environment because Outlook 2002 never receives the UDP (Universal Datagram Packets) that the Microsoft Exchange Server sends, and you cannot route the UDP packets to a computer that is running Outlook 2002.

The computer that is running Outlook 2002 returns to polling the Exchange Server for new e-mail messages by using the Remote Procedure Call (RPC) to work around this problem. However, a logic error exists with the Exchange Server and it does not reply to the polling request.

Back to the top

RESOLUTION

To resolve this problem, obtain the latest service pack for Microsoft Office XP. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
307841 (http://support.microsoft.com/kb/307841/EN-US/) OFFXP: How to Obtain the Latest Office XP Service Pack
To resolve this problem, use the following two methods to configure Outlook 2002 to use polling instead of UDP to receive new e-mail notifications:
Apply the associated hotfix to the computer that is running Outlook 2002.
Manually add registry entries.

How to Use the Hotfix

A supported fix is now available from Microsoft, but it is only intended to correct the problem described in this article and should be applied only to systems experiencing this specific problem. This fix may receive additional testing at a later time, to further ensure product quality. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Product Name service pack that contains this fix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, please go to the following address on the World Wide Web:
http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS (http://support.microsoft.com/default.aspx?scid=fh;en-us;cntactms)
NOTE: In special cases, charges that are normally incurred for support calls may be canceled, if a Microsoft Support Professional determines that a specific update will resolve your problem. Normal support costs will apply to additional support questions and issues that do not qualify for the specific update in question.


The English-language version of this fix should have the following file or later:
  Date        Time        Version     Size       File name      ------------------------------------------------------      07/11/2001  1:02:23pm  10.0.3103.0  538,952    Emsmdb32.dll      07/11/2001  1:02:24pm  10.0.2915.0  1,966,080  Outllib.dll  				
The fix is also available for the following language(s): German.

How to Manually Add Registry Entries

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To add the registry values to the computer that is running Outlook 2002, follow these steps:
1. Click Start, and then click Run.
2. In the Open box, type Regedt32.exe, and then click OK.
3. Locate the following key in the registry:
HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Outlook\
4. On the Edit menu, click Add Key, and then add the following registry key:Key Name: RPC
Class: None

5. Click OK.
6. Locate the following key in the registry:
HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Outlook\RPC\
7. On the Edit menu, click Add Value, and then add the following registry value:Value Name: ForcePolling
Data Type: REG_DWORD
Value: 1

8. Locate the following key in the registry:
HKEY_CURRENT_USER\Software\Policies\Microsoft\
9. On the Edit menu, click Add Key, and then add the following registry key:Key Name: Office
Class: None

10. Locate the following key in the registry:
HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\
11. On the Edit menu, click Add Key, and then add the following registry key:Key Name: 10.0
Class: None

12. Locate the following key in the registry:
HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\10.0\
13. On the Edit menu, click Add Key, and then add the following registry key:Key Name: Outlook
Class: None

14. Locate the following key in the registry:
HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\10.0\Outlook\
15. On the Edit menu, click Add Key, and then add the following registry key:Key Name: RPC
Class: None

16. Locate the following key in the registry:
HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\10.0\Outlook\RPC\
17. On the Edit menu, click Add Value, and then add the following registry value:Value Name: ForcePolling
Data Type: REG_DWORD
Value: 1

18. Close the Registry Editor
19. Restart the computer.

Back to the top

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Microsoft Office XP Service Pack 1.

Back to the top

MORE INFORMATION

Outlook 2002 uses both UDP and polling to notify you of new e-mail messages.

With UDP, Outlook 2002 sends the server the client's Internet Protocol (IP) address and notifies the server to send the UDP when there are e-mail messages waiting on the server.

The polling mechanism occurs when Outlook 2002 starts a thread that requests information from the server every 60 seconds with the RPC, by default, for any outstanding e-mail messages.

The default preference for e-mail notification in Outlook 2002 is UDP, and if that fails, then it uses polling. The previously mentioned registry value defines whether or not to use polling as the default for new e-mail notification. The value of 1 indicates that polling is used as the default by Outlook 2002 and that UDP will not be used. The default polling time is 60 seconds and is set at the Exchange Server.

Back to the top


APPLIES TO
Microsoft Outlook 2002 Standard Edition

Back to the top

Keywords: 
kbbug kbfix kbqfe kbemail kbofficexpsp1fix kbreceivemail kbhotfixserver KB305572

Back to the top

 

 

如果使用的是Outlook 2003,则"10.0"应改为"11.0"

2007年8月28日星期二

IT神探李柯南探案选 Windows全面裁员在行动

摘自07年第16期《电脑爱好者》
 
 
从本文你将学到
  √ 完整、经典的Windows XP瘦身大法
  √ 查出Windows形形色色的隐含文件
  √ 卸载隐含的Windows组件
  √ 专业免费的卸载工具的使用方法
  
  Windows是一家大公司,难免人浮于事,负面现象渐渐显露。先是硬盘报告说空间越来越不够用,接着内存也开始抱怨装载的东西太多,CPU更是疲于奔命,整个系统运行越来越慢。Windows公司总裁比尔决定进行大裁员,可当他下去视察时,发现每个人都在努力工作,看不出有闲杂人等,似乎每个人的工作都是不可或缺的。这到底是怎么回事呢?于是他私下请来IT神探李柯南,让他暗中侦查系统中的滥竽充数者。
  柯南经过明察暗访,还真挖出了不少滥竽充数的文件和组件,并给出了相应的解决办法。下面就是我跟随他行动时所做的一些实录。
  
  小知识:什么是NTFS压缩?
  假如系统分区是NTFS格式,会发现"dllcache"文件夹显示为蓝色,右击它选择"属性",还会看到文件夹大小为428MB而占用空间仅为290MB。这是因为这个dllcache,系统默认采用了NTFS压缩。其实NTFS压缩与WinRAR、WinZip等第三方压缩/解压缩软件的所达成的效果相似,只不过NTFS压缩工作在系统底层,能自动压缩和解压缩,使得我们在使用这个文件夹时感觉不到压缩/解压缩的操作,就像使用一个普通的文件夹一样。
  在NTFS格式的分区中右击某个文件夹,选择"属性",在"常规"中单击"高级",再在高级属性对话框中选中"压缩内容以便节省磁盘空间"项,确定后这个文件夹就变成NTFS压缩格式了。
  注意:毕竟压缩/解压缩的过程需要一定的时间,对常用的文件夹最好不要进行NTFS压缩,否则会大大拖慢系统。最好是仅对不常用的数据文件夹进行NTFS压缩操作。
  
  系统补丁垃圾清扫出界
  
  微软经常通过Windows Update发布补丁程序――Hotfix,但为了防止安装后系统出现问题,所以也提供了这些Hotfix的备份和卸载,这样就在Windows 2000/XP的系统目录(WINNT或WINDOWS目录)中留下了不少类似"$NtUninstallKB828741$"的文件夹,同时在"添加/删除程序中"也有相应卸载项。通过360安全卫士之类的第三方软件更新的系统补丁,同样也会有这个问题。
  
  (1)
  如果补丁安装后Windows运行一段时间没有问题,就可以将这些备份和卸载项清除掉了。手工清除太麻烦,可借助Remove Hotfix Backup Files(下载地址:http://www.dougknox.com/xp/utils/xp_remove_hotfix_backup.zip)来轻松完成。
  第1步 这是一款绿色软件,下载解压后,直接双击"xp_remove_hotfix_backup.exe"执行程序,首先会弹出注册提示框,单击Continue(继续)进入软件主界面(见图1)。
  第2步 在上面的列表中选择某个补丁,再单击"See Hotfix Description"(查看补丁描述)按钮,可打开微软网站关于这一补丁的详细说明。如果单击下面的"Remove Backup Files and Add/Remove entries"(删除备份文件及"添加/删除程序"中的项目)按钮,就可以完全清除掉这些备份的补丁文件了。
  
  软件安装垃圾,删还是不删?
  
  柯南在Windows目录下找到一个隐含的"Installer"目录,发现其中包含了许多应用程序安装时留下的临时文件,正准备删除,可是想想微软为何要将它隐藏起来呢?一查资料才明白:这里面是已安装软件的卸载/修改时所需的程序,如果删除,相应程序就不能正常卸载了(除非重装一遍该软件再卸载)。当然如果你确定那些程序安装后不用再卸载,则可以删除除,能省出不少空间。
  同样在Windows目录下,又发现了"Downloaded Installations",非隐含,它的性质与"Installer"非常相似,不过在这里面的一般都是扩展名为MSI的安装文件(Windows Installer形式打包的软件),虽然可以删除,但是为什么加上"Downloaded"(下载)呢?研究一番后柯南终于领悟:这里面的文件,有不少是软件安装时从网上下载下来的,如果删除了它们,假如你要重装这个软件时,又会重新上网上载一次。所以要是准备重装某软件的话,就要所它相应目录里的文件保留下来。
  当然MSI安装软件的残留物不仅仅在上面所说的两个文件夹中,在"C:\Documents and Settings\用户名\Local Settings\Application Data"和"C:\Documents and Settings\All Users\Application Data\"中也有,不过这里的数据千万别删,否则造成相应的软件,如Office 2007能不正常运行。
  
  把不自觉的软件彻底请出硬盘
  
  虽然大部分软件都自带卸载功能,但不知是有意还是无意,它们总是卸载不干净自身,不是在注册表中遗留一些垃圾项目,就是遗留下一些删不净的文件夹,非常讨厌。这里向大家推荐一款专业并且免费的卸载工具Revo Uninstaller。
  第1步 启动软件后,单击主界面上Options(选项)按钮,将Current language(当前语言)设置为SimplifiedChinese(简体中文),单击OK返回,软件就变成中文界面了。
  第2步 单击"卸载工具",再在列表中双击要卸载的软件,弹出一对话框要求确认,单击"是"开始扫描要卸载软件的相关信息。接下来又会弹出对话框询问是否完全清除,单击"是"确认。
  第3步 卸载完成后还会弹出提示,单击"卸载后扫描",开始扫描该软件的遗留信息,完成后单击"全部选择",再点击"删除",就可以清除这个软件所遗留的文件及它在注册表中的信息了。清除得相当干净。
  
  揭密江湖流传的黑名单
  
  网上一直盛行着这么一个传说:在Windows XP+SP2安装完成后占用的近2个GB的空间中,包含了大量可有可无的文件,可以一删了之。并且列出了这些文件的黑名单:
  1.\WINDOWS\system32\dllcache
  2.\WINDOWS\Driver Cache\i386
  3.Windows\ime
  4.\WINDOWS\Help
  柯南发现,删除这些文件并不会导致系统崩溃,但却给平时的使用带来诸多不便。比如当病毒或其他程序破坏(或替换)了系统文件,将激活Windows文件保护机制自动还原系统文件,但如果删除了dllcache下的系统备份文件,恢复操作就变得很麻烦;另外删除驱动备份driver.cab后,当插入一些新设备时(如USB闪盘),XP因找不到驱动还得要求你放入安装光盘,非常麻烦。
  
  (2)
  不过当系统分区小于1GB时,黑名单中的这些文件确实有些碍事,于是柯南决定采取折衷的方法,重新给它们调整岗位(改变位置)。
  第1步 我们可以把dllcache移出系统分区。首先把这一文件夹下的所有文件复制到其他地方,如:D:\Dllchace;然后在运行对话框中输入"gpedit.msc"并按回车键启动组策略编辑器,展开"计算机设置→管理模板→系统→Windows文件保护",双击打开右侧的"指定Windows文件保护缓存位置",选中"已启用",输入新的缓存文件路径(如:D:\Dllchace),确定即可;重启系统后再删掉原来系统目录中的"Dllchace"。
第2步 Driver Cache的位置也可以调整,可以把它复制到其他分区(如:"D:\Driver Cache"),再在注册表[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup]键下,将"DriverCachePath"的值设置为"D:\Driver Cache"就可以了。
  第3步 Help下的帮助文件占用空间不多,但在系统出故障时能给我们关键性提示,所以最好保留。而IME下的imjp8_1、imkr6_1,如果你没有输入日、韩文字的需要,可直接删除。
  
  火速链接
  CFan博墅上提供有这款软件的下载连接及视频教程,有兴趣的朋友可以访问http://blog.cfan.com.cn/index.php/1148/action_viewspace_itemid_125709,可以学到这款软件的更多用法。
  
  火速链接
  ★虚拟内存的页面文件也很大,如果系统分区紧张,完全可以将它移到其他分区中。本刊今年的增刊(12.5期)有一篇《假作真时真亦假》,专门剖析了页面文件的作用,以及将它移到其他分区的方法,大家可以参考。
  
  小提示:清除Windows隐含组件
  Windows系统捆绑的一些组件,如MSN Messenger,写字板等,为何在"添加或删除程序"中是找不到它们呢?秘密就在"WINDOWS\inf\"文件夹下的sysoc.inf中,用记事本打开这个文件,发现其中有不少项目包含了hide(隐藏)一词。比如:
  msmsgs=msgrocm.dll,OcEntry,msmsgs.inf,hide,7
  这一行正是隐藏系统捆绑的Windows Messenger的,把其中的"hide"删除(逗号要保留),存盘退出,这时在"添加或删除程序"的"添加/删除Windows组件"中,就可以看到它了,按常规方法卸载它即可。
  
  小提示:一不小心就被遗忘的角落
  排查工作进展得很顺利,但是柯南总觉得少点什么。苦思冥想了半天,他突然一拍大腿:我怎么会忘了这些地方!原来,Windows中的一些系统设置,经常会在硬盘上预留出一个空间,也是占据硬盘空间的大户。
  1.关闭系统还原
  右击桌面上"我的电脑",选择"属性",在打开的系统属性窗口,切换到"系统还原"选项卡,选择除系统分区(一般为C分区)之外的其他分区,单击"设置",再选择"关闭这个驱动器上的'系统还原'"项,确定即可。这可以省下大量的硬盘空间。之所以保留系统分区的系统还原,是为了系统出故障时好恢复。
  2.关闭休眠支持
  休眠功能也会占用不少的硬盘空间,同样可关闭它:在控制面板中打开"电源选项",切换到"休眠"选项卡,取消对"启用休眠"项的选择即可。
  

2007年7月11日星期三

[错误号: 0x80070424]

 
单位的机器出了毛病,无法"复制"、"粘贴",后来发现是把感染了蠕虫的svchost文件给删了,恢复后好象正常了。但启动后显示"风险提示"说没有开启"自动升级",经检查"自动升级服务没有开启",访问UPDATE提示" 错误号 0x80070424"。上网查到下面一篇文章,终于搞定。
 
 
如果你的xp/2003 突然不能升级,Windows Update出现以下提示:

十分抱歉   

[错误号: 0x80070424] 
Windows Update 遇到错误,无法显示所请求的页面。您可能会发现以下资源有助于解决问题: 
有关自助服务选项的信息,请访问: 

Windows Update 支持中心

Windows Update 疑难解答

Windows Update 新闻组 
有关辅助支持选项的信息,请访问: 

Microsoft 在线支持中心 (免费解答有关 Windows Update 的问题)


原英文解释如下:

If you receive the Windows update error: 0x80070424, copy and paste the following into a text file and save it as lEreg.bat. Double-click the file to run it. (大概意思是你需要手工将以下代码复制到"运行"中去对组件进行注册)

regsvr32 comcat.dll /s
regsvr32 shdoc401.dll /s
regsvr32 shdoc401.dll /i /s
regsvr32 asctrls.ocx /s
regsvr32 oleaut32.dll /s
regsvr32 shdocvw.dll /I /s
regsvr32 shdocvw.dll /s
regsvr32 browseui.dll /s
regsvr32 browseui.dll /I /s
regsvr32 msrating.dll /s
regsvr32 mlang.dll /s
regsvr32 hlink.dll /s
regsvr32 mshtmled.dll /s
regsvr32 urlmon.dll /s
regsvr32 plugin.ocx /s
regsvr32 sendmail.dll /s
regsvr32 scrobj.dll /s
regsvr32 mmefxe.ocx /s
regsvr32 corpol.dll /s
regsvr32 jscript.dll /s
regsvr32 msxml.dll /s
regsvr32 imgutil.dll /s
regsvr32 thumbvw.dll /s
regsvr32 cryptext.dll /s
regsvr32 rsabase.dll /s
regsvr32 inseng.dll /s
regsvr32 iesetup.dll /i /s
regsvr32 cryptdlg.dll /s
regsvr32 actxprxy.dll /s
regsvr32 dispex.dll /s
regsvr32 occache.dll /s
regsvr32 occache.dll /i /s
regsvr32 iepeers.dll /s
regsvr32 urlmon.dll /i /s
regsvr32 cdfview.dll /s
regsvr32 webcheck.dll /s
regsvr32 mobsync.dll /s
regsvr32 pngfilt.dll /s
regsvr32 licmgr10.dll /s
regsvr32 icmfilter.dll /s
regsvr32 hhctrl.ocx /s
regsvr32 inetcfg.dll /s
regsvr32 tdc.ocx /s
regsvr32 MSR2C.DLL /s
regsvr32 msident.dll /s
regsvr32 msieftp.dll /s
regsvr32 xmsconf.ocx /s
regsvr32 ils.dll /s
regsvr32 msoeacct.dll /s
regsvr32 inetcomm.dll /s
regsvr32 msdxm.ocx /s
regsvr32 dxmasf.dll /s
regsvr32 l3codecx.ax /s
regsvr32 acelpdec.ax /s
regsvr32 mpg4ds32.ax /s
regsvr32 voxmsdec.ax /s
regsvr32 danim.dll /s
regsvr32 Daxctle.ocx /s
regsvr32 lmrt.dll /s
regsvr32 datime.dll /s
regsvr32 dxtrans.dll /s
regsvr32 dxtmsft.dll /s
regsvr32 WEBPOST.DLL /s
regsvr32 WPWIZDLL.DLL /s
regsvr32 POSTWPP.DLL /s
regsvr32 CRSWPP.DLL /s
regsvr32 FTPWPP.DLL /s
regsvr32 FPWPP.DLL /s
regsvr32 WUAPI.DLL /s
regsvr32 WUAUENG.DLL /s
regsvr32 ATL.DLL /s
regsvr32 WUCLTUI.DLL /s
regsvr32 WUPS.DLL /s
regsvr32 WUWEB.DLL /s
regsvr32 wshom.ocx /s
regsvr32 wshext.dll /s
regsvr32 vbscript.dll /s