谢谢肖正波(happymy)
具体现象:sysprep 运行时报错,检查c:\windows\system32\sysprep\panther\setuperr.log,会发现类似的错误信息:
Error [0x0f0082] SYSPRP LaunchDll:Failure occurred while executing ‘drmv2clt.dll,Sysprep’, returned error code -2147024864[gle=0x00000020]
Error [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = -2147024864[gle=0x00000020]
Error [0x0f00a8] SYSPRP WinMain:Hit failure while processing sysprep cleanup providers; hr = 0×80070020[gle=0x00000020]
此问题只出现在 组件精简程度很高的系统镜像中,怀疑与未添加WMP12有关(属于bug)。
解决方法:
1 运行sysprep,等待出错。
2 CMD下执行命令:sc stop WMPNetworkSvc
3 再次 运行sysprep。
注意:运行sysprep出错前执行命令sc stop WMPNetworkSvc是无效的!