Expanding the Boot Drive After Installing Bootloader
The Bootloader installation creates of a new partition that immediately follows the boot partition (typically C:) on the disk. To extend the boot partition we need to move the Bootloader partition, labeled HTBOOTLDR, to the end of the disk using the MoveHTbootloader.ps1 PowerShell script.
- Extend the disk containing the boot partition using the instructions from your virtualization vendor.
- Log into PowerShell on the Windows machine.
- Locate the main Policy Agent installation directory. The PowerShiell scripts are located in the
binfolder under this main directory. The default directory isC:\Program Files\hcs. -
Run the PowerShell script
MoveHTBootloader.ps1by entering the commandpowershell -File "C:\hytrust-install-dir\MoveHTBootloader.ps1".The script creates a new Bootloader partition at the end of the recently extended disk and reboots the virtual machine. On reboot,
MoveHTBootloader.ps1will again be executed automatically and will delete the old Bootloader partition and then extend the boot partition to take up the available free space.Note: This operation changes the drive letter for the HTBOOTLDRdrive. The original drive letter can be restored by either using thehtblconf.exeGUI utility or theChangeHTBootloaderDrive.ps1PowerShell script.

