Create additional Windows partitions on a Windows scripted install OS Build Plan

The Hewlett Packard Enterprise provided Windows OS Build Plans use the Partition Disk for Windows Build Plan script to create a temporary partition on the target server hard drive. This script uses diskpart; so the partition is created within this script versus partitioning within the unattend file.

If additional partitions are needed, consider the following options:

  • Option 1: Make a copy of the Partition Disk for Windows script and modify it to create the additional partitions using the diskpart command. With this method, all the partitioning is still done within the script.

  • Option 2: Modify a Hewlett Packard Enterprise provided Windows OS Build Plan as follows:

    1. Remove the Partition Disk for Windows step from the Windows OS Build Plan.

    2. Add the boot disk partitioning to the Windows unattend file following the instructions provided by Microsoft. Also, modify the <DriversPaths> section to use X:\$oem$. The latter is necessary because the C: partition will no longer be available with the removal of Partition Disk for Windows step.

    3. Remove the Hewlett Packard Enterprise provided unattend file from the Windows OS Build Plan and replace with the new unattend file that contains the disk partitioning.

    4. Update the ProLiant Drivers for Windows XXX Build Plan step to use X:\$oem$ as the directory path parameter. This is necessary because C: partition will no longer be available with the removal of Partition Disk for Windows step.


    [NOTE: ]

    NOTE: The X: (WinPE) drive is a RAM disk that only exists in memory. It is possible that the combined size of the drivers may be too large to fit in the available RAM disk space. If this occurs, consider using Option 1.