Windows 7彻底关闭用户账户控制(彻底关闭UAC)的方法

前面我说到过Windows Vista关闭用户账户控制(关闭UAC)的方法,现在使用Windws 7系统的人也挺多了,所以相信还是有希望我写出这篇Windows 7系统的操作方法吧。

第一种方法:首先请打开开始菜单中的“控制面板”,找到“系统和安全”,打开“管理工具”,打开“系统配置”,然后再选择“更改UAC配置”,将左边的滑块,滑到最下面,操作就完成了,UAC就不会再烦我们了。

当然,还有其它方法,稍微简单一些,首先打开开始菜单中的“运行”,输入%windir%\System32\UserAccountControlSettings.exe后按下回车键,直接就可以打开更改UAC配置的窗口了,然后将左边的滑块拉到最下面吧,由此也就关闭UAC了

当然,需要说明的是,以上方法都只是让Windows 7的UAC不再提醒我们,其实它还是在后台运行的,我们可以使用TweakUAC软件来彻底关闭Windows7的UAC,首先从http://u.x2009.net/tweakuac页面下载TweakUAC,打开后我们可以看到三个选项,分别是Turn UAC off和Switch UAC to the quiet mode和Leave UAC on三个选项,我们需要选择Turn UAC off选项,确认后就可以了。关于三个选项,以下做个简单介绍,如有问题,请在 http://u.x2009.net/p 页面留言

Turn UAC off : 关闭UAC,Windows 将不再显示任何权限提升或确认窗口,管理员群组的用户使用全权限的管理员凭据运行程序与服务。

Switch UAC to the quiet mode : 当具有管理员权限的用户进行系统级操作时,自动获得管理员凭据而不再弹出 “Windows需要您的许可才能继续”的UAC确认窗口。不过,其他的UAC功能仍予以保留,比如说仍然使用标准用户权限运行程序和任务。另外,此选项只对管理员用户有效,标准用户在操作中仍然会出现UAC权限提升窗口。

Leave UAC on : 使用Windows 默认的UAC设置。

从中选取需要的选项后点击“OK”便大功告成。如果要调整设置,只需重新运行一下TweakUAC更改选项。

通过注册表将优盘设置为只读和取消只读的方法(U盘或闪存或mp3或mp4或读卡器)

在使用Windows系统办公过程中,经常需要让优盘在不同的电脑使用,但如果某台电脑有病毒,就有可能将病毒写入优盘,为了避免优盘成为传播病毒的媒介,我们可以在系统中将优盘设置为只读,方法挺简单。需要修改注册表

首先在开始菜单里点击运行或者按下Win微标键+R打开运行窗口,输入regedit后按下回车键,即可打开注册表编辑器,在左边依次展开到HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control \StorageDevicePolicies位置,在右边找到WriteProtect,然后将键值设置为1(如果没有这个键值,可以点右键新建一个dword值,然后命名为WriteProtect即可),这样就可以让优盘变成只能读取而不能写入,如果需要取消,依然执行上面操作,但是把值修改为0即可,当然,你也可以直接删除WriteProtect键值。

当然,你也可以编写一个注册表文件来切换,非常方便,首先打开记事本,输入以下的内容,然后保存为 优盘只读.reg 或者 优盘可写.reg 然后双击保存的文件,即可导入注册表中。

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies]
"WriteProtect"=dword:00000001

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies]"WriteProtect"=dword:00000001

以下内容为取消设置优盘为只读的注册表内容

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies]

"WriteProtect"=dword:00000000

PS:本文的内容支持Windows XP,Windows 2003,Windows 2008,Windows vista,Windows 7系统……

删除或隐藏桌面上的回收站图标的方法,适用于Windows XP,2003,Vista,Win7,2008

有时候我们不喜欢桌面上的“回收站”图标,希望把它从桌面上删除或者隐藏掉,但是直接在“回收站”上点右键点右键,并没有删除这个选项可以选择,那么真的没有办法删除或者隐藏掉桌面的“回收站”图标吗?经过不断的尝试,我找到了几种方法,可以适用于各种情况。

