尝试sysprep机器的Windows 8.1时发生致命错误

我尝试在Windows 8.1中做sysprep。 我已经创build了unattend.xml

<settings pass="oobeSystem"> <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <InputLocale>en-US</InputLocale> <SystemLocale>en-US</SystemLocale> <UILanguage>en-US</UILanguage> <UILanguageFallback>en-US</UILanguageFallback> <UserLocale>en-US</UserLocale> </component> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <OEMInformation> <Manufacturer>XYZ</Manufacturer> <SupportURL>http://www.XYZ.com</SupportURL> </OEMInformation> <OOBE> <HideEULAPage>true</HideEULAPage> <NetworkLocation>Work</NetworkLocation> <ProtectYourPC>1</ProtectYourPC> </OOBE> <UserAccounts> <AdministratorPassword> <Value>XXXXXXXXX</Value> <PlainText>false</PlainText> </AdministratorPassword> <LocalAccounts> <LocalAccount wcm:action="add"> <Password> <Value>XXXXXXX</Value> <PlainText>false</PlainText> </Password> <Description>Admin</Description> <DisplayName>Admin</DisplayName> <Group>Administrators</Group> <Name>Admin</Name> </LocalAccount> </LocalAccounts> </UserAccounts> <WindowsFeatures> <ShowWindowsMediaPlayer>false</ShowWindowsMediaPlayer> <ShowMediaCenter>false</ShowMediaCenter> </WindowsFeatures> <RegisteredOrganization>XXXXXXXXXXXXXXXXXXXXX</RegisteredOrganization> <RegisteredOwner>XXXXXXXXXXXXXXXXXXXXXXX</RegisteredOwner> <TimeZone>Central European Standard Time</TimeZone> <ShowWindowsLive>false</ShowWindowsLive> </component> </settings> <settings pass="specialize"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <RegisteredOrganization>XXXXXXXXXXXXXXXXXXXXXXXXX</RegisteredOrganization> <RegisteredOwner>XXXXXXXXXXXXXXXXXXXXXXXXXX</RegisteredOwner> <ProductKey>XXXXXXXXXXXXXXXXXXXXXXXXXXXXX</ProductKey> </component> </settings> 

然后我跑

sysprep.exe / oobe / generalize / shutdown

我看到这个错误:

尝试sysprep机器时发生致命错误

这是setuperr.log的输出

2013-11-13 15:59:08,错误[0x0f0073] SYSPRP RunExternalDlls:不运行DLL; 机器处于无效状态,或者我们无法更新logging的状态,dwRet = 0x1f
2013-11-13 15:59:08,错误[0x0f00ae] SYSPRP WinMain:在处理sysprep清理外部提供程序时命中失败; hr = 0x8007001f
2013-11-13 16:02:46,错误SYSPRP包Microsoft.WinJS.2.0.Preview_1.0.9431.0_neutral__8wekyb3d8bbwe是为用户安装的,但没有为所有用户进行configuration。 这个包不会
>在sysprep映像中正常运行。

2013-11-13 16:02:46,错误SYSPRP无法删除当前用户的应用程序:0x80073cf2。

2013-11-13 16:02:46,错误SYSPRP RemoveAllApps线程的退出代码是0x3cf2。

2013-11-13 16:02:46,错误[0x0f0082] SYSPRP ActionPlatform :: LaunchModule:从C:\ Windows \ System32 \ AppxSysprep.dll执行“SysprepGeneralize”时发生故障; dwRet = 0x3cf2
2013-11-13 16:02:46,错误SYSPRP ActionPlatform :: ExecuteAction:执行动作时出错; dwRet = 0x3cf2
2013-11-13 16:02:46,错误SYSPRP ActionPlatform :: ExecuteActionList:执行动作中的错误; dwRet = 0x3cf2
2013-11-13 16:02:46,SYSPRP SysprepSession :: Execute:执行C:\ Windows \ System32 \ Sysprep \ ActionFiles \ Generalize.xml中的操作时出错。 dwRet = 0x3cf2
2013-11-13 16:02:46,SYSPRP RunPlatformActions错误:执行SysprepSession操作失败; dwRet = 0x3cf2
2013-11-13 16:02:46,错误[0x0f0070] SYSPRP RunExternalDlls:运行registrysysprep DLL时发生错误,导致sysprep执行停止。 dwRet = 0x3cf2
2013-11-13 16:02:46,错误[0x0f00a8] SYSPRP WinMain:处理sysprep时命中失败,推广内部提供者; hr = 0x80073cf2
2013-11-13 16:19:24,错误[0x0f0073] SYSPRP RunExternalDlls:不运行DLL; 机器处于无效状态,或者我们无法更新logging的状态,dwRet = 0x1f
2013-11-13 16:19:24,错误[0x0f00ae] SYSPRP WinMain:处理sysprep清理外部提供程序时命中失败; hr = 0x8007001f
2013-11-13 16:22:01,错误[0x0f0073] SYSPRP RunExternalDlls:不运行DLL; 机器处于无效状态,或者我们无法更新logging的状态,dwRet = 0x1f
错误[0x0f00ae] SYSPRP WinMain:处理sysprep清理外部提供程序时出现故障; hr = 0x8007001f
2013-11-13 16:24:41,错误[0x0f00a4] SYSPRP WinMain:无法parsingsysprep的命令行参数; GLE = 0x0
2013-11-13 16:25:15,错误[0x0f0073] SYSPRP RunExternalDlls:不运行DLL; 机器处于无效状态,或者我们无法更新logging的状态,dwRet = 0x1f
2013-11-13 16:25:15,错误[0x0f00ae] SYSPRP WinMain:在处理sysprep清理外部提供程序时击中失败; hr = 0x8007001f
2013-11-13 16:26:35,错误[0x0f0073] SYSPRP RunExternalDlls:不运行DLL; 机器处于无效状态,或者我们无法更新logging的状态,dwRet = 0x1f
错误SYSPRP WinMain:处理sysprep命中失败重新专门化内部提供程序; hr = 0x8007001f

您是否使用Windows系统映像pipe理器 (WSIM)来创build您的无人参与文件? 你发布的内容不完整。 您在顶部会缺less两行,如下所示:

 <?xml version=”1.0” encoding=”utf-8”?> <unattend xmlns-“urn:schemas-microsoft-com:unattend”> 

而结局:

 </unattend> 

当您使用它创build无人参与文件时,WSIM工具自动为您添加这些。 WSIM是Windows 7或8 / 8.1的Windows评估和部署工具包 (WADK)的一部分。 WSIM还会查看图像中的可用设置,以便您只能添加适合该图像的设置,并且内置了validationfunction,可以帮助处理错误和不build议使用的设置。

希望这可以帮助,