谁知道XP和vista中的WINSXS文件夹怎么改路径?

来源:百度知道 编辑:UC知道 时间:2024/06/23 12:54:27
如题
想改的原因是我想把C盘,做成重起后还原,这样有些软件。安完了,从起就不能用了!
4楼的大哥,您只写了vista的,没有的是XP,XP哪有硬链接命令啊!而且不是vista的不是真正的移动,而是用的硬链接!

需要■MoveFile and PendMoves这两个文件,请下载,解压后,复制到c:\windows\system32目录下。

第一步:Create Symbolic Directory Link
(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 ,回车

第二步: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

第三步:Schedule File Moves
还是在命令提示符下,movefile C:\Windows&#