none
Mit Windows 10 Version 20h2 funktioniert mein sysprep nicht mehr RRS feed

  • Frage

  • Nach der Umstellung von Windows 10 Version 1909 auf Windows 10 Version 20h2 funktioniert mein sysprep nicht mehr.

    Es kommt die Meldung "Von Sysprep konnte die Windows-Installation nicht überprüft werden."

    Diese Befehle führe ich immer vor dem sysprep aus:

    Get-AppxPackage -Alluser |foreach {Remove-AppxPackage -allusers -Package $_.PackageFullName}
    Get-AppxPackage -Alluser |foreach {Remove-AppxProvisionedPackage -Online -PackageName $_.PackageFullName}

    Mein sysprep-Befehl erfolgt in folgender Form:

    C:\WINDOWS\System32\Sysprep\Sysprep.exe /generalize /oobe /shutdown /unattend:"c:\RollOut\Sysprep\unattend.xml"

    Hat vielleicht jemand eine Idee, ich würde mich freuen.

    MfG

    Michael Oehlke

    Freitag, 20. November 2020 07:47

Alle Antworten

  • Hallo Michael,

    Was sagt das Sysprep-Log dazu?

    %windir%\system32\Sysprep\panther\setupact.log

    Grüße,

    Yavor

    Freitag, 20. November 2020 16:06
  • Hallo Yavor,

    2020-11-19 14:50:46, Info                  SYSPRP ========================================================
    2020-11-19 14:50:46, Info                  SYSPRP ===          Beginning of a new sysprep run          ===
    2020-11-19 14:50:46, Info                  SYSPRP ========================================================
    2020-11-19 14:50:46, Info       [0x0f004d] SYSPRP The time is now 2020-11-19 14:50:46
    2020-11-19 14:50:46, Info       [0x0f004e] SYSPRP Initialized SysPrep log at C:\WINDOWS\System32\Sysprep\Panther
    2020-11-19 14:50:46, Info       [0x0f0054] SYSPRP ValidatePrivileges:User has required privileges to sysprep machine
    2020-11-19 14:50:46, Info       [0x0f007e] SYSPRP FCreateTagFile:Tag file C:\WINDOWS\System32\Sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything
    2020-11-19 14:50:46, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'GENERALIZE'
    2020-11-19 14:50:46, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'OOBE'
    2020-11-19 14:50:46, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'SHUTDOWN'
    2020-11-19 14:50:46, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'UNATTEND'
    2020-11-19 14:50:46, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'cleanup' internal providers.
    2020-11-19 14:50:46, Info                  SYSPRP RunDlls:Running platform actions specified in action file for phase 3
    2020-11-19 14:50:46, Info                  SYSPRP SysprepSession::CreateSession: Successfully created instance with action file C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml, and mode <null>
    2020-11-19 14:50:46, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml
    2020-11-19 14:50:46, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
    2020-11-19 14:50:46, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
    2020-11-19 14:50:46, Info                  SYSPRP ActionPlatform::LaunchModule: Executing method 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll
    2020-11-19 14:50:46, Info                  SYSPRP Sysprep_Clean_Validate_Opk:Sysprep will run on an upgraded OS.
    2020-11-19 14:50:46, Info                  CSI    00000001 Shim considered [l:125]'\??\C:\WINDOWS\Servicing\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.504_none_e781e76525fb2269\wcp.dll' : got STATUS_OBJECT_PATH_NOT_FOUND
    2020-11-19 14:50:46, Info                  CSI    00000002 Shim considered [l:122]'\??\C:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.504_none_e781e76525fb2269\wcp.dll' : got STATUS_SUCCESS
    2020-11-19 14:50:47, Info                  SYSPRP Sysprep_Clean_Validate_Opk: Successfully validated reserves state on the machine for entering audit mode.
    2020-11-19 14:50:47, Info                  SYSPRP ActionPlatform::LaunchModule: Successfully executed 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll
    2020-11-19 14:50:47, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'generalize' internal providers.
    2020-11-19 14:50:47, Info                  SYSPRP RunDlls:Running platform actions specified in action file for phase 1
    2020-11-19 14:50:47, Info                  SYSPRP SysprepSession::CreateSession: Successfully created instance with action file C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml, and mode <null>
    2020-11-19 14:50:47, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml
    2020-11-19 14:50:47, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
    2020-11-19 14:50:47, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
    2020-11-19 14:50:47, Info                  SYSPRP ActionPlatform::LaunchModule: Executing method 'ValidateBitLockerState' from C:\Windows\System32\BdeSysprep.dll
    2020-11-19 14:50:47, Info                  SYSPRP ActionPlatform::LaunchModule: Successfully executed 'ValidateBitLockerState' from C:\Windows\System32\BdeSysprep.dll
    2020-11-19 14:50:47, Info                  SYSPRP ActionPlatform::LaunchModule: Executing method 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll
    2020-11-19 14:50:47, Info                  SYSPRP Entering SysprepGeneralizeValidate (Appx) - validating whether all apps are also provisioned.
    2020-11-19 14:50:47, Error                 SYSPRP Package InputApp_1000.17763.1.0_neutral_neutral_cw5n1h2txyewy was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.
    2020-11-19 14:50:47, Error                 SYSPRP Failed to remove apps for the current user: 0x80073cf2.
    2020-11-19 14:50:47, Error                 SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.
    2020-11-19 14:50:47, Error                 SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2
    2020-11-19 14:50:47, Error                 SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2
    2020-11-19 14:50:47, Error                 SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x3cf2
    2020-11-19 14:50:47, Error      [0x0f0070] SYSPRP RunDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2
    2020-11-19 14:50:47, Error      [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2
    2020-11-19 14:51:05, Info       [0x0f0052] SYSPRP Shutting down SysPrep log
    2020-11-19 14:51:05, Info       [0x0f004d] SYSPRP The time is now 2020-11-19 14:51:05

    Gruß Michael

    Montag, 23. November 2020 08:20
  • Hallo Michael, 

    hast du dafür eine Lösung gefunden? 

    Ich habe das gleiche Problem.

    Gruß Jürgen

    Freitag, 4. Dezember 2020 08:12
  • Hallo Jürgen,

    bis jetzt noch nicht. Ich hoffe jetzt auf meinen ZEN-Spezialisten, mit dem ich im Januar einen Termin habe.

    Gruß Michael

    Montag, 14. Dezember 2020 07:03
  • Hallo zusammen,

    es hat etwas gedauert, aber nun läuft unser sysprep wieder, worüber ich richtig happy bin.

    Geholfen hat uns dabei das folgende geniale Tool.

    GitHub - SoftSonic83/AppxDBEditor: AppxDBEditor for Windows 10 (Unprotect Preinstalled System Apps for Removal)

    Ich kann mich an dieser Stelle nur bei den Entwicklern bedanken für diese ausserordentlich hilfreiche Tool.

    Die Beschreibung dazu ist sehr gut.

    Gruß Michael



    Michael Oehlke

    Montag, 8. März 2021 22:55