Before capturing your Windows 7 image you need to Sysprep it. The Sysprep tool hasn’t changed but a reminder of the options is always nice. In Windows 7 the Sysprep files are located at:
You can double click the executable or use the command line to seal the system. The options available are:
- /audit – This will restart the PC into audit mode which enables you to add applications, drivers, and test the system without making changes to the default user profile
- /generalize – This will remove all SIDs, clear out any system restore points and clear the event logs as well as resetting the activation grace period.
- /oobe – This will force the out of box experience upon system restart
- /reboot – This will reboot the system once the Sysprep command is complete
- /shutdown – This will shutdown the system once the Sysprep command is complete
- /quiet – This will run the Sysprep command without any onscreen display
- /quit – This will close the Sysprep command once it is finished running
- /unattend: This will apply any settings specified in an unatteded install file
A few examples of how you would use this include:
Sysprep.exe /oobe /generalize /shutdown will prep the image to be captured before deployment
Sysprep.exe /audit /reboot will reboot the system into audit mode and allow you to make any changes
One thing to note is that you can only generalize a system three (3) times as each time resets the activation grace period and you can only do that three (3) times.