第一种方法,使用组策略编辑器来实现删除或隐藏桌面上的回收站图标,这种方法在隐藏或者删除“回收站”图标后,可以再使用同样的方法修改回来,比较直观和方便,不容易操作错误。

详细步骤如下

在开始菜单里点击“运行”,输入gpedit.msc后按下回车键,即可打开组策略编辑器

在左边依次展开到 用户配置》管理模板》桌面

在右边的视图中双击 ‘从桌面删除“回收站”图标’

然后选择已启用,即可从桌面删除或者隐藏回收站图标

如果你要恢复已经删除或者隐藏的回收站图标,请选择“未配置”后确定即可

关于此操作,组策略给了如下描述:

删除出现在很多位置中的“回收站”图标。
此设置将“回收站”图标从桌面、Windows 资源管理器、使用 Windows 资源管理器窗口的程序和常见的“打开”对话框中删除。
此设置不防止用户使用其他方法访问回收站文件夹中的内容。
注意: 必须注销并重新登录,才能使对于此设置的更改生效。

删除出现在很多位置中的“回收站”图标。
此设置将“回收站”图标从桌面、Windows 资源管理器、使用 Windows 资源管理器窗口的程序和常见的“打开”对话框中删除。
此设置不防止用户使用其他方法访问回收站文件夹中的内容。
注意: 必须注销并重新登录,才能使对于此设置的更改生效。

通过组策略实现此删除或者隐藏桌面回收站图标的方法就这么简单。

第二种方法,使用注册表导入注册表信息实现此功能,步骤如下

在开始菜单中找到“记事本”程序,打开后将以下文本复制到“记事本”里,然后保存,文件名输入 删除回收站.reg 然后确定保存(为了方便操作,可以保存在桌面上),然后双击桌面的这个文件导入注册表即可。

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\NonEnum]

"{645FF040-5081-101B-9F08-00AA002F954E}"=dword:00000001

如果你要恢复被隐藏或者删除了的桌面回收站图标,请将以下文本保存成 恢复被删除的回收站图标.reg 然后双击这个保存出来的文件,即可完成恢复的设置

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\NonEnum]

"{645FF040-5081-101B-9F08-00AA002F954E}"=-

