Most common reason for this is, the store apps that comes with Windows 10.
You will able to find more details regarding this issue from log files in 2 locations.
- SCCM Task Sequence log (SMSTS.log) - on Run prompt type %temp% to go directly to log location.
- Sysprep Error Log (setuperr.log) - Go to C:\Windows\System32\Sysprep\Panther\.
In SETUPERR log there's the store app that fail the sysprep process.
Removing those apps will lead to a successful reference media creation.
To do that, in a Windows Powershell session type,
Get-AppXPackage -Name Microsoft.RemoteDesktop | Remove-AppxPackage
After removing failing Apps again run the capture media and it should work.
Woow Excellent, was the solution for me, Thank you very much for your post.
ReplyDeleteThank you. If anyone wants to remove all the appxs follow this link for commands https://www.thewindowsclub.com/sysprep-fails-windows-10
ReplyDelete