This procedure describes how to install the Entrust Policy Agent silently on Windows using a command line script. For details about installing the Policy Agent through an interactive GUI, see Installing Interactively on Windows.
Note: The Policy Agent can only be installed on the Windows system (C:) drive, not a data drive.
Before You Begin
- Make sure you have completed the prerequisites in Windows Installation Prerequisites.
- Make sure you have the credentials for a Windows user account with Administrator privileges.
- If you plan to download the Policy Agent installation file on Windows 10 from the Microsoft Edge browser while logged in with the BUILTIN\Administrator account, make sure that User Account Control (UAC) is enabled for the BUILTIN\Administrator account. Alternatively, you can set the integrity level for the installer to high after you have downloaded it. For details, see the Microsoft Windows 10 documentation.
Procedure
- Sign in to the Cryptographic Security Platform Vault for Databases webGUI or Cryptographic Security Platform Vault for VM Encryption webGUI with Cloud Admin privileges.
- Click Workloads.
- Click Actions > Download Policy Agent.
- Click the Download link associated with the file
hcs-client-agent-rel.number-build.number.exe. Cryptographic Security Platform Vault downloads the file to your browser's default download location. - Copy
hcs-client-agent-rel.number-build.number.exeto the Windows system that you want to encrypt. If your system contains multiple network adapters and you want to specify the adapter that Cryptographic Security Platform Vault should use, do the following:
- Enter the command
hcs-client-agent-rel.number-build.number.exe /NLIST. Cryptographic Security Platform Vault writes the list to the fileHTIfaceListin the same directory as the installer executable. - Open
HTIfaceListand determine the index of the adapter you want to use. - Specify that index using the
/NETswitch as described in the next step.
- Enter the command
Run
hcs-client-agent-rel.number-build.number.exeusing the following switches. All switches are case-sensitive and must be entered in upper-case. The installer ignores any unsupported switches.Switch
Description
/S
Required. Tells Windows to run the installer silently.
/NORB
Do not reboot automatically. Required if you want to check the final state of installation, which is explained in the following step.
Windows Bootloader Switches
/NOBL
Do not install the Windows Bootloader. The default is to install the Bootloader.
/NLIST
List of network adapters with an index that can be used with the
/NETswitch. This does not cause actual installation./NET=n
Use adapter n with its current settings as the primary network interface for the Entrust Bootloader, where n is the DeviceID of any of the network adapters listed by
/NLIST. If this switch is not specified, the first network adapter is used by default. This is equivalent to specifying/NET=1./DRIVE=d
Assign drive letter d to the Bootloader partition. The drive letter is not case-sensitve.
/NORM
Do not delete HTBOOTLDR partition left by an older installation. By default, old HTBOOTLDR partitions are deleted.
For example, if you want to run
hcs-client-agent-10.5.1-12345.exesilently, assign the drive letter D to the Bootloader, and not reboot automatically after the install runs, you would enter:C:\hytrust\installer\dir> hcs-client-agent-10.5.1-12345.exe /S /DRIVE=D /NORBIf you specified the /NORB switch and you want to check the success of the installation, look at the files generated by the installer. These files will be placed in the same directory as the
.exefile. The files are:HTDone—This indicates the installation ended. You should poll for creation of this file to ensure that the installer process finished. If no other file is created, it means that the installation completed successfully.Note: Boot drive encryption is not available until AFTER a successful installation and reboot.
HTError—The installation failed. This file contains the error string.HTBLError—Entrust Bootloader installation failed, but the rest of the installation succeeded. This file contains the error string.HTRetryOnReboot—If this file is present, the installation was not a failure, but it needs a reboot. To complete the installation, reboot and run the installer again.
- If you specified the /NORB switch, reboot the Windows system to complete the installation.
What to Do Next
Register the VM with Cryptographic Security Platform Vault as described in Registering the Policy Agent Using the Entrust Policy Agent GUI or Registering the Policy Agent from the Windows Command Line.