none
Windows 10 - Syspreb Error RRS feed

  • Frage

  • Hallo liebe Community,

    ich hoffe ich finde einen Rat bei euch.

    Folgendes Szenario:

    In der Firma setze ich über eine virtuelle Maschine ein Entwickler Image auf für unserer internen Entwickler.

    Die Software und Grundsettings sind nun alle erledigt jedoch beim aufrufen vom Syspreb bzw. anstarten vom Syspreb kommt folgende Fehlermeldung:

    2017-08-21 16:26:00, Info                  SYSPRP ========================================================
    2017-08-21 16:26:00, Info                  SYSPRP ===          Beginning of a new sysprep run          ===
    2017-08-21 16:26:00, Info                  SYSPRP ========================================================
    2017-08-21 16:26:00, Info       [0x0f004d] SYSPRP The time is now 2017-08-21 16:26:00
    2017-08-21 16:26:00, Info       [0x0f004e] SYSPRP Initialized SysPrep log at C:\Windows\System32\Sysprep\Panther
    2017-08-21 16:26:00, Info       [0x0f0054] SYSPRP ValidateUser:User has required privileges to sysprep machine
    2017-08-21 16:26:00, Info       [0x0f007e] SYSPRP FCreateTagFile:Tag file C:\Windows\System32\Sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything
    2017-08-21 16:26:00, Warning               SYSPRP WinMain: File operations pending
    2017-08-21 16:26:00, Info       [0x0f003d] SYSPRP WinMain:Displaying dialog box for user to choose sysprep mode...
    2017-08-21 16:26:03, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'cleanup' internal providers.
    2017-08-21 16:26:03, Info                  SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 3
    2017-08-21 16:26:04, Info       [0x0f00ba] SYSPRP SysprepSession::CreateSession: Successfully created instance with mount path C:, action file C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml, and mode <null>
    2017-08-21 16:26:04, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml
    2017-08-21 16:26:04, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2017-08-21 16:26:04, Info                  SYSPRP ActionPlatform::GetValue: Getting value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2017-08-21 16:26:04, Warning               SYSPRP ActionPlatform::GetValue: Error from RegQueryValueEx on value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep; dwRet = 0x2
    2017-08-21 16:26:04, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
    2017-08-21 16:26:04, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2017-08-21 16:26:04, Info                  SYSPRP ActionPlatform::GetValue: Getting value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2017-08-21 16:26:04, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
    2017-08-21 16:26:04, Info       [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'Sysprep_Clean_Validate_Opk' in C:\Windows\System32\spopk.dll; executing it
    2017-08-21 16:26:04, Info       [0x0f0081] SYSPRP ActionPlatform::LaunchModule: Successfully executed 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll without error
    2017-08-21 16:26:04, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'generalize' internal providers.
    2017-08-21 16:26:04, Info                  SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 1
    2017-08-21 16:26:04, Info       [0x0f00ba] SYSPRP SysprepSession::CreateSession: Successfully created instance with mount path C:, action file C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml, and mode <null>
    2017-08-21 16:26:04, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml
    2017-08-21 16:26:04, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2017-08-21 16:26:04, Info                  SYSPRP ActionPlatform::GetValue: Getting value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2017-08-21 16:26:04, Warning               SYSPRP ActionPlatform::GetValue: Error from RegQueryValueEx on value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep; dwRet = 0x2
    2017-08-21 16:26:04, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
    2017-08-21 16:26:04, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2017-08-21 16:26:04, Info                  SYSPRP ActionPlatform::GetValue: Getting value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2017-08-21 16:26:04, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
    2017-08-21 16:26:04, Info       [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'ValidateBitLockerState' in C:\Windows\System32\BdeSysprep.dll; executing it
    2017-08-21 16:26:05, Info       [0x0f0081] SYSPRP ActionPlatform::LaunchModule: Successfully executed 'ValidateBitLockerState' from C:\Windows\System32\BdeSysprep.dll without error
    2017-08-21 16:26:05, Info       [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'SysprepGeneralizeValidate' in C:\Windows\System32\AppxSysprep.dll; executing it
    2017-08-21 16:26:05, Info                  SYSPRP Entering SysprepGeneralizeValidate (Appx) - validating whether all apps are also provisioned.

    2017-08-21 16:26:06, Error                 SYSPRP Package AdobeSystemsIncorporated.AdobePhotoshopExpress_1.3.4.57_x64__ynb6jyjzte8ga was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.

    2017-08-21 16:26:06, Error                 SYSPRP Failed to remove apps for the current user: 0x80073cf2.

    2017-08-21 16:26:06, Error                 SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.

    2017-08-21 16:26:06, Error      [0x0f0082] SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2
    2017-08-21 16:26:06, Error                 SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2
    2017-08-21 16:26:06, Error                 SYSPRP RunPlatformActions:Failed while validating SysprepSession actions; dwRet = 0x3cf2
    2017-08-21 16:26:06, Error      [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2
    2017-08-21 16:26:06, Error      [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2
    2017-08-21 16:26:20, Info       [0x0f0052] SYSPRP Shutting down SysPrep log
    2017-08-21 16:26:20, Info       [0x0f004d] SYSPRP The time is now 2017-08-21 16:26:20

    Bedanke mich schonmal!

    Montag, 21. August 2017 14:28

Antworten

  • Leider keinen Erfolg mit den Links, Deinstallation von Adobe etc..

    Werde die virtuellen Maschinen nun neu aufsetzen müssen.

    Beste Grüße

    Freitag, 15. September 2017 09:06

Alle Antworten

  • Hallo,

    sysprep kannst du nur ein paar mal aufrufen. Wenn du sysprep mit dieser VM zu oft aufgerufen hast, dann geht das nicht mehr. Sollte dies der Fall sein, dann musst du die Maschine neu installieren.

    Montag, 21. August 2017 14:36
  • Hey,

    schau dir mal bitte folgendes an:

    https://support.microsoft.com/en-us/help/2769827/sysprep-fails-after-you-remove-or-update-windows-store-apps-that-inclu

    sieht sehr danach aus :)

    LG

    Carsten


    http://www.ms-fabric.de/ Wenn Dir eine Forenantwort weiter geholfen hat dann markiere sie doch bitte als Antwort, dies hilft anderen bei der Lösung von Problemen! LG Carsten

    Montag, 21. August 2017 14:41
  • Hi Carsten,

    habe den Artikel probiert - leider wieder ein Fehler beim syspreben.

    Habe dazu einfach das Domain Administrator aus den benutzerprofilen gelöscht - das hat wohl die Apps durch die GPOs heruntergeladen:

    Folgendes Log nun:


    2017-08-22 13:37:57, Info                  SYSPRP ========================================================
    2017-08-22 13:37:57, Info                  SYSPRP ===          Beginning of a new sysprep run          ===
    2017-08-22 13:37:57, Info                  SYSPRP ========================================================
    2017-08-22 13:37:57, Info       [0x0f004d] SYSPRP The time is now 2017-08-22 13:37:57
    2017-08-22 13:37:57, Info       [0x0f004e] SYSPRP Initialized SysPrep log at C:\Windows\System32\Sysprep\Panther
    2017-08-22 13:37:57, Info       [0x0f0054] SYSPRP ValidateUser:User has required privileges to sysprep machine
    2017-08-22 13:37:57, Info       [0x0f007e] SYSPRP FCreateTagFile:Tag file C:\Windows\System32\Sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything
    2017-08-22 13:37:57, Info       [0x0f003d] SYSPRP WinMain:Displaying dialog box for user to choose sysprep mode...
    2017-08-22 13:38:00, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'cleanup' internal providers.
    2017-08-22 13:38:00, Info                  SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 3
    2017-08-22 13:38:01, Info       [0x0f00ba] SYSPRP SysprepSession::CreateSession: Successfully created instance with mount path C:, action file C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml, and mode <null>
    2017-08-22 13:38:01, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml
    2017-08-22 13:38:01, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2017-08-22 13:38:01, Info                  SYSPRP ActionPlatform::GetValue: Getting value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2017-08-22 13:38:01, Warning               SYSPRP ActionPlatform::GetValue: Error from RegQueryValueEx on value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep; dwRet = 0x2
    2017-08-22 13:38:01, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
    2017-08-22 13:38:01, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2017-08-22 13:38:01, Info                  SYSPRP ActionPlatform::GetValue: Getting value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2017-08-22 13:38:01, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
    2017-08-22 13:38:01, Info       [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'Sysprep_Clean_Validate_Opk' in C:\Windows\System32\spopk.dll; executing it
    2017-08-22 13:38:01, Info       [0x0f0081] SYSPRP ActionPlatform::LaunchModule: Successfully executed 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll without error
    2017-08-22 13:38:01, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'generalize' internal providers.
    2017-08-22 13:38:01, Info                  SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 1
    2017-08-22 13:38:01, Info       [0x0f00ba] SYSPRP SysprepSession::CreateSession: Successfully created instance with mount path C:, action file C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml, and mode <null>
    2017-08-22 13:38:01, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml
    2017-08-22 13:38:01, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2017-08-22 13:38:01, Info                  SYSPRP ActionPlatform::GetValue: Getting value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
    2017-08-22 13:38:01, Warning               SYSPRP ActionPlatform::GetValue: Error from RegQueryValueEx on value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep; dwRet = 0x2
    2017-08-22 13:38:01, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
    2017-08-22 13:38:01, Info                  SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2017-08-22 13:38:01, Info                  SYSPRP ActionPlatform::GetValue: Getting value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    2017-08-22 13:38:01, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
    2017-08-22 13:38:01, Info       [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'ValidateBitLockerState' in C:\Windows\System32\BdeSysprep.dll; executing it
    2017-08-22 13:38:01, Info       [0x0f0081] SYSPRP ActionPlatform::LaunchModule: Successfully executed 'ValidateBitLockerState' from C:\Windows\System32\BdeSysprep.dll without error
    2017-08-22 13:38:01, Info       [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'SysprepGeneralizeValidate' in C:\Windows\System32\AppxSysprep.dll; executing it
    2017-08-22 13:38:01, Info                  SYSPRP Entering SysprepGeneralizeValidate (Appx) - validating whether all apps are also provisioned.

    2017-08-22 13:38:03, Error                 SYSPRP Package Microsoft.BingNews_4.21.1434.0_x64__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.

    2017-08-22 13:38:03, Error                 SYSPRP Failed to remove apps for the current user: 0x80073cf2.

    2017-08-22 13:38:03, Error                 SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.

    2017-08-22 13:38:03, Error      [0x0f0082] SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2
    2017-08-22 13:38:03, Error                 SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2
    2017-08-22 13:38:03, Error                 SYSPRP RunPlatformActions:Failed while validating SysprepSession actions; dwRet = 0x3cf2
    2017-08-22 13:38:03, Error      [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2
    2017-08-22 13:38:03, Error      [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2
    2017-08-22 13:42:06, Info       [0x0f0052] SYSPRP Shutting down SysPrep log
    2017-08-22 13:42:06, Info       [0x0f004d] SYSPRP The time is now 2017-08-22 13:42:06

    Dienstag, 22. August 2017 11:44
  • Keiner eine Idee?
    Donnerstag, 24. August 2017 10:55
  • Hi,

    schau mal hier!

    Link

    oder

    Link2


    Bis dann, Toni! Wenn Dir meine Antwort hilft dann markiere sie bitte als Antwort! Vielen Dank!


    • Bearbeitet tonibert Donnerstag, 24. August 2017 14:28
    Donnerstag, 24. August 2017 14:26
  • Leider keinen Erfolg mit den Links, Deinstallation von Adobe etc..

    Werde die virtuellen Maschinen nun neu aufsetzen müssen.

    Beste Grüße

    Freitag, 15. September 2017 09:06
  • Moin moin,

    hast du daran gedacht, dass bei Windows 10 für Sysprep der Audit-Mode benutzt werden muss? In diesem arbeitest du mit einem Profil, dass später als Standardprofil gespeichert wird und es werden u.A. keine Apps heruntergeladen. Starten kannst du diesen Modus, in dem du bei einer frischen Windows 10 Maschine ganz am Anfang (noch vor den Grundeinstellungen) Ctrl + Shift + F3 drückst.

    Der Modus muss seit Windows 10 verwendet, da Sysprep sonst immer an den Apps scheitert. 

    Gruß

    ThaRealNino

    Freitag, 15. September 2017 11:57