π ~1 min read
Table of contents
Symptom & Impact
Credential Guard fails to enable due to incompatible drivers on Windows Server 2022 disrupts operations and prevents the affected service from meeting its SLA until remediated.
Environment & Reproduction
The issue reproduces on Windows Server 2022 hosts where the security subsystem is in use, typically following configuration drift or recent updates.
DG_Readiness_Tool.ps1 -Capable
Get-WinEvent -LogName 'Microsoft-Windows-DeviceGuard/Operational' -MaxEvents 50
Root Cause Analysis
The defect stems from misaligned credential guard settings, missing prerequisites, or a corrupted state that blocks normal operation.
Quick Triage
Confirm the service is running and capture current configuration state before applying any change.
msinfo32 /report C:Tempsysinfo.txt
Get-CimInstance Win32_DeviceGuard | Select SecurityServicesRunning,VirtualizationBasedSecurityStatus
Step-by-Step Diagnosis
Walk the security stack from configuration to runtime, collecting logs and counters that point at the failing component.
DG_Readiness_Tool.ps1 -Ready
Get-WinEvent -LogName 'Microsoft-Windows-Hyper-V-Hypervisor-Operational' | Select -First 20
driverquery /v | findstr /I 'unsigned'

Solution β Primary Fix
Apply the corrected configuration and restart dependent services so the credential guard component re-initialises cleanly.
Still having issues? Our IT Consulting team can diagnose and resolve this for you. Get in touch for a free consultation.
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-Hypervisor -All -NoRestart
Set-ItemProperty -Path 'HKLM:SYSTEMCurrentControlSetControlDeviceGuard' -Name EnableVirtualizationBasedSecurity -Value 1 -Type DWord
Set-ItemProperty -Path 'HKLM:SYSTEMCurrentControlSetControlLsa' -Name LsaCfgFlags -Value 1 -Type DWord
Restart-Computer -Force

Solution β Alternative Approaches
Where the primary fix is blocked by policy or downtime windows, use the alternative configuration path or staged rollout below.
DG_Readiness_Tool.ps1 -Enable -CG
bcdedit /set hypervisorlaunchtype auto
Verification & Acceptance Criteria
Confirm the service reports healthy state and end-to-end functionality succeeds against a representative workload.
Get-CimInstance Win32_DeviceGuard | Select -ExpandProperty SecurityServicesRunning
Get-WinEvent -LogName System | Where Id -eq 7026
Rollback Plan
If the fix introduces regressions, revert configuration to the pre-change baseline and restart the service to restore prior behaviour.
DG_Readiness_Tool.ps1 -Disable -CG
bcdedit /set hypervisorlaunchtype off
Prevention & Hardening
Bake the validated credential guard configuration into baseline GPOs or DSC and add a monitoring check for early detection.
Get-WindowsDriver -Online | Where Inbox -eq $false
Set-ItemProperty -Path 'HKLM:SOFTWAREPoliciesMicrosoftWindowsDeviceGuard' -Name RequirePlatformSecurityFeatures -Value 1
Related Errors & Cross-Refs
Related: other security failures, dependent service errors, and downstream client-side symptoms.
Related tutorial: View the step-by-step tutorial for Windows Server 2022.
View all Windows Server 2022 tutorials on the Tutorials Hub β
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
Microsoft Learn documentation for Windows Server 2022 and the relevant component, plus internal runbooks.
Need Expert Help?
If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today β we respond within one business day.