You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: support/windows-server/virtualization/virtual-shielded-host-guardian-service.md
+21-21Lines changed: 21 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Troubleshoot Virtual TPM, Shielded VM, and Host Guardian Service Issues
3
-
description: Helps troubleshoot Virtual TPM (vTPM), shielded virtual machine (VM), and Host Guardian Service (HGS) issues in Hyper-V clusters.
4
-
ms.date: 08/06/2025
3
+
description: Helps troubleshoot virtual TPM (vTPM), shielded virtual machine (VM), and Host Guardian Service (HGS) issues in Hyper-V clusters.
4
+
ms.date: 08/12/2025
5
5
manager: dcscontentpm
6
6
audience: itpro
7
7
ms.topic: troubleshooting
@@ -13,22 +13,22 @@ ai-usage: ai-assisted
13
13
---
14
14
# Troubleshoot vTPM, shielded VM, and HGS issues in Hyper-V clusters
15
15
16
-
This guide provides a structured approach to resolving issues with Virtual TPM (vTPM), shielded virtual machine (VM), and Host Guardian Service (HGS) in Hyper-V clusters. Always test changes in a nonproduction environment and maintain backups before implementing solutions. For unresolved issues, consult your hardware vendor or Microsoft support.
16
+
This guide provides a structured approach to resolving issues with virtual Trusted Platform Module (vTPM), shielded virtual machine (VM), and Host Guardian Service (HGS) in Hyper-V clusters. Always test changes in a nonproduction environment and maintain backups before implementing solutions. For unresolved issues, consult your hardware vendor or Microsoft support.
17
17
18
18
VTPM, shielded VM, and HGS are vital features in Hyper-V clusters, especially for ensuring secure virtual environments and compliance with modern operating system requirements, such as Windows 11. However, issues with these features can arise due to misconfigurations, hardware or firmware incompatibilities, or software errors. These problems might impact VM startup, migration, or security configuration, causing significant disruptions. This guide consolidates common scenarios, their causes, and resolutions to help restore secure VM operations efficiently.
19
19
20
20
## End-user and technical symptoms
21
21
22
22
- VMs with vTPM enabled fail to start or migrate between cluster nodes.
23
-
- VMs remain operational only on their original host and can't fail over.
23
+
- VMs remain operational only on their original hosts and can't fail over.
24
24
- Shielded VMs can't start, migrate, or fail over.
25
25
- Shield icons persist in management tools even after disabling shielding.
26
26
- Attestation or key unwrap operations fail when using HGS over HTTPS.
27
27
- VMs disappear from the cluster or management tools after cluster-aware updating or patching.
28
-
- BitLocker enablement fails, or device encryption reports as unsupported.
28
+
- BitLocker enablement fails, or device encryption is reported as unsupported.
29
29
- HGS attestation fails on all or some guarded hosts.
30
30
- VMs fail to start after enabling TPM or upgrading the operating system.
31
-
- Expanding the HGS cluster with nodes of differing hardware models fails.
31
+
- Expanding an HGS cluster with nodes of differing hardware models fails.
32
32
- Device encryption support reports errors such as "Feature is not available," "winre is not configured," or "hardware security test interface failed."
33
33
34
34
## Specific error messages and event IDs
@@ -55,8 +55,8 @@ VTPM, shielded VM, and HGS are vital features in Hyper-V clusters, especially fo
55
55
56
56
- Missing or mismatched certificates: vTPM and shielded VMs require signing and encryption certificates. Problems arise if certificates are missing or improperly restored during migration or export/import processes.
57
57
- Untrusted or broken key protectors/guardians: Guardian misconfigurations or missing private keys can block VM operations.
58
-
- Deleted or unrestored certificates: Shielded VM certificates that are accidentally deleted or not restored render VMs nonoperational.
59
-
- Certificate Subject Alternative Name (SAN) or trust issues: HGS over HTTPS fails if certificates lack required SANs or if there are trust issues.
58
+
- Deleted or unrestored certificates: Shielded VM certificates that are accidentally deleted or not restored cause VMs to become nonoperational.
59
+
- Certificate Subject Alternative Name (SAN) or trust issues: HGS over HTTPS fails if certificates lack the required SANs or if there are trust issues.
60
60
61
61
### Resolution: Certificate and key protector resolution
62
62
@@ -65,7 +65,7 @@ VTPM, shielded VM, and HGS are vital features in Hyper-V clusters, especially fo
65
65
- Export certificates from the source host using **certlm.msc** or PowerShell:
@@ -84,7 +84,7 @@ VTPM, shielded VM, and HGS are vital features in Hyper-V clusters, especially fo
84
84
```
85
85
86
86
3. Update signing and encryption certificates: Use `Set-VMKeyProtector` to assign the correct certificates.
87
-
4. Resolve missing certificates: Create a new VM using the original VHDX file and configure vTPM and key protector.
87
+
4. Resolve missing certificates. Create a new VM using the original VHDX file and configure the vTPM and key protector settings.
88
88
89
89
## Cause 2: TPM, hardware, driver, and firmware incompatibilities
90
90
@@ -105,21 +105,21 @@ VTPM, shielded VM, and HGS are vital features in Hyper-V clusters, especially fo
105
105
106
106
## Cause 3: Configuration and script errors
107
107
108
-
- Improper PowerShell script usage: Errors in automation scripts for enabling vTPM or shielded VM features can create issues.
108
+
- Improper PowerShell script usage: Errors in automation scripts for enabling vTPM or shielded VM features can cause issues.
109
109
- Misconfiguration in HGS or cluster setup: Problems occur when required Windows features aren't enabled, or HGS registration is incorrect.
110
110
- Mixing management tools: Concurrent modifications using tools like System Center Virtual Machine Manager (SCVMM), Failover Cluster Manager, and PowerShell can corrupt VM configurations.
111
111
112
112
### Resolution: Configuration, script, and management fixes
- Hyper-V and HGS official documentation on configuration and troubleshooting.
170
+
- [PrepareSpecializedMachine method of the Msps_ProvisioningService class](/previous-versions/windows/desktop/mspsserviceprov/msps-provisioningservice-preparespecializedmachine)
171
+
- Hyper-V and HGS official documentation on configuration and troubleshooting
0 commit comments