Convert hard drive image from RAW to QCOW2 format:

kvm-img convert -O qcow2 ws-2012.img ws-2012-refimage.qcow2

The best way is to convert it back to the RAW format with a new name like this

kvm-img convert -O raw ws-2012-refimage.qcow2 new-vm-name.img

The qcow2 file should be about 7 Gb in size.

It’s a good idea to reflect Windows Server type in image’s name. For example

ws-2012-full-refimage.qcow2 for GUI version
ws-2012-core-refimage.qcow2 for Core version

Now we have a Reference Windows Server image, which we will use in further image preparation steps.