Run
CMD
cd c:\windows\system32\sysprep and pressing Enter.
To run sysprep with the standard GUI options, but also the /mode:vm switch, type sysprep.exe /oobe /generalize /shutdown /mode:vm and press Enter.