PS HarriJaakkonen :~/Blog/Posts> cat ./sysprep-windows-8-and-windows-10.html

Sysprep Windows 8 and Windows 10

Hi,

If you ever get problems while doing a sysprep on Windows 8 or 10.

1. Unplug network cable or disconnect wifi.
2. Use the powershell command below to cleanup any live-apps, because you cannot sysprep them.

get-appxpackage | remove-appxpackage

Then do a sysprep with or without answer file and it goes thru.

c:windowssystem32sysprepsysprep /generalize /oobe /shutdown