ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Nakivo Backup and Replication - #1 Backup solution for Virtual, physical, cloud, NAS and SaaS

Menu
  • Certification
      • VCP-DCV vSphere 8
          • vcp2024-125.
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • vSphere 8.0
      • vSphere 7.0
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • Close
    • VMworld
      • VMware EXPLORE 2024
      • VMware EXPLORE 2023
      • VMware EXPLORE 2022
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • NAKIVO
    • StarWind
    • Zerto
    • Xorux
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • PDFs and Books
    • Close
  • Free
  • Privacy policy

What is Host Guardian Service?

By Vladan SEGET | Last Updated: November 9, 2022

Shares

I stumbled across this by reading about Windows Server 2019, it is a Host Guardian Service (HGS), which is responsible for providing attestation and key protection services that enable Hyper-V to run Shielded virtual machines.

This “Host Guardian Service” (HGS) was introduced in Windows Server 2016 actually, and since that time, it's possible to run shielded VMs (VMs using BitLocker to protect their disks). BitLocker keys are needed to boot the VM and decrypt the disks are protected by the shielded VM's virtual TPM.

Shielded VMs protect virtual machines from compromised or malicious administrators in the fabric, (ex. storage admins, backup admins, etc), by encrypting disk and state of virtual machines so only VM (or tenant admins) can access it.

For HGS, It's recommended to separate the roles and as such an HGS admin role has been introduced, as well as HGS Reviewers, which only allows users the right to audit existing policies. They cannot make any changes to the HGS configuration.

HGS admins choose which Hyper-V hosts are authorized to run shielded VMs and manage the certificates necessary to start up shielded VMs. The recommendations from Microsoft are very simple and basically says that domain admin and HGS admins should be two different persons (with two different accounts):

It is recommended that you limit the overlap between the admins of your HGS (including the domain to which HGS is joined) and Hyper-V environments. By ensuring no one admin has access to both systems, an attacker would need to compromise 2 different accounts from 2 individuals to complete his mission to change the HGS policies. This also means that the domain and enterprise admins for the two Active Directory environments should not be the same person.

The notion of Guarded fabric

We have this new term which goes hand in hand with HGS. A guarded fabric consists of one Host Guardian Service (HGS) – typically, a cluster of three nodes – plus one or more guarded hosts, and a set of shielded virtual machines (VMs).

You can have a look at all the necessary workflow for the deployment here. (there are quite a lot of task to do). Basically, what you need to do is:

  • Installing Host Guardian Service (HGS) Role
  • Configure HGS Server (via PowerShell)
  • Authorize Guarded hosts in HGS
  • Configure TPM Policies
  • Configure HGS client

It's very well documented in Microsoft documentation, so if you're planning to harden your Hyper-V environment, you might want to read the whole details and plan ahead. Ther are quite a few

Prerequisites

  • Hardware: HGS can be run on physical or virtual machines, but physical machines are recommended.

    If you want to run HGS as a three-node physical cluster (for availability), you must have three physical servers. (As a best practice for clustering, the three servers should have very similar hardware.)

  • Operating system: Host key attestation requires Windows Server 2019 Standard or Datacenter edition operating with v2 attestation. For TPM-based attestation, HGS can run Windows Server 2019 or Windows Server 2016, Standard or Datacenter edition.

More Links from Microsoft:

  • Video: How to protect your virtualization fabric from insider threats with Windows Server 2019
  • Video: Introduction to Shielded Virtual Machines in Windows Server 2016
  • Video: Dive into Shielded VMs with Windows Server 2016 Hyper-V
  • Video: Deploying Shielded VMs and a Guarded Fabric with Windows Server 2016
  • Blog: Datacenter and Private Cloud Security Blog
  • Overview: Guarded fabric and shielded VMs overview

More from ESX Virtualization

  • VCP6.5-DCV Objective 5.2 – Configure vSphere DRS and Storage DRS Cluster
  • Windows Server 2019 What's new?
  • ESXi Free vs Paid – What are the differences?
  • How To Reset ESXi Root Password via Microsoft AD
  • How to Patch VMware vCenter Server Appliance (VCSA) 6.7 Offline
  • How To do a Dry Run of an esxcli Installation or Upgrade on VMware ESXi
  • Veeam Availability Console Released (VAC)

Stay tuned through RSS, and social media channels (Twitter, FB, YouTube)

Shares
Vote !

| Filed Under: Cloud, Windows Server 2019 Tagged With: What is Host Guardian Service?

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x16, Veeam Vanguard x9, VCAP-DCA/DCD, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Private Sponsors

Featured

  • Thinking about HCI? G2, an independent tech solutions peer review platform, has published its Winter 2023 Reports on Hyperconverged Infrastructure (HCI) Solutions.
  • Zerto: One Platform for Disaster Recovery, Backup & Cloud Mobility: Try FREE Hands-On Labs Today!
Click to Become a Sponsor

Most Recent

  • Veeam Backup & Replication v13 Beta: A Game-Changer with Linux
  • What is Veeam Data Cloud Vault and how it can help SMBs
  • Nakivo Backup and Replication – Malware Scan Feature
  • Zerto 10 U7 released with VMware NSX 4.2 Support
  • XorMon NG 1.9.0 Infrastructure Monitoring – now also with Veeam Backup Support
  • Heartbeat vs Node Majority StarWind VSAN Failover Strategy
  • Vulnerability in your VMs – VMware Tools Update
  • FREE version of StarWind VSAN vs Trial of Full version
  • Commvault’s Innovations at RSA Conference 2025 San Francisco
  • VMware ESXi FREE is FREE again!

Get new posts by email:

 

 

 

 

Support us on Ko-Fi

 

 

Buy Me a Coffee at ko-fi.com

Sponsors

Free Trials

  • DC Scope for VMware vSphere – optimization, capacity planning, and cost management. Download FREE Trial Here.
  • Augmented Inline Deduplication, Altaro VM Backup v9 For #VMware and #Hyper-V – Grab your copy now download TRIAL.

VMware Engineer Jobs

VMware Engineer Jobs

YouTube

…

Find us on Facebook

ESX Virtualization

…

Copyright © 2025 ·Dynamik-Gen · Genesis Framework · Log in