为了方便大家,我已经将此文件上传到网盘(网址 http://u.x2009.net/l ),大家可以直接下载使用了

PS:此方法适用于Windows XP,2003,Vista,Win7,2008系统

Windows Vista关闭用户账户控制(关闭UAC)的方法

关闭用户帐号控制(UAC)能简省很多的确认操作,不过对安全性的保护就降低了,对于新手,关闭用户帐号控制(UAC)还是不是很好的,用户账号控制(UAC)是一件防护恶意软件、病毒、木马、蠕虫及间谍软件的神兵利器,可以帮助人们象安全专家一样避免执行不明来源的邮件附件,减少用户每天对于安全问题的困扰。
下面介绍关闭用户帐号控制(UAC)的方法
在Window Vista下面打开控制面板 -》管理工具 -》本地安全策略 -》本地策略-》安全选项-》用户帐户控制, 以管理员批准模式运行所有管理员,这个选项在默认的情况下是“已启用”,我们要关闭它,但是关闭后Vista的安全中心会提示:操作系统的总体安全性已降低。

关闭用户帐号控制(UAC)能简省很多的确认操作,不过对安全性的保护就降低了,对于新手,关闭用户帐号控制(UAC)还是不是很好的,用户账号控制(UAC)是一件防护恶意软件、病毒、木马、蠕虫及间谍软件的神兵利器,可以帮助人们象安全专家一样避免执行不明来源的邮件附件,减少用户每天对于安全问题的困扰。
下面介绍关闭用户帐号控制(UAC)的方法
在Window Vista下面打开控制面板 -》管理工具 -》本地安全策略 -》本地策略-》安全选项-》用户帐户控制, 以管理员批准模式运行所有管理员,这个选项在默认的情况下是“已启用”,我们要关闭它,关闭后Vista的安全中心会提示:操作系统的总体安全性已降低。

当然,你也可以通过修改注册表来实现此操作,方法如下

点击开始菜单中的“运行”或者按下Win微标键+R输入regedit后按下回车键即可打开注册表编辑器,在左边依次展开到HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System然后在右边的视图中找到EnableLUA,双击它,修改属性为数字0然后按确定,即可完成关闭用户账户控制(UAC)的操作

当然,最快的方法,还是使用命令行来关闭用户账号控制(UAC)

点击开始菜单中的“运行”或者按下Win微标键+R输入cmd后按下回车键即可进入命令行提示符,输入以下命令并按下回车键,即可完成关闭用户账号控制(UAC)操作

reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f

这几种方法已经适合各个层次的高手和菜鸟了,应该在关闭用户账号控制(UAC)过程中不会遇见什么问题的,当然,如果你有问题,依然可以在本文(本文网址 http://u.x2009.net/k )在下面的评论里提交您的问题。如果你的系统是Windows 7,请查看这篇 Windows 7彻底关闭用户账户控制(彻底关闭UAC)的方法 。而如果你要关闭已经开启的UAC功能,请查看这篇《Windows Vista关闭用户账户控制(关闭UAC)的方法

Live Mesh无法安装成功,错误提示80004002

(Live Mesh安装成功之后,Live Mesh就可以实现在你的台式机,笔记本和公司电脑之间,所有的办公文件都得到自动同步,非常好用,此项服务由微软提供的服务。)

今天安装Live Mesh出现错误提示,我的电脑系统是深度9.0(Windows XP).错误提示为:安裝失敗,提示不支持此接口,(Installer encountered errors.) 错误代码 80004002

根据提示到官方得到的安装建议为:

Turn on User Account Control (UAC) if you're using an older version of Windows Vista

Install the latest version of the Windows Update Agent

Disable your antivirus software during installation

Make sure you have administrator permissions

Restart your computer

Repair Live Mesh

Uninstall the Live Mesh software, restart your computer, then reinstall

1、关闭UAC(User Account Control,用户帐户控制),当然Windows XP没有那个东西,如果你的电脑是Windows Vista或者Windows 7,请关闭UAC吧~

2、打开Windows Update安装最新的更新

3、安装Live Mesh程序的时候关闭杀毒软件

4、确定你当前登录的用户身份为管理员(Adminstrators用户组)

5、重启电脑

6、重新安装Live Mesh

7、卸Live Mesh之后再重启再重新安装

但是看了这些提示然后操作后依然无法安装,最后踏遍搜索引擎才找到方法,原来是没有安装IE8.0浏览器(如果你的电脑是Windows 7就没关系啦,自带IE8.0浏览器),到此,次问题也终于解决了.

使用Windows 7的IE8时,新窗口无法自动最大化的解决方法

我的电脑装Windows 7系统已经好几个月时间了,Windows 7系统自带IE8.0(Internet Explorer)浏览器。

可最近不知出于什么原因,发现在一个浏览窗口中打开新连接的窗口时候,竟然无法自动变为最大化。这很让我很头疼,因为新的网页浏览窗口无法最大化,对浏览网页很麻烦,每每打开一个新窗口,还要鼠标点击右上角的最大化窗口才能显示最大化。

在搜索引擎找了很多方法,也尝试了更改注册表的方法,最终还是没达到IE8.0浏览器新窗口自动最大化的目的。当时就有点心灰意冷,准备把浏览器换成火狐(Firefox)了。这也是没有办法的办法,用习惯了IE,还真的不怎么想换成Firefox。

摸索了很久,终于找到了让IE8.0新窗口最大化的方法,可以在IE选项卡更改用选项卡打开新窗口就可以实现最大化的目的,同时,可以简化打开网页窗口的个数(习惯了IE6一个网页一个窗口,IE8窗口多了,内存也占用很大)。

设置方法:首先在IE浏览器的“菜单栏”找到 “工具”然后找到“Internet选项”

接下来在常规选项---选项卡-----设置

打开选项卡浏览设置窗口以后,可以看到默认在遇到弹出窗口时,始终在新窗口中打开弹出窗口,我们将其更改为始终在新选项卡中打开弹出窗口,同时,将默认没勾选的当创建新选项卡时候,始终切换到新选项卡、打开Internet Explorer时只加载第一个主页也都勾选上把,方便浏览。当然,根据个人习惯设置。

这样设置完了以后,当打开IE浏览器后,就可以在一个浏览器窗口中,同时以选项卡的方式进行浏览切换,当然,每个用新选项卡浏览的窗口都是最大化的窗口了。这个方法也是用另外一种方式临时解决了在新选项卡下打开新窗口无法最大化的问题。

驳《轻松将NTFS格式转换FAT32格式》,以及将FAT32无损数据转换到NTFS格式的方法

今天在鲜果很意外的看到一篇《轻松将NTFS格式转换FAT32格式》的文章,百度了一下,发现这个文章已经找不到出处了,吸引我的原因很简单,因为我知道要把FAT32转换到NTFS是很容易的,但是却没办法还原。

此方法但是和我们想的“NTFS格式转换成FAT32格式”可能是不同的概念,此方法实用的是删除需要转换的NTFS分区,然后再这个位置创建FAT32分区,如此一来,此分区的内容已经删除并重新建立了。所以资料全毁了,虽然看起来容易,但是此方法并不适合新手,然而这个所谓的方法,其实是用任何一个分区软件都是可以做到的,如果是Windows 2000及以上系统(包括Windows 2000,Windows XP,Windows 2003,Windows Vista,Windows 2008,Windows 7),自带了磁盘管理器,直接就可以在Windows下进行分区的编辑,图形化中文界面,非常方便。

以下是此方法原文:

由于磁盘文件格式FAT32与NTFS的不兼容性,在Windows 98操作系统中不借助第三方软件根本找不到NTFS分区,用DOS(或Windows 98)启动盘启动系统后仍无法找到NTFS分区,也就不能用Format命令格式化NTFS分区的磁盘。
下面我以一台在C盘装有Windows 98操作系统和在D盘装有Windows 2000 Server操作系统的电脑为例,来说明如何将D盘由NTFS磁盘格式转换成FAT32磁盘格式。俗话说解铃还需系铃人,这里我使用的工具就是当初安装Windows 2000 Server操作系统时的安装光盘,不过此方法不会保留原分区中的数据喔!我的操作如下:
1、在系统启动时,按Del键进入CMOS设置,选择Advanced BIOS Features进入,在“First Boot Device”中选择CD-ROM,从光盘引导。在光驱中放入Windows 2000 Server安装光盘,保存退出,重启。
2、当屏幕下方出现“Press any key to boot from cd”时马上按回车,在屏幕下方出现“setup is loading files(…)”。这要花费一段时间。
3、当出现Windows 2000 Server安装程序时,屏幕会有如下选项供你选择:
◎ 要开始安装Windows 2000,请按Enter
◎ 要修复Windows 2000中文版的安装,请按R
◎ 要停止安装Windows 2000并退出安装程序,请按F3
选择第一个选项,按Enter键回车。
4、这时会有一些协议要求你认可。我们应该无条件的接受,按F8键表示我同意。这时屏幕出现的选择项为:
◎ 要修复所选的Windows 2000安装,请按R
◎ 要继续全新安装Windows 2000,请按Esc
我们按Esc,选择继续全新安装。
5、接下来我们要选择安装了Windows 2000 Server 的NTFS磁盘格式的分区,再在选择项目上选择“删除所选磁盘分区,请按D”,按下D后,屏幕上还会跳出选择菜单,我们要义无反顾地选择“要删除此磁盘分区,请按L”。完成后我就取出光盘,重新启动。我到Windows 98桌面上找到刚才进行格式转化的D磁盘,把它格式化就一切OK了。
但是在系统启动时我们还可以看见双系统的启动菜单。为了恢复单系统启动的本来面目,我们要到Windows 98下,在“我的电脑”→“C盘”下找到“Boot.ini”文件,删除“multi(0)disk(0)rdisk(0)partition(2)WINNT=Microsoft Windows 2000 Server/fastdetect”,并将timeout置为0即“timeout=0”。如果没有“Default=c:”,那么还要在“[Operating Systems]”前面加上它。

由于磁盘文件格式FAT32与NTFS的不兼容性,在Windows 98操作系统中不借助第三方软件根本找不到NTFS分区,用DOS(或Windows 98)启动盘启动系统后仍无法找到NTFS分区,也就不能用Format命令格式化NTFS分区的磁盘。
下面我以一台在C盘装有Windows 98操作系统和在D盘装有Windows 2000 Server操作系统的电脑为例,来说明如何将D盘由NTFS磁盘格式转换成FAT32磁盘格式。俗话说解铃还需系铃人,这里我使用的工具就是当初安装Windows 2000 Server操作系统时的安装光盘,不过此方法不会保留原分区中的数据喔!我的操作如下:
1、在系统启动时,按Del键进入CMOS设置,选择Advanced BIOS Features进入,在“First Boot Device”中选择CD-ROM,从光盘引导。在光驱中放入Windows 2000 Server安装光盘,保存退出,重启。
2、当屏幕下方出现“Press any key to boot from cd”时马上按回车,在屏幕下方出现“setup is loading files(…)”。这要花费一段时间。
3、当出现Windows 2000 Server安装程序时,屏幕会有如下选项供你选择:
◎ 要开始安装Windows 2000,请按Enter
◎ 要修复Windows 2000中文版的安装,请按R
◎ 要停止安装Windows 2000并退出安装程序,请按F3
选择第一个选项,按Enter键回车。
4、这时会有一些协议要求你认可。我们应该无条件的接受,按F8键表示我同意。这时屏幕出现的选择项为:
◎ 要修复所选的Windows 2000安装,请按R
◎ 要继续全新安装Windows 2000,请按Esc
我们按Esc,选择继续全新安装。
5、接下来我们要选择安装了Windows 2000 Server 的NTFS磁盘格式的分区,再在选择项目上选择“删除所选磁盘分区,请按D”,按下D后,屏幕上还会跳出选择菜单,我们要义无反顾地选择“要删除此磁盘分区,请按L”。完成后我就取出光盘,重新启动。我到Windows 98桌面上找到刚才进行格式转化的D磁盘,把它格式化就一切OK了。
但是在系统启动时我们还可以看见双系统的启动菜单。为了恢复单系统启动的本来面目,我们要到Windows 98下,在“我的电脑”→“C盘”下找到“Boot.ini”文件,删除“multi(0)disk(0)rdisk(0)partition(2)WINNT=Microsoft Windows 2000 Server/fastdetect”,并将timeout置为0即“timeout=0”。如果没有“Default=c:”,那么还要在“[Operating Systems]”前面加上它。

最后介绍一下在Windows 下用命令行将FAT32格式转换成NTFS格式的方法(不会丢失任何数据,可以转换包括C盘在内的任何分区),适用于Windows XP,Windows 2003,Windows Vista,Windows 2008,Windows 7

点击开始菜单,点击运行(也可按Win微标键+R打开运行窗口),然后输入cmd后按确定打开命令行提示符,输入命令Convert d: /fs:ntfs其中红色部分是你需要转换成NTFS格式的盘符,然后按照提示操作即可,虽然是命令行,但是提示还是中文的,这点可以放心操作。而且转换后原来的资料也完好无损的保存在相同的地方。

使用自己喜欢的图片制作Windows 7主题,自定义墙纸(壁纸)自动更换

问:想用自己喜欢的图片做成Windows 7主题,在Windows 7下不使用第三方软件怎样做?就是能想Windows 7自带的主题那样到设定的时间更换壁纸,Windows 7自动更换自己喜欢的图片……

答:先将需要Windows 7自动更换的壁纸放置到某个固定的文件夹中。

在Windows 7桌面空白处点鼠标右键,选择“个性化”,单击“桌面背景”,点“浏览”,定位到上述文件夹,单击“全选”按钮(或者在图片预览框中单击选择需要的壁纸。可以在“更改图片时间间隔”项中修改时间Windows 7自动更换墙纸的时间间隔。单击“保存修改”,返回到“个性化”对话框,在主题列表中的“我的主题”组中有“未保存的主题”,点右键,保存主题。

这样就可以不使用第三方软件来实现自己制作Windows 7主题的方法,实现自己制作自己喜欢的自动更换墙纸功能!

当然,微软给我们提供了更多的Windows 7主题,您可以访问 微软官方Windows 7主题库,网址 http://u.x2009.net/9 这里可以给你更多的选择!

Windows 7,Vista,2008,Win7的Winsxs文件夹为什么越来越大

 这是一个在安装Windows Vista和Windows Server 2008时候经常被提及的问题.为了解答这个问题,首先我们要了解“组件化”这个词的含义,然后再谈一谈Vista里面的组件们是如何被管理的.

Vista相比于前任的重大变化之一就是从用“安装配置”(INF文件)描述的操作系统过渡到组件化的系统.Windows中的所谓“组件”就是一或多个二进制文件,一个索引文件,还有一个描述安装过程如何进行的XML格式文档.这个文档描述了可能的注册表操作或者安全权限需求.组件们以逻辑单元分组,这些单元的不同就是Windows不同版本的区别.

WinSxS这个文件夹存放了Windows所需要的所有组件。每一个组件都有属于自己的命名,可以看出它属于何种版本、语言,以及是32位还是64位的Windows。每当系统需要任何一种文件的时候,都会从这个文件夹找到相应的文件,再拷贝到需要的路径里面,或者直接创建一个映射,指向winsxs文件夹里的源文件(显然这么做对硬盘空间仁慈多了)。也就是说,实际上Winsxs这个文件夹和Windows完全安装一次所需的磁盘空间一样大

这样一来,我们便不能完全从硬盘上删除某种Windows功能,就像我们刚刚在xp里还能做到的那样。(你也许注意到了,控制面板“程序和功能”里有一个“打开或关闭Windows功能”选项——而不是“添加或删除Windows功能”。)
也是因为如此,理论上winsxs这个文件夹并不会随着时间推移越来越臃肿,塞进一些天知道是什么的东西(很不幸,很多Windows文件夹都有自动增肥的功能)。但有一个例外——就是如果你安装了一项功能的更新(例如通过Windows Update),那么为了方便你回滚有问题的更新,新旧两种文件副本会同时存放在Winsxs文件夹里!(看来要双手合十祈祷微软能一次性更新尽可能多的补丁,而不是一次一个,一次一个……)
微软这么做显然能大大提高产品的稳定性。因为每个更新版本都有副本保存,所以当我们回滚一个更新时,会退回到次新的版本,不会出现版本号混乱的局面。而且,如果要添加一个新功能,系统会检查是否已经有了版本号更新的组件,而不是直接插入光盘,因为那样只会装上RTM的旧版本。
最后,安全的削减Winsxs文件夹的大小,只有一个办法,就是尽可能去掉自己不用的组件及其更新。虽然微软没有提供官方的整合SP1到Vista RTM ISO的办法,但是SP1中的一个小程序VSP1CLN.EXE可以永久整合SP1到系统,删除一切用于回滚的版本备份,这样便不能回退到RTM。
(在现在硬盘容量向TB迈进的时候,牺牲一部分硬盘空间来换取比以往更高的安全性,也许是比较划算的办法。看来Vista的确是面向未来而设计的一款系统。)
文章作者Joseph Conway,微软企业级平台支持高级工程师。
cnBeta编译自微软TechNet  LonelyJames译注
What is the WINSXS directory in Windows 2008 and Windows Vista and why is it so large?
A commonly asked question among people looking at a Windows Vista or Windows Server 2008 installation is “why is the WinSxS folder so big?!”   To answer that question I need to first describe componentization, and how components are managed in Windows Vista.
One of the largest changes between previous versions of Windows and Windows Vista was a move from an INF described OS to componentization.  A component in Windows is one or more binaries, a catalog file, and an XML file that describes everything about how the files should be installed. From associated registry keys and services to what kind security permissions the files should have.  Components are grouped into logical units, and these units are used to build the different Windows editions.
All of the components in the operating system are found in the WinSxS folder – in fact we call this location the component store.  Each component has a unique name that includes the version, language, and processor architecture that it was built for.  The WinSxS folder is the only location that the component is found on the system, all other instances of the files that you see on the system are “projected” by hard linking from the component store.  Let me repeat that last point – there is only one instance (or full data copy) of each version of each file in the OS, and that instance is located in the WinSxS folder.   So looked at from that perspective, the WinSxS folder is really the entirety of the whole OS, referred to as a "flat" in down-level operating systems.  This also accounts for why you will no longer be prompted for media when running operations such as System File Checker (SFC), or when installing additional features and roles.
That explains why the folder starts off big, but not why it gets larger over time – the answer to that question is servicing.   In previous versions of Windows the atomic unit of servicing was the file, in Windows Vista it’s the component.  When we update a particular binary we release a new version of the whole component, and that new version is stored alongside the original one in the component store.  The higher version of the component is projected onto the system, but the older version in the store isn’t touched.  The reason for that is the third part of why the component store gets so large.
Not every component in the component store is applicable, meaning that not every component should be projected onto the system.  For example, on systems where IIS is available but has not been installed, the IIS components are present in the store, but not projected into any location on the system where they might be used.  If you’re familiar with how multi-branch servicing works in previous versions of Windows then it’ll make sense to you that we have a different version of the component for each distribution branch and service pack level, and that all these different versions are also stored in the WinSxS folder, even if they’re not immediately applicable.  So a single Post SP1 GDR package that contains an update to one component will end up installing four versions of that component in the WinSxS folder – double that on a 64 bit operating system for some components.
Now that you know why the store can grow to be so large, your next question is probably to ask why we don’t remove the older versions of the components.  The short answer to that is reliability.  The component store, along with other information on the system, allows us to determine at any given time what the best version of a component to project is.  That means that if you uninstall a security update we can install the next highest version on the system – we no longer have an “out of order uninstall” problem.  It also means that if you decide to install an optional feature, we don’t just choose the RTM version of the component, we’ll look to see what the highest available version on the system is.  As each component on the system changes state that may in turn trigger changes in other components, and because the relationships between all the components are described on the system we can respond to those requirements in ways that we couldn’t in previous OS versions.
The only way to safely reduce the size of the WinSxS folder is to reduce the set of possible actions that the system can take – the easiest way to do that is to remove the packages that installed the components in the first place.  This can be done by uninstalling superseded versions of packages that are on your system.  Service Pack 1 contains a binary called VSP1CLN.EXE, a tool that will make the Service Pack package permanent (not removable) on your system,  and remove the RTM versions of all superseded components.  This can only be done because by making the Service Pack permanent we can guarantee that we won’t ever need the RTM versions.
So yes, the WinSXS folder is very large, and it will continue to grow as the OS ages.  I hope that this clears up some of the questions about why that is, and what you can do about it. Note that the Windows servicing structure and the layout of the store is subject to change.
Joseph Conway
Senior Support Escalation Engineer
Microsoft Enterprise Platforms Support

What is the WINSXS directory in Windows 2008 and Windows Vista and why is it so large?
A commonly asked question among people looking at a Windows Vista or Windows Server 2008 installation is “why is the WinSxS folder so big?!”   To answer that question I need to first describe componentization, and how components are managed in Windows Vista.
One of the largest changes between previous versions of Windows and Windows Vista was a move from an INF described OS to componentization.  A component in Windows is one or more binaries, a catalog file, and an XML file that describes everything about how the files should be installed. From associated registry keys and services to what kind security permissions the files should have.  Components are grouped into logical units, and these units are used to build the different Windows editions.
All of the components in the operating system are found in the WinSxS folder – in fact we call this location the component store.  Each component has a unique name that includes the version, language, and processor architecture that it was built for.  The WinSxS folder is the only location that the component is found on the system, all other instances of the files that you see on the system are “projected” by hard linking from the component store.  Let me repeat that last point – there is only one instance (or full data copy) of each version of each file in the OS, and that instance is located in the WinSxS folder.   So looked at from that perspective, the WinSxS folder is really the entirety of the whole OS, referred to as a "flat" in down-level operating systems.  This also accounts for why you will no longer be prompted for media when running operations such as System File Checker (SFC), or when installing additional features and roles.
That explains why the folder starts off big, but not why it gets larger over time – the answer to that question is servicing.   In previous versions of Windows the atomic unit of servicing was the file, in Windows Vista it’s the component.  When we update a particular binary we release a new version of the whole component, and that new version is stored alongside the original one in the component store.  The higher version of the component is projected onto the system, but the older version in the store isn’t touched.  The reason for that is the third part of why the component store gets so large.
Not every component in the component store is applicable, meaning that not every component should be projected onto the system.  For example, on systems where IIS is available but has not been installed, the IIS components are present in the store, but not projected into any location on the system where they might be used.  If you’re familiar with how multi-branch servicing works in previous versions of Windows then it’ll make sense to you that we have a different version of the component for each distribution branch and service pack level, and that all these different versions are also stored in the WinSxS folder, even if they’re not immediately applicable.  So a single Post SP1 GDR package that contains an update to one component will end up installing four versions of that component in the WinSxS folder – double that on a 64 bit operating system for some components.
Now that you know why the store can grow to be so large, your next question is probably to ask why we don’t remove the older versions of the components.  The short answer to that is reliability.  The component store, along with other information on the system, allows us to determine at any given time what the best version of a component to project is.  That means that if you uninstall a security update we can install the next highest version on the system – we no longer have an “out of order uninstall” problem.  It also means that if you decide to install an optional feature, we don’t just choose the RTM version of the component, we’ll look to see what the highest available version on the system is.  As each component on the system changes state that may in turn trigger changes in other components, and because the relationships between all the components are described on the system we can respond to those requirements in ways that we couldn’t in previous OS versions.
The only way to safely reduce the size of the WinSxS folder is to reduce the set of possible actions that the system can take – the easiest way to do that is to remove the packages that installed the components in the first place.  This can be done by uninstalling superseded versions of packages that are on your system.  Service Pack 1 contains a binary called VSP1CLN.EXE, a tool that will make the Service Pack package permanent (not removable) on your system,  and remove the RTM versions of all superseded components.  This can only be done because by making the Service Pack permanent we can guarantee that we won’t ever need the RTM versions.
So yes, the WinSXS folder is very large, and it will continue to grow as the OS ages.  I hope that this clears up some of the questions about why that is, and what you can do about it. Note that the Windows servicing structure and the layout of the store is subject to change.

Joseph Conway Senior Support Escalation Engineer Microsoft Enterprise Platforms Support

Windows 任务栏属性自定义通知区域里的图标清理方法

问:Windows 7自定义任务栏的通知区域里有很多卸载过软件的图标(控制面板\所有控制面板项\通知区域图标),还存在里面,无用而且看起来也别扭.请问怎么删除windows 7自定义任务栏里通知区域无用的图标啊(控制面板\所有控制面板项\通知区域图标).

答:Windows 7 与 Windows XP 的 TrayNotify 位置有所不同,在 Windows 7 中该项的位置如下:

HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify
定位至此后删除 IconStreams 和 PastIconsStream 键重新启动计算机即可。
将以下文字保存为BAT文件,运行即可:
@echo off
taskkill /im explorer.exe /f
reg delete "HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify" /v IconStreams /f
reg delete "HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify" /v PastIconsStream /f
start "Shell Restarter" /d "%systemroot%" /i /normal explorer.exe
在清理后,所有设置会被恢复为默认值,系统通知区域的图标缓存会被重新建立。