Uninstalling the Policy Agent on Windows

  1. Decrypt all encrypted disks in the VM as described in Decrypting a Disk Using the webGUI.

    Important: If you uninstall the Policy Agent without decrypting the disks, all access to the encrypted files will be lost because the encryption keys are deleted during the uninstall procedure.

  2. Make sure that the Policy Agent can be uninstalled on the VM. To do so, expand the VM in the webGUI and look at the Policy Agent Uninstallation Allowed field on the Details tab. If this field is set to No, click No, select Yes from the drop-down list, then click Save.

    Tip: If you want to uninstall the Policy Agent from multiple VMs in this Cloud VM Set, you can change this property at the Cloud VM Set level and propagate the change to all VMs in the Cloud VM Set. For more information, see Changing Cloud VM Set Properties.

  3. Log into the VM as a System Administrator.
  4. If you want to delete the Policy Agent private metadata partition, use the CLI command hcl pa_delete_partition disknumber, where disknumber is the disk number on which the Policy Agent private metadata partition resides.

    Note: This command will fail if any partitions on the disk are still encrypted.

    C:\> hcl pa_delete_partition 1
    Deleting the HyTrust Metadata partition - Disk 1, Partition 2...
    Successfully deleted the HyTrust Metadata partition - Disk 1, Partition 2.
  5. Select Start > All Programs > HyTrust > Uninstall or open the Windows Control Panel and select HyTrust > Uninstall from the list of installed programs.

    DataControl launches the HyTrust Setup Wizard.

  6. Click Next on the Welcome page.
  7. Click Uninstall.
  8. Click Yes at the prompt to confirm the uninstall request.

    If any errors are encountered during the uninstall, DataControl displays a message noting the errors and giving the path to the log file in which the errors have been logged. The default log file is C:\hcs-install.log.

  9. Once the uninstall has finished, click Finish to close the wizard.
  10. Reboot Windows to verify that everything has been restored to the proper state.
  11. If the Policy Agent was installed on a boot disk, use the Windows Disk Manager to remove the HTBOOTLDR partition. Because the Bootloader is mounted as a system volume, DataControl cannot automatically remove the partition during the uninstall procedure.