1 votes

Une erreur fatale s'est produite lors de la tentative de sysprep de la machine windows 8.1

Je tente de faire une sysprep sous Windows 8.1. J'ai créé un fichier unattend.xml

        en-US
        en-US
        en-US
        en-US
        en-US

            XYZ
            http://www.XYZ.com

            true
            Work
            1

                XXXXXXXXX
                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>
</code></pre>

<p>Ensuite, j'ai exécuté </p>

<blockquote>
  <p>sysprep.exe /oobe /generalize /shutdown </p>
</blockquote>

<p>Je rencontre cette erreur:</p>

<blockquote>
  <p>une erreur fatale s'est produite lors de la tentative de sysprep de la machine</p>
</blockquote>

<p>Voici la sortie de setuperr.log</p>

<blockquote>
  <p>2013-11-13 15:59:08, Error      [0x0f0073] SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn't update the recorded state, dwRet = 0x1f<br>
  2013-11-13 15:59:08, Error      [0x0f00ae] SYSPRP WinMain:Hit failure while processing sysprep cleanup external providers; hr = 0x8007001f<br>
  2013-11-13 16:02:46, Error                 SYSPRP Package Microsoft.WinJS.2.0.Preview_1.0.9431.0_neutral__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not<br> >function properly in the sysprep image.<br>
  <br>
  2013-11-13 16:02:46, Error                 SYSPRP Failed to remove apps for the current user: 0x80073cf2.<br>
  <br>
  2013-11-13 16:02:46, Error                 SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.<br>
  <br>
  2013-11-13 16:02:46, Error      [0x0f0082] SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralize' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2<br>
  2013-11-13 16:02:46, Error                 SYSPRP ActionPlatform::ExecuteAction: Error in executing action; dwRet = 0x3cf2<br>
  2013-11-13 16:02:46, Error                 SYSPRP ActionPlatform::ExecuteActionList: Error in execute actions; dwRet = 0x3cf2<br>
  2013-11-13 16:02:46, Error                 SYSPRP SysprepSession::Execute: Error in executing actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2<br>
  2013-11-13 16:02:46, Error                 SYSPRP RunPlatformActions:Failed while executing SysprepSession actions; dwRet = 0x3cf2<br>
  2013-11-13 16:02:46, Error      [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2<br>
  2013-11-13 16:02:46, Error      [0x0f00a8] SYSPRP WinMain:Hit failure while processing sysprep generalize internal providers; hr = 0x80073cf2<br>
  2013-11-13 16:19:24, Error      [0x0f0073] SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn't update the recorded state, dwRet = 0x1f<br>
  2013-11-13 16:19:24, Error      [0x0f00ae] SYSPRP WinMain:Hit failure while processing sysprep cleanup external providers; hr = 0x8007001f<br>
  2013-11-13 16:22:01, Error      [0x0f0073] SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn't update the recorded state, dwRet = 0x1f<br>
  2013-11-13 16:22:01, Error      [0x0f00ae] SYSPRP WinMain:Hit failure while processing sysprep cleanup external providers; hr = 0x8007001f<br>
  2013-11-13 16:24:41, Error      [0x0f00a4] SYSPRP WinMain: Unable to parse command-line arguments to sysprep; GLE = 0x0<br>
  2013-11-13 16:25:15, Error      [0x0f0073] SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn't update the recorded state, dwRet = 0x1f<br>
  2013-11-13 16:25:15, Error      [0x0f00ae] SYSPRP WinMain:Hit failure while processing sysprep cleanup external providers; hr = 0x8007001f<br>
  2013-11-13 16:26:35, Error      [0x0f0073] SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn't update the recorded state, dwRet = 0x1f<br>
  2013-11-13 16:26:35, Error                 SYSPRP WinMain:Hit failure while processing sysprep re-specialize internal providers; hr = 0x8007001f<br></p>
</blockquote></x-turndown>

0 votes

Avez-vous oublié /unattend: ?

0 votes

Je corrige cela mais j'ai toujours cette erreur

0 votes

Pouvez-vous trouver votre setuperr.log et poster le contenu pour le moment où l'erreur s'est produite?

2voto

joel Points 433

Avez-vous utilisé l'Windows System Image Manager (WSIM) pour créer votre fichier de réponse automatique ? Ce que vous avez posté est incomplet. Il vous manque deux lignes en haut qui ressembleront à ceci :

Et la fin :

L'outil WSIM ajoute automatiquement ces lignes lorsque vous créez votre fichier de réponse automatique avec lui. Le WSIM fait partie du Kit d'évaluation et de déploiement de Windows (WADK) pour Windows 7 ou 8/8.1. Le WSIM examine également les paramètres disponibles dans l'image afin que vous puissiez ajouter uniquement des paramètres appropriés à cette image, et il dispose d'une validation intégrée qui vous aidera en cas d'erreurs et de paramètres obsolètes.

J'espère que cela vous aidera,

SistemesEz.com

SystemesEZ est une communauté de sysadmins où vous pouvez résoudre vos problèmes et vos doutes. Vous pouvez consulter les questions des autres sysadmins, poser vos propres questions ou résoudre celles des autres.

Powered by:

X