首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Sysprep出现故障

Sysprep出现故障
EN

Stack Overflow用户
提问于 2018-09-20 21:30:12
回答 1查看 1.4K关注 0票数 0

我试图在一个托管在azure中的windows虚拟机中运行sysprep,但失败了。下面的错误我可以在setuperr日志中看到。您能检查一下这里有什么问题吗?

代码语言:javascript
复制
2018-08-20 12:53:10, Error      [0x0f0060] SYSPRP ParseCommands:Found unsupported command line option '/generlize'
2018-08-20 12:53:10, Error      [0x0f00a4] SYSPRP WinMain: Unable to parse command-line arguments to sysprep; GLE = 0x0
2018-08-20 12:54:07, Error      [0x0f0043] SYSPRP WinMain:The sysprep dialog box returned FALSE
2018-08-20 12:54:24, Error      [0x0f0043] SYSPRP WinMain:The sysprep dialog box returned FALSE
2018-08-20 12:54:31, Error      [0x0f0043] SYSPRP WinMain:The sysprep dialog box returned FALSE
2018-08-20 12:54:39, Error      [0x0f0066] SYSPRP ParseCommands:No action flag was specified but sysprep is in quiet mode
2018-08-20 12:54:39, Error      [0x0f00a4] SYSPRP WinMain: Unable to parse command-line arguments to sysprep; GLE = 0x0
2018-09-20 15:10:59, Error                 SYSPRP WSLicenseCleanUpState failed with hr=c0020017
2018-09-20 15:10:59, Error      [0x0f0082] SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'WSLicenseCleanUpState' from C:\Windows\System32\wsclient.dll; dwRet = 0xc0020017
2018-09-20 15:10:59, Error                 SYSPRP ActionPlatform::ExecuteAction: Error in executing action; dwRet = 0xc0020017
2018-09-20 15:10:59, Error                 SYSPRP ActionPlatform::ExecuteActionList: Error in execute actions; dwRet = 0xc0020017
2018-09-20 15:10:59, Error                 SYSPRP SysprepSession::Execute: Error in executing actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0xc0020017
2018-09-20 15:10:59, Error                 SYSPRP RunPlatformActions:Failed while executing SysprepSession actions; dwRet = 0xc0020017
2018-09-20 15:10:59, Error      [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0xc0020017
2018-09-20 15:10:59, Error      [0x0f00a8] SYSPRP WinMain:Hit failure while processing sysprep generalize internal providers; hr = 0xc0020017
EN

回答 1

Stack Overflow用户

发布于 2018-09-20 21:39:18

前几行只是由于标志名/generlize中的拼写错误造成的。

当您禁用windows应用商店服务时,可能会导致WSLicenseCleanUpState failed with hr=c0020017

您的第二个错误可能是由于多次尝试运行sysprep...在官方知识库中查看http://support.microsoft.com/kb/929828,在https://www.wintips.org/fix-sysprep-fatal-error-dwret-31-machine-invalid-state-couldnt-update-recorded-state/中查看a (hack?)如果这不起作用,则解决方法。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/52426299

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档