How to create a custom Windows image using Sysprep & capture the image using DISM / WDS.Image compression & cleanup command: dism /online /Cleanup-Image /StartComponentCleanup /ResetBase