Windows 10: Windows ICD Hard Drive Partitioning

  1.    09 Feb 2017 #1

    Windows ICD Hard Drive Partitioning

    I have created my Windows ICD Build that I am deploying and it works, but I have one thing I need to accomplish. I want to partition the Hard Drive into a O/S partition C: & Data Partition Z:
    My initial thought was to boot the target computer with a WindowPE flash Drive and use Diskpart to partition the hard drive prior to running my Windows ICD Flash Drive build installer.
    Currently the Window ICD Installer completely wipes the hard drive and installs the O/S with my Customization's (completely unattended). What I want is for the installer to leave the Data Partition (Z:) untouched. There will be files within the Z: partition i need to stay if or when we need to rebuild the computer using the Windows ICD installer. Is there a way to make my Windows ICD build just install to the c partition and not overwrite the z: partition? I need this partition to remain after every rebuild
      My ComputerSystem Spec

  2.    09 Feb 2017 #2

    If a solution is not found, I recommend making a full image of that data partition onto external media using any one of several excellent backup/restore programs. Then after the rebuild, partition the hard-drive as to what you want for C and Z, restore that image onto Z.
      My ComputerSystem Spec

  3.    09 Feb 2017 #3

    The only problem is that I want to keep the data in Z current at the time of rebuild. If I image the z partition it will only restore the image that was taken and not the current data in the partition.
      My ComputerSystem Spec

  4. Posts : 1,479
    Windows 10 Pro (32-bit) 16299.15
       09 Feb 2017 #4

    I read somewhere that the option to create Production Media (as opposed to Clean) gives more options to add test scripts so maybe other scripts could be added in that option? I really don't know though.

    This page also suggests you can save your image as a FFU file (I never got that to work but haven't tried since ADK 1511) and then deploy with a DISM command, which presumably gives more control if you change some of the DISM parameters(?) But it's not as user friendly as inserting a bootable USB stick and letting it run.
    Lab 1: Customize and install Windows using the Windows Imaging and Configuration Designer (ICD)
    Step 9: Install Windows on the reference device

    1. Insert the WinPE USB drive into your reference device.
    2. Boot up the reference device to the boot device selection menu. You usually do this by powering on the device and quickly pressing a specific key or button (for example, the Esc key or the Volume down button), and selecting the USB key.
    3. Insert the FFU USB drive into your reference device. Determine which driver letter is assigned to this drive by doing the following:
      1. From the WinPE command prompt, type: diskpart and press Enter.
      2. At the diskpart prompt, typelist volume and press Enter.

      This lists all of the volumes present in the system. Determine the driver letter that corresponds to the FFU USB key, for example, G.
    4. From the WinPE command prompt, type the following:

    Dism.exe /apply-image /imagefile=G:\MyFFUImage.ffu /applydrive=\\.\physicaldrive0 /skipplatformcheck /logpath:G:\dism.applyffu.log
    Where G:\MyFFUImage.ffu is the file location of the FFU file.
      My ComputerSystem Spec

  5.    09 Feb 2017 #5

    PMCmikem said: View Post
    The only problem is that I want to keep the data in Z current at the time of rebuild. If I image the z partition it will only restore the image that was taken and not the current data in the partition.
    Correct, you would have to ensure you made a full image of Z just before you did a rebuild. Actually, that backup would be one more fail-safe if anything went wrong doing it any other way :)
      My ComputerSystem Spec

  6.    10 Feb 2017 #6

    These computers will be going to a customer site, where they will not be performing any backups and we wont have access to do either. We will provide them with the USB Installer Flash Drive create by us with the Windows ICD. Currently this install wipes the entire hard drive and silently install everything back, which is my basic problem. I just tried running WindowsPE to partition the Hard Drive into the partitions before using the USB Installer. I create the 2 partitions, but the Windows ICD flash Install still overwrites the entire disk and I lose my z partition. Maybe there just isn't a way to do this through Windows ICD. I am going to submit a support ticket through Microsoft to see what they provide.
      My ComputerSystem Spec

  7. Posts : 1,479
    Windows 10 Pro (32-bit) 16299.15
       10 Feb 2017 #7

    I'll be interested to see what they come back with.
      My ComputerSystem Spec

  8.    10 Feb 2017 #8

    They created a case, now I am waiting for a contact. I will update here if/when I get some help.
      My ComputerSystem Spec


Related Threads
Solved partitioning hard drive in Installation and Upgrade
While I had windows XP I partitioned my hard drive and had ubuntu running side-by-side with windows. When I tried that with windows Vista ubuntu wiped out everything and took over the whole drive. How can I partition my hard drive and install...
I am thinking to make 3 partition in my pen drive. First one for personal files n folders. Second for bootable Windows installation and third for bootable Macrium Reflect. Am I rightly partitioning. As per my knowledge windows recognize only first...
I am really really frustrated and could use any help anyone can give. My computer is a Dell XPS8300 with the last BIOS they put out for this system... I have a Seagate 4TB (ST4000DM000) drive that is setup GPT and had 2 partitions on it (D:,...
Solved partitioning hard drive in General Support
hi all this is a question about GPT UEFI and LEGACY partitions if I install in legacy mode on a 1 TB drive with no partitions will my laptop run ok I dont understand why GPT gives 4 partitions and I dont understand UEFI please explain all 3 options....
I intend to partition a hard drive I'll be buying to install Windows 7 and Windows 8.1 on each partition but I don't want to lose my data after I've installed Windows 7 and then 8.1 or maybe install the Windows 10 preview 32 bit. I am not going to...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 00:50.
Find Us