Yes. After a cumulative update, attestation can fail if HGS policy behavior changed and the updated hosts and HGS nodes are no longer aligned.
Recommended path:
- Update all Hyper-V hosts first, then HGS nodes. This order is strongly recommended so hosts provide the information required by HGS attestation policies.
- After all hosts and all HGS nodes are updated, activate changed HGS attestation policies by exporting and importing HGS state on any HGS node:
$password = Read-Host -AsSecureString -Prompt "Enter a temporary password"
Export-HgsServerState -Path .\temporaryExport.xml -Password $password
Import-HgsServerState -Path .\temporaryExport.xml -Password $password
- If a new policy was introduced, enable it explicitly:
Get-HgsAttestationPolicy
Enable-HgsAttestationPolicy -Name <Hgs_NewPolicyName>
- If the issue is specifically around memory dump encryption policies or missing default dump policies/cmdlets, install the latest cumulative update on HGS, update Hyper-V hosts to the same cumulative update, and then activate the new attestation policies. Hosts that do not have the new dump encryption capabilities can fail attestation once that HGS policy is activated.
- Validate host attestation status on the Hyper-V host:
- Check
Get-HgsClientConfigurationfor theAttestationStatus. - If needed, reapply HGS URLs with
Set-HgsClientConfigurationusing the URLs fromGet-HgsServer. - Run:
- Check
Get-HgsTrace -RunDiagnostics -Detailed
- If status shows
Expired, ensure host and HGS time are synchronized. If HGS time drift affected the attestation signer certificate, refresh it on an HGS node:
Start-ScheduledTask -TaskPath \Microsoft\Windows\HGSServer -TaskName AttestationSignerCertRenewalTask
This is the supported way to refresh HGS policy/baseline handling after updates. The key step is not manually rewriting host measurements, but updating all systems in the correct order and then activating changed attestation policies by exporting/importing HGS state.
Because shielded VMs can power down when attestation fails, test changes in a nonproduction environment and maintain backups before applying them broadly.
References: