I would like to create a windows image that can be cloned to multiple different computers, with different (known) hardware. And I would like Windows to resize the partitions after cloning. I read that you should "sysprep /generalize" from audit mode before cloning an image.
Now my question is, can I just install windows normally and interrupt the installation before the specialize step, in order to make a copy? Or do I have to let it proceed into OOBE, then enter audit mode, and then generalize manually? Whats the simplest scheme to achive this?
Things that are confusing me:
- Can I do everything from one answer file, or do I have to create separate autounattend.xml and unattend.xml like in this tutorial? How do I chain them then?
- There is
<Generalize ForceShutDownNow="true" Mode="OOBE" />
which seems to let me interrupt the installation, but it only goes in the5 auditSystem
block. So that means I will go twice through generalize? I want to useExtendOSPartition
, which only makes sense in4 specialize
(after cloning)... But if I go twice though generalize, then I need to run this only the second time (unattend.xml
)... but to achive this I'd have to go through audit mode and call sysprep manually.