Windows 10 - Sysprep Fails After Windows Updates
I have a golden image on Hyper V that needs to run Windows Updates. I ran PS scripts that another helpful user provided me with which work great, however the same script doesn't work to fix this issue after the updates run. Sysprep runs fine if the updates do not run. Setupact.txt shows it is usually one of the built in apps/appxpackage (Windows.Miracast... in this case).
Are there any commands for cmd or PowerShell that run only Critical and Security updates? Or a setting that disables Store, Appx, feature, etc updates running as part of a Windows update?
I tried enabling a local policy prior to and still the same issue. My concern with not running the updates before capture is that a MASSIVE list of updates will be required for each image deployed in that quarter.
- W10 Pro x64
- Build 1703
- Image built in Hyper V from K2000
- Scripted install with unattend file which enabled the built in admin account, so there has only ever been one account
Any advice would be great.