PSA - Known issue regarding Sysprep failing on Windows 10 image build & capture

There's a known issue where sysprep fails (machine freezes or BSOD intermittently - SYSTEM_THREAD_EXCEPTION_NOT_HANDLED ) on Windows 10 when running on Hyper-V hardware. You would most commonly run across this issue when trying to prepare your image after running through a build-and-capture task sequence, usually using MDT.

The cause is almost always an issue with the Legacy Network Adapter device type, which you might have used to enable PXE booting from inside the VM. To work around this issue, you should use Generation 2 VMs or Generation 1 VMs with non-legacy adapters (the standard adapter type).

Note that if you are running with Gen 1 VMs and don’t use Legacy Adapters, you can't PXE boot - meaning you'll need to boot to an ISO or some other mechanism if you'll need that for your Windows 10 build.