Sysprep Validate KB ID 0001934
Problem
Seen whilst running sysprep on a Windows machine.
System Preparation Tool 3.14
Sysprep was not able to validate your Windows installation. Review the log file at %windir%\system32\Sysprep\panther\setupact.log for details. After resolving the issue use Sysprep to validate your installation again.
Solution: Sysprep Validate Fails
Well it’s telling us to review that file, the easiest way to do that is.
notepad %windir%\system32\Sysprep\panther\setupact.log
There’s our problem
Error SYSPRP Package Microsoft.Copilot_1.25102.233.0_x64__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.
Error SYSPRP Failed to remove apps for the current user: 0x80073cf2.
Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.
This means Sysprep is failing because the Microsoft Copilot app is installed for a specific user but not provisioned system-wide. Sysprep requires all apps to be provisioned for all users or removed entirely.
Open an administrative PowerShell window, and run the following two commands.
Get-AppxPackage -Name Microsoft.Copilot -AllUsers | Remove-AppxPackage
Get-AppxProvisionedPackage -Online | Where-Object {$_.DisplayName -eq "Microsoft.Copilot"} | Remove-AppxProvisionedPackage -Online
Then reboot and try running sysprep again.
Related Articles, References, Credits, or External Links
NA
Visit PeteNetLive on YouTube! (Please Subscribe)

