Support for Windows Server 2012?

  • Hi all,

    I was wondering if Windows Server 2012 will be supported as an imaged system for deployment? I’m a software developer in a group that uses Ghost currently for deploying several images for automated testing, including Windows 7, Windows 8, and Windows Server 2012. I have Ubuntu server 14.04 installed with FOG version 1.1.2 and I got it all up and running fairly easily and have imaged Windows 8, uploading and downloading successfully to VMware Workstation 10.0.3. If I try to do the same with Windows Server 2012, I can get the image to upload successfully, but it doesn’t download; the job seems to complete very fast and the VM reboots to a Missing operating system prompt. Has anyone gotten Windows Server 2012 to image successfully, and if so, can you share what settings you are using for the image? I tried “Windows Other” and “Windows 8” for the operating system when creating the image and "Multiple Partition Image - Single Disk (Not Resizable). Is there any other information that I should post that would be helpful? I just started working with FOG yesterday and have been reading through the documentation and forums for anything I can find for assistance.


  • Also, I am a volunteer network admin for a Catholic school in Crystal Lake, Illinois. My kids are long gone, but I still help out even though I relocated to Atlanta, Georgia a couple of years ago. We had been using Ghost 15 (couldn’t afford the network version of Ghost) and a few USB drives to image the 50 or so computers we have. FOG will be a GREAT timesaver for the local technology manager I work with there! Many thanks for your efforts in producing this well done product!

    Thanks again,

  • I figured out the issue, and I’m here to report I’m an idiot. 🙂

    The original Windows Server 2012 installation had a 100GB system partition.

    When I created the test VM, I used the default of 60GB for a system partition. My bad. The clues were there (Single Disk - Not resizable), I just missed them. If I could make a request: If the target partition is smaller than the source, can an error be sent to the screen, or logged to a file somewhere? It may have reported an error to the screen, but then it scrolls by very fast before rebooting. I’d like to thank both of you for your time in helping me with this issue! It looks like FOG will work very well for us in replacing Ghost.

  • I’ve got the image set to “Windows 8” and it’s a Multiple Partition Image - Single Disk (Not resizable). I chose Windows 8 because the disk structure for the Windows Server 2012 installation is almost exactly the same as the Windows 8 installation I successfully imaged earlier today. Thanks!

  • Senior Developer

    What OS type have set the system to, and are you trying “Resizable” or Multipart?

  • I have the same issue after re-uploading and then downloading. During the download, I see a quick “Database update successful” (I think it says that) message before the system quickly reboots (without downloading the image).

  • Developer

    with the system now converted, try to re-upload the image.

  • Will be offline for a bit and back online later. Thanks very much for your help!

  • I can’t copy the BCD file; it’s in use by the system. I might be able to open the vmd file in another VM and copy it over.

  • [EMAIL]root@FOGServer:/opt/fog/log[/EMAIL]# gdisk -l /dev/sda
    GPT fdisk (gdisk) version 0.8.8
    Partition table scan:
    MBR: MBR only
    BSD: not present
    APM: not present
    GPT: not present

    Found invalid GPT and valid MBR; converting MBR to GPT format
    in memory.

    Disk /dev/sda: 104857600 sectors, 50.0 GiB
    Logical sector size: 512 bytes
    Disk identifier (GUID): 8AE43B70-6271-4FEE-A07F-2F6D87148AC6
    Partition table holds up to 128 entries
    First usable sector is 34, last usable sector is 104857566
    Partitions will be aligned on 2048-sector boundaries
    Total free space is 6077 sectors (3.0 MiB)
    Number Start (sector) End (sector) Size Code Name
    1 2048 102762495 49.0 GiB 8300 Linux filesystem
    5 102764544 104855551 1021.0 MiB 8200 Linux swap
    [EMAIL]root@FOGServer:/opt/fog/log[/EMAIL]# ^C

  • Developer

    you can upload a file to a thread. what is the output of the command i asked you to run?

  • Got it…how shall I send it to you?

  • Developer

    anyway, to see the GPT formatting of the boot structure, create a debug task for the host
    at the command prompt enter
    [FONT=Consolas]gdisk -l /dev/sda[/FONT]
    and tell me the output

  • Developer

    looked in the 350mb partition viewing hidden files?

  • Sysprep completed, there is no BCD file on the disk that I can see.

  • Running sysprep with the generalize and quit options. As to the GPT partition structure; can I see that in the Disk Management application? I only see two simple volumes on a basic disc, the 350MB NTFS one and the 100GB NTFS one.

  • Developer

    if you don’t see a /boot folder, then that usually means there’s a hidden recovery partition with that folder on it.
    but, rereading your original question, i don’t think the BCD is the problem. it sounds like you might have a GPT partition structure on the disk.

  • I’ll have to download it; it’s not installed on this server. I’ll get back to you; thanks!

  • Hmmm, the original Windows Server 2012 system boots fine; the upload seemed to work fine, it’s the download of the image that never seems to start (I never seem the image loading), it quickly finishes (I can’t see an error flash by) and reboots, but no image has been downloaded. Is that BCD file required to do the download? I have one Windows 7 system and I can see the BCD file in the \boot directory; however the Windows 8 system I imaged up/down successfully has no \boot directory or BCD file, nor does the Windows 2012 system. The Windows 8 and Windows Server 2012 systems look very similar, but no BCD file on either. Any other things I should look for? Thanks for the help!

  • Developer

    could you run sysprep on the machine, with the /generalize and /quit options, and provide us with a copy of your BCD file?

Log in to reply