%windir%\System32\Sysprep\Panther\setupact.log indicates this crash is triggered by the presence of a C:\Windows.old folder within the template containing leftover files from a previous Windows installation or patch update. Because the Sysprep process crashes upon encountering this residual directory, it fails to execute the final guest OS configuration steps necessary to apply the proper IP configuration.Info SYSPRP ActionPlatform: : LaunchModule: Executing method 'Sysprep_Clean_Opk' from C: \Windows\System32\spopk. dll
Error pValidateChildDirectory: Failed to validate the working directory [C:\Windows.old]. hr = 0x80070002[gle=0x00000002]
Error pLoadSetupPlatform: Child directory validation failed for [C:\Windows.old\$WINDOWS .~ BT\Sources]. hr = 0x80070002[gle=0x00000002]
Error pGetUninstallInterfaceCommon: Failed loading the setupplatform, hr = 0x80070002[gle=0x00000002]
Error SYSPRP RemoveUninstall:Failed to instantiate uninstall interface; hr = 0x80070002[gle=0x00000002]
Error SYSPRP Sysprep_Clean_Opk:Failed to remove Uninstall; dwRet = 0x2[gle=0x00000002]
Error SYSPRP ActionPlatform :: LaunchModule: Failure occurred while executing 'Sysprep_Clean_Opk' from C:\Windows\System32\spopk.dll; dwRet = 0x2[gle=0x00000002]
Error SYSPRP SysprepSession :: ExecuteAction: Failed during sysprepModule operation; dwRet = 0x2[gle=0x00000006]
Error SYSPRP SysprepSession :: ExecuteInternal: Error in executing action for Microsoft-Windows-Sysprep-SpOpk; dwRet = 0x2[gle=0x00000006]
Error SYSPRP SysprepSession :: Execute: Error in executing actions from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml; dwRet = 0x2
Info SYSPRP SysprepSession :: Execute: Sysprep mode was not specified, deleting it from registry
Error SYSPRP RunPlatformActions:Failed while executing Sysprep session actions; dwRet = 0x2
Error [0x0f0070] SYSPRP RunDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x2
Error [0x0f00a8] SYSPRP WinMain:Hit failure while processing sysprep cleanup providers; hr = 0x80070002
Info [0x0f004c] SYSPRP WaitThread:Exiting spawned waiting thread
Info [0x0f0052] SYSPRP Shutting down SysPrep logVMware Aria Automation 8.x
This issue occurs because the Windows System Preparation (Sysprep) utility encounters a fatal error and crashes during the Sysprep_Clean_Opk phase within the guest operating system.
Guest OS customization via Sysprep falls outside VMware Aria Automation support.