安装修复程序
以下步骤都需要使用此修补程序,更新 Windows 映像文件 (boot.wim),并更新配置管理器分发点上的图像。这些步骤假定已经安装 Windows ADK 的 Windows 10 1511,版本,以及执行步骤的用户是本地管理员组的成员。请注意,应根据所需的处理器体系结构使用在命令在这里,amd64 或 x86。这些步骤,编写,假定 64 位 (amd64) 体系结构。
新的 Windows ADK 安装完成后的启动映像写入以下步骤 1 – 9。而不是创建新的引导映像,现有基于同一 ADK 的启动映像也可以更新使用这些步骤。若要更新现有的启动映像,请按照下列步骤操作,但更改在命令行中,指向现有的启动映像的路径。
第 1 步: 准备
提取此热修复程序中的内容。例如,内容解压至 %userprofile%\downloads 文件夹。
启动"部署和图像处理工具环境"提升的命令提示符。
步骤 2: 准备 Windows PE
创建 Windows PE 的自定义工作目录,然后装入图像文件。为此,键入以下命令,和每个命令之后按 enter 键:
copype.cmd amd64 c:\WinPE_amd64
dism /mount-wim /wimfile:C:\WinPE_amd64\media\sources\boot.wim /index:1 /mountdir:C:\WinPE_amd64\mount
注意:Copype.cmd amd64 c:\WinPE_amd64命令不要求现有的启动映像。
有关dism命令的信息,请参阅。
步骤 3: 保存 schema.dat 状态
备份之前将其替换已应用到现有的 schema.dat 文件的权限。要备份文件,请键入下面的命令,然后按 enter 键:
icacls c:\WinPE_amd64\mount\Windows\System32\schema.dat/保存"%temp%\aclfile"
步骤 4: 更新 schema.dat 文件
若要替换已更新的版本的 schema.dat 文件,必须获得文件的所有权和权限授予本地管理员组。为此,键入以下命令,和每个命令之后按 enter 键:
takeown /F c:\WinPE_amd64\mount\Windows\System32\schema.dat /A
icacls c:\WinPE_amd64\mount\Windows\System32\schema.dat /grant BUILTIN\Administrators:(F)
xcopy"%userprofile%\downloads\schema-x64.dat"c:\WinPE_amd64\mount\Windows\System32\schema.dat /Y
第 5 步: 重置权限和所有权
当被替换的 schema.dat 文件时,必须通过运行下面的命令还原在步骤 5 中保存的权限:
icacls c:\WinPE_amd64\mount\Windows\System32\schema.dat /setowner"NT SERVICE\TrustedInstaller"
icacls c:\WinPE_amd64\mount\Windows\System32\ /restore"%temp%\aclfile"
步骤 6: 将 Windows PE 更改提交
将更改提交到 boot.wim 文件。若要执行此操作,键入下面的命令,然后按 enter 键:
dism /unmount-wim /mountdir:C:\WinPE_amd64\mount /Commit
有关dism命令的信息,请参阅。
步骤 7: 添加启动映像
注意:此步骤不需要现有的启动映像。
通过使用下面的 TechNet 文章中介绍的方法添加启动映像:
(System Center 2012 配置管理器)
(当前分支)
第 8 步: 更新分发点
通过使用下面的 TechNet 文章中介绍的方法更新启动映像:
(System Center 2012 配置管理器)
(当前分支)