The following covers how to deploy a virtual machine (VM) on Hyper-V.

Before installing the Software Appliance, review the System Requirements. For requirements for the hypervisor system, refer to Hyper-V Compatibility Guide.

Perform the steps below to deploy a virtual machine on Hyper-V, if not already installed or integrated, by using the hypervisor-based virtualization technology delivered by Microsoft.

  1. Download the Software Appliance package for your hypervisor from your Keyfactor download area.
    For Hyper-V it is a .zip
    file: Keyfactor<Ejbca/SignServer>SoftwareAppliance-<version>.zip.
  2. Unzip and store the file to a storage on your computer where Hyper-V can access those.
    The .zip file contains two disk images (disk1 and disk2) as .vhd files, as well as the guest instruction how to set up a VM on Hyper-V.
  3. Open your Microsoft Windows Admin Center, Server Manager.
  4. Choose Virtual machines from the Tools menu.
  5. Select the Inventory tab, click Add and choose New. A new sidebar opens: New virtual machine.

Complete the form: New virtual machine:

  1. Name: Name your new VM in the first required field.
  2. Generation: Select Generation 1 form the  field.
  3. Path: Enter a Path to store the VM using the Browse button.

  4. In Virtual processors adjusting the Count to 8 is recommended.
  5. Leave the checkbox for Enable nested virtualization cleared.
  6. In Memory adjust the required fields:
    Startup memory to at least 16
    Size unit to GB
  7. Select Use dynamic memory and select the memory settings:
    Minimum memory (GB) to 0.5
    Maximum memory (GB) to at least 16
  8. Network > Virtual switch change the entry Not connected to your personal setting.

  9. A new drop-down menu Isolation mode appears. Take over the entry Default (None).

  10. Click Add in the Storage section.
    The Storage section will expand and the window New disk 1 opens.

  11. Configure this section:
    Select Use an existing virtual hard disk.
    To select a Path click Browse. A new window opens: Select a virtual hard disk template.
  12. Navigate to the path where the virtual hard disk template is stored. Double-click a folder to add the path.
    Select ...disk1.vhd and continue with the OK button to upload the disk.
  13. To add the second disk repeat steps 9 to 11 and choose ...disk2.vhd.
  14. Finalize the form by clicking Create.

You have now deployed the VM. If you click Virtual machine in the Windows Admin Center the new VM is listed. 

  1. Select the newly deployed VM from the list.
  2. Choose the Power tab in the top menu bar and power on the VM with Start.

  3. Click on the Connect tab in the top menu and select Connect again.
  4. A dialog will appear requesting your user login credentials for the session.
  5. Continue and complete with Connect.

Next, log in to the Software Appliance.