设置和恢复开机不扫描和检测硬盘分区适用于Windows 2000/XP/2003/Vista/Win7/2008

众所周知,自Windows 2000开始起(Windows 2000/XP/2003/Vista/Win7/2008),只要是非法关机,意外断电之类的,下次开机或者重启后,Windows都会执行硬盘分区检测,扫描有没有坏文件,这本是好意。但是每次如此也让人很难等待,毕竟要花不少时间,好吧,下面我就教大家一种方法,可以关闭系统意外关机或者意外重启后,不在扫描硬盘了。 阅读全文 »

解决任务管理器标签栏和标题栏都隐藏不见了的办法

不知道什么时候开始,当我按下Ctrl+Alt+Del调出任务管理器时,发现任务管理器上的菜单栏和标签栏还有标题栏不见了,没有标题栏和标签栏还有标题栏的任务管理器看起来怪怪的。如下图一:

开始我以为可能是木马在作怪吧,毕竟如果任务管理器没有标签栏,你就不能直观地看到目前系统中运行的所进程,为某些木马进程藏身提供了有利的条件。因为没有其它的症状,而且加上我又比较懒,所有也没有去查具体的原因。

今天当我再次呼出任务管理器想结束某个进程的时候,发现还是没找到任务管理器的标签栏,应此也没能关闭进程, 阅读全文 »

Windows Vista和Windows 7删除图标缓存的方法

问:我的Windows 7图标显示有些问题,需要删除图标缓存,请问应该如何操作。

答:打开任何一个文件夹,然后在地址栏输入%USERPROFILE%\AppData\Local后按回车键即可跳转到local目录,找到IconCache.db文件并删除,重启启动后即可重建图标缓存,此文适用于Windows 7,Windows Vista,Windows 2008。

如果是图标出现黑块,则可通过以下方法解决,打开附件中的记事本程序,将以下内容复制到记事本,然后保存为“桌面图标黑块修复工具.bat”,之后执行这个文件,即可解决。

@echo off
title win7桌面图标黑块修复工具
reg delete "hkcu\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /f
reg delete "hklm\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /f
taskkill /f /im explorer.exe & start explorer.exe

开始菜单中的“游戏”菜单变成英文了的解决办法

问:有一天发现Windows 7的“开始菜单-->所有程序”里面没有系统内置的“游戏”项目,而是发现了一个目录叫“Games”,目录里面就是内置的游戏;重启电脑数次也不会恢复成“游戏”这个名称;很郁闷;后来就到“程序与功能”中卸掉游戏,并重新勾选游戏,这下更晕,Games里面的游戏显示名称都变成英文的。

答:请以管理员身份运行命令提示符.执行下列命令:

