正帖开始前,先声明先:
1、这个帖子我是在http://bbs.winos.cn/thread-62720-1-1.html的基础上更改的,另外按自己的经验做了些解释,不能算是自己的原创了,顶多也算是添砖加瓦。为尊重原贴作者的劳动,注明先,基本的思路是依照“[推荐] 移动vista中winsxs文件夹位置”修改的,在此对原作者表示敬意。
2、移动Windows7(Or Vista ,Or Windows Server 2008)中winsxs文件夹位置是否有用,是否能真的加快速度,真的降低资源利用不在本文讨论之列,而且或多或少会出现这样那样的问题,本文只是给无聊如我般的小白提供了一种方法(拓宽思路后,就不仅仅移动Winsxs了,发挥你的想象力看看还能移动什么),不建议进行本文所描述的操作。
3、请打算动手一定细看完本文后再动手,过程并不复杂,并请将过程记录在纸上,Winsxs被破坏、移动、删除后会造成Win7无法进入桌面。
4、如果出现问题请不要惊慌,会有解决方法附后。
5、饿的时候是吃拉面呢还花饭?
需要■MoveFile and PendMoves这两个文件。已经放入附件,请下载,解压后,复制到c:\windows\system32目录下。
第一步:Create Symbolic Directory Link 创建一个符号目录链接,这个在Linux里很常见
(Start–>All Programs–>Accessories–>Command Prompt)
by right clicking on Command Prompt, and selecting “Run As Administrator”. 以管理员身份运行“命令提示符”。
输入 CD\Windows 命令,回车
然后输入: mklink /D winsxs.link winsxs.moved ,回车
(本文中的命令都需要超级用户的权限,所以“命令提示符”和待会儿要用到的"Windows Explorer"资源管理器都需要以管理员身份进行)
第二步:Take Ownership of winsxs
Open a Windows Explorer window (Start–>All Programs–>Accessories–>Windows Explorer), navigate to C:\Windows\winsxs, right click on the winsxs directory, select Properties, go to the resulting Security tab, and click the Advanced button contained there. Click Edit, select “Administrators” from the list of potential owners, click the Replace owner on subcontainer and objects checkbox, then click the OK button.
用命令:cacls c:\windows\winsxs\* /P administrators:F