Sysprep терпит неудачу - PullRequest
       54

Sysprep терпит неудачу

0 голосов
/ 20 сентября 2018

Я попытался запустить sysprep в одном windows vm, размещенном в Azure, не удалось.ниже ошибка я вижу в журнале setuperr.Не могли бы вы проверить, в чем здесь проблема?

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

1 Ответ

0 голосов
/ 20 сентября 2018

Первые несколько строк просто связаны с опечаткой в ​​имени флага /generlize.

WSLicenseCleanUpState failed with hr=c0020017 может быть вызвано, если вы отключили службу хранилища Windows.

Ваша вторая ошибка, вероятно, связана с множественными попытками запустить sysprep ... посмотрите http://support.microsoft.com/kb/929828 для официального килобайта и https://www.wintips.org/fix-sysprep-fatal-error-dwret-31-machine-invalid-state-couldnt-update-recorded-state/ для обхода (хак?), Если это не поможет.

...