cd /d "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Games"
attrit -r -s -h desktop.ini
notepad desktop.ini
然后复制下列代码到记事本:
[此处有一行空行]
[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21773
[LocalizedFileNames]
Chess.lnk=@%SystemRoot%\system32\gameux.dll,-10054
Mahjong.lnk=@%SystemRoot%\system32\gameux.dll,-10059
PurblePlace.lnk=@%SystemRoot%\system32\gameux.dll,-10058
InternetCheckers.lnk=@%SystemRoot%\system32\gameux.dll,-10101
InternetBackgammon.lnk=@%SystemRoot%\system32\gameux.dll,-10102
InternetSpades.lnk=@%SystemRoot%\system32\gameux.dll,-10103
GameExplorer.lnk=@%SystemRoot%\system32\gameux.dll,-10082
FreeCell.lnk=@%SystemRoot%\system32\gameux.dll,-10055
Solitaire.lnk=@%SystemRoot%\system32\gameux.dll,-10060
Internet Backgammon.lnk=@%SystemRoot%\system32\gameux.dll,-10102
Minesweeper.lnk=@%SystemRoot%\system32\gameux.dll,-10057
Hearts.lnk=@%SystemRoot%\system32\gameux.dll,-10056
More Games from Microsoft.lnk=@%SystemRoot%\system32\gameux.dll,-10209
Internet Checkers.lnk=@%SystemRoot%\system32\gameux.dll,-10101
Spider Solitaire.lnk=@%SystemRoot%\system32\gameux.dll,-10061
Purble Place.lnk=@%SystemRoot%\system32\gameux.dll,-10058
Internet Spades.lnk=@%SystemRoot%\system32\gameux.dll,-10103
复制完成后进行保存, 保存之前编码类型為 Unicode .
关闭记事本.
attrib +r +s +h desktop.ini
cd ..
attrib +r Games
最后重新啟动计算机.

请以管理员身份运行命令提示符.执行下列命令:

cd /d "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Games"attrit -r -s -h desktop.ininotepad desktop.ini

然后复制下列代码到记事本:[此处有一行空行][.ShellClassInfo]LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21773[LocalizedFileNames]Chess.lnk=@%SystemRoot%\system32\gameux.dll,-10054Mahjong.lnk=@%SystemRoot%\system32\gameux.dll,-10059PurblePlace.lnk=@%SystemRoot%\system32\gameux.dll,-10058InternetCheckers.lnk=@%SystemRoot%\system32\gameux.dll,-10101InternetBackgammon.lnk=@%SystemRoot%\system32\gameux.dll,-10102InternetSpades.lnk=@%SystemRoot%\system32\gameux.dll,-10103

GameExplorer.lnk=@%SystemRoot%\system32\gameux.dll,-10082FreeCell.lnk=@%SystemRoot%\system32\gameux.dll,-10055Solitaire.lnk=@%SystemRoot%\system32\gameux.dll,-10060Internet Backgammon.lnk=@%SystemRoot%\system32\gameux.dll,-10102Minesweeper.lnk=@%SystemRoot%\system32\gameux.dll,-10057Hearts.lnk=@%SystemRoot%\system32\gameux.dll,-10056More Games from Microsoft.lnk=@%SystemRoot%\system32\gameux.dll,-10209Internet Checkers.lnk=@%SystemRoot%\system32\gameux.dll,-10101Spider Solitaire.lnk=@%SystemRoot%\system32\gameux.dll,-10061Purble Place.lnk=@%SystemRoot%\system32\gameux.dll,-10058Internet Spades.lnk=@%SystemRoot%\system32\gameux.dll,-10103

复制完成后进行保存, 保存之前编码类型為 Unicode .关闭记事本.

attrib +r +s +h desktop.inicd ..attrib +r Games

最后重新啟动计算机.

PS:此文用于Windows Vista,Windows 7(Win7),Windows 2008

使Windows 任务栏自动隐藏的方法

问,在Windows系统中,如何使任务栏自动隐藏,鼠标移到任务栏位置时自动显示并滑出呢

答:设置Windows的任务栏为“自动隐藏”即可实现,可以参考以下来实现此效果:
这里讲解一下Windows 7设置方法

在任务栏空白处单击右键选择“属性”选项;
在打开的“任务栏和[开始]菜单属性”对话框中将“任务栏外观”中的“自动隐藏任务栏”选项前的复选框清空;
单击“确定”按钮以保存设置。
此操作适用于Windows各版本,但是各版本位置稍有不同,但是还是很容易找到的,包括Windows 98,Windows 2000,Windows XP,Windows 2003,Windows Vista,Windows 2008,Windows 7

通过注册表将优盘设置为只读和取消只读的方法(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系统

驳《轻松将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,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 XP/2003/2008/Vista/Win7密码账号(账户)破解软件Sneaky Win Intruder Type 1(SneakyWinIntruder)

做电脑维修工作的,其中一样常做的事情就是向客户查询Windows 账号(账户)密码,因为Windows 内的事件检视器、当机报告(Minidump) 等都是很有用的查错工具。例如当见到事件编号(Event ID) 为7 的红色交叉,硬碟编号是0 (Harddisk0) 又显示有错误区块(bad block) 的话便已可以确诊有坏磁区(如果之后又没有了坏磁区,可能是硬碟自己修复了,但始终曾经出现问题)。另一方面,有不少有名的系统诊断软件例如Sysinternals Autorun 都是要Windows 在登入后才能运作的。那是否表示如果联络不上客户维修便要延误了吗?客户的电话错了怎办?除了等他再打过来,其实可以主动点- 强行登入Windows!

民间破解Windows 密码的方法和软件颇多,有穷举法的(brute force attack),但不能准确知道所花时间,例如Elcomsoft 便有能使用CUDA GPU 加速的产品;有一类是重设密码的,例如使用ERDCommander LockSmith 或NTPWEdit 重设Windows 密码,这方法个人从没有使用,因为密码重设后难保不会让客户怀疑或带来麻烦,例如若客户有EFS (Encrypting File System) 加密了的档案,不用回本来的密码是开不了的;另一类则不会更改密码,直接进入Windows,例如Konboot、WindowsGate;一类则可制作一个新帐户,用它来「为所欲为」也不怕。小弟常用最后一种,因为很重视个人私隐;使用客户的帐户应可免则免。完成后只要删除新建的帐户便可消除大部份足印。

这一种方法的代表者有「将sethc.exe/utilman.exe 换成cmd.exe」技巧。不知道大家有没有试过在登入时碰下shift 键太多次之后Windows 出现启动相粘键的讯息? sethc.exe 就是那时执行的程式。而utilman.exe 则是Vista/7 登入画面左下角的轻松存取功能。只要将它们换成cmd.exe 就可以在登入画面唤出由系统身份(NT Authority\System) 执行的「命令提示字元」,然后在那里输入lusrmgr.msc 或用net user 指令就可以新增帐户然后进入Windows 了。

由于小弟偏好这个技巧,但坊间的软件好像没有一种是完全利用这种技巧(近似的虽有WindowsGate、Sala's Password Renew、Dc-PASS,但都不是利用sethc.exe),所以小弟编写了一些指令档,在令自己对工作生厌之前将这堆刻板的步骤自动化... 接下来会介绍Sneaky Win Intruder Type 1(SneakyWinIntruder)。
注意:执行Sneaky Win Intruder Type 1(SneakyWinIntruder)前请确定它所依赖的程式已经放在Swi 资料夹或者系统资料夹(System32)。请参阅 Readme.txt。

Sneaky Win Intruder Type 1(SneakyWinIntruder) 所做的可以简单分成三部份:

※ 1 - 置换 sethc.exe

因客户Windows 受密码保护,首要是用另一个作业系统起机(eg Windows PE),进入后执行Swi1.bat。跟着指示做。过程中如果它侦测到目标Windows 为Vista/7,而且UAC (User Account Control) 状态为开启,便需输入「y」关上UAC 以确保后期运作无误。成功后可关机然后启动目标Windows,进入第二部份。

(在Windows PE 1.x 下执行前需先从XP 补回attrib.exe 和find.exe,放在Swi 资料夹。)
※ 2 - 新增账号(账户)

在目标Windows 的登入画面按下shift 键五次,在弹出的「命令行提示符」输入「adduser1」便会自动创建帐户。过程中它会问是否重新载入欢迎画面,如新增帐户后欢迎画面仍未出现新帐户,可输入「y」。最后用以下的帐户资料登入:

用户名:temp
密码:Password12! (区分大小写)

Windows 7 下的 Part 2 过程动画

Sneaky Win Intruder Type 1(SneakyWinIntruder)在Windows 7下启动的动画

(可见Windows 7 下一些讯息不能正常显示,但不会影响运行。)

※ 3 - 还原系统

电脑修好,是时候删除帐户、「抹掉足印」了!先打开命令提示字元(cmd.exe),输入「clean1」。 (注意不要经shift 键技巧打开,否则恢复过程可能失败。)

至目前为止,帐户已删除,sethc.exe 已恢复,上次登录用户记忆已删除(仅在AutoAdminLogon 项目没有设定时)。这时候其实您的部分已经完成,余下的将在客户取回电脑后首次登入时在背景继续执行。但是,若该用户没有系统管理员权限,作业便会失败(透过RunOnce 执行的原故)。尽管真的失败了,其实普通用户也不会轻易察觉到剩余的痕迹;若成功,UAC 将重新启用(若最初是开的),用者设置档(user profile) 和其余遗留下来的程式将被删除。

已试过能用在中文或英文的Windows XP、2003、Vista、7,基础系统为Windows PE 1.x 的(NoName XPE,Hiren's Boot CD),PE 2.0 (VistaPE),PE 3.0 (C7PE)。不过仍有一点 bugs,请参阅 Readme.txt。

如可以,在下一版本(Sneaky Win Intruder Type v1.0(SneakyWinIntruder)) 会完善它的不善,然后就到用另一种破解方法的Sneaky Win Intruder Type 2(SneakyWinIntruder)了。

下载地址

http://u.115.com/file/t79dab0540

http://d.namipan.com/d/b5a231e03968014b87ab0006bf7cd157d37f5d642e760500

http://www.rayfile.com/files/ed107261-2518-11df-b710-0015c55db73d/

http://www.brsbox.com/filebox/down/fc/6d452e6e98c51152f298ff4952be1772

http://www.load.to/V84yDE6EbB/SneakyWinIntruder.zip

http://dl.dropbox.com/u/5033010/SneakyWinIntruder.zip

http://www.dbank.com/download.action?t=40&k=MTMzOTM3MDA=&pcode=LCwzMzc3NTIsMzM3NzUy&rnd=6556