定制Win7 Ultimate SP1 默认的用户配置文件 ( default user )
以下是微软官方的步骤 ,我按此步骤做了N 次,每一次都失败 ,过程中总共各出现2次错误
http://support.microsoft.com/kb/973289/
1, 按照官方配置 ,最运行cmd 命令 : sysprep /oobe /reboot /generalize unattend:c:\unattend.xml,重启,在安装设备100%完成后,就报如下错误 !!!
“Windows 无法分析或处理 pass [specialize] 的无人参与应答文件。应答文件中指定的设置无法应用。处理组件设置 [Microsoft-Windows-Shell-Setup] 时检测到错误。”
2, 然后我google看我的unattend。xml是否缺其他参数 ,加入了2处 :a), 加入了<productkey></productkey> b)加入了 pass=" oobesystem" 部分
再cmd 运行 sysprep /oobe /reboot /generalize unattend:c:\unattend.xml 时, sysprep 工具报如下错误 :
尝试使用sysprep处理计算机时出现错误
请问我该怎么处理 ?? 现在问题就卡住在这里,下不去 啊!!!
急 !
---------------------------------------------------------------------
以下是我的unattend.xml 配置 :
----------------------------
<?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<OOBE>
<SkipMachineOOBE>true</SkipMachineOOBE>
</OOBE>
</component>
</settings>
<settings pass="specialize"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <CopyProfile>true</CopyProfile> </component> </settings> <cpi:offlineImage cpi:source="wim://<computerName>/g$sources/install.wim#Windows
7 ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend>