Sorry for the delay on this post. Been testing different things. Thanks for the tips Tom
The problem has changed a bit, the issue is not the windows it self. As Tom suggested, setting the image up with windows 7 makes fog resizing as it should, the problem is fake raid. The computer used is a new HP Z440 (also tested on Z420) and I have 2 x 2Tb disks inside. In bios I’ve using raid as sata mode and I’m setting up a raid 1 in the raid settup (pressing ctrl + i before windows boot). This makes a fake raid handled by the bios. When trying to capture a image of this computer fog is recognizing the disks as 2 deperate disks and not a raid. The raid has 3 partitions. This is my test and results:
First I tried to use image type “single disk - resizable” with partition “everything”. Fog started to capture the computer and everything looked fine. Only 1 disk was backed up with 3 partitions. I assumed this was because fog did recognize the raid, but when trying to deploy the same image to the computer again (I had deleted all data on the hard drives and rebuilt the raid to raid 1) the raid was degraded and only one of the disks contained data. So fog had degraded the raid and written the image to only one disk.
In my second attempt I used as image type “Multiple partition image - all disks” with partiton “everything”. The computer was setup the same way as on my first attempt. This time fog did take a image from both disks, so the image foldes had a d1p1, d1p2, d1p3 d2p1, d2p2 and a d2p3 file. When trying to deploy the image again after cleaning the hard drives and rebuild the raid again fog only deployed the image to one harddive and this harddrive was kicked out of the raid to a non-raid disk. So rebuilding it was not longer an option.
I surfed around and found a way to use partimage to see if this could solve my problem. We have earlier used PING which uses partimage and this tool handled raid very well. I enabled IMG_FORMAT_FLAG_IN_GUI option from FOG Configuration->FOG Settings->General Settings after reading a post in this forum. Now I could choose between partclone and partimage. I used partimage in the image setup and tried to capture a image. But partclone was used to capture the image and not partimage.
So my question will be is there any way to capture and deploy a computer with raid 1 or raid 10 (we are going to use raid 10 in the future)? This has to be done without degrading or destroying the raid.