You have a reference computer that runs Windows 7. You plan to deploy an image of the computer. You create an answer file named answer.xml. You need to ensure that the installation applies the answer file after you deploy the image. Which command should you run before you capture the image?
A.
Imagex.exe /append answer.xml /check
B.
Imagex.exe /mount answer.xml /verify
C.
Sysprep.exe /reboot /audit /unattend:answer.xml
D.
Sysprep.exe /generalize /oobe /unattend:answer.xml
Explanation:
To prepare the reference computer for the user, you use the Sysprep utility with the /generalize option to remove hardware-specific information from the Windows installation and the /oobe option to configure the computer to boot to Windows Welcome upon the next restart. Open an elevated command prompt on the reference computer and run the following command:
c:windowssystem32sysprepsysprep.exe /oobe /generalize /shutdown
Sysprep prepares the image for capture by cleaning up various user-specific and computer-specific settings, as well as log files. The reference installation now is complete and ready to be imaged.