Adding sccm clients to our gold image to avoid installing sccm client every time we build a new vm.
To install sccm client is straight forward but we need to do some post clean up before we do sysprep/capture our image.
Once you install the SCCM client on your vm (image vm), please do the following action before performing sysprep/capture:
- Install the SCCM client on the target vm
- Stop the SCCM client service (ccmexec)
- Remove the SMS certificates stored in the local computer certificate store.
- Delete the %SystemRoot%\SmsCfg.ini file (c:\windows\smscfg.ini)