i cant turn on the HVCI thing even tho i turned on everything it need and no incomp drives

Nguyen The Anh 35 Reputation points
2025-10-23T11:25:12.18+00:00

Hi, i'm encountering issues enabling Hypervisor-protected Code Integrity (HVCI) as required by Valorant. My previous attempt caused a major system failure, and even after a clean Windows reinstall and enabling related BIOS/UEFI settings, HVCI still won't stay enabled after restarts.

Background: I received a notice from Valorant stating that I must enable HVCI to continue playing. On Monday, I attempted to enable HVCI for the first time. This completely broke my PC (it became BSOD 0xc000021a) and cant even go to safe mode forcing me to perform a reset install of Windows on the affected drive.

Steps I've Taken Post-Reinstall:

Reset my system and entered the BIOS/UEFI settings.

Enabled the following features:

UEFI mode Secure Boot

TPM 2.0

IOMMU

Attempted to enable HVCI again via Windows settings (Core Isolation > Memory Integrity).

Current Problem: When I toggle HVCI on, Windows prompts me to restart the PC.

During the restart: The first boot attempt hangs at the loading dots/circle (it stops spinning and freezes). The system automatically retries, and it successfully boots on the second attempt. However, once booted, HVCI is not actually enabled—it's reverted back to the "off" state, as if the change never took effect.

Microsoft Security | Microsoft Defender | Other
0 comments No comments

Answer accepted by question author
Francisco Montilla 30,710 Reputation points Independent Advisor
2025-10-23T12:11:53.17+00:00

Hello,

You are very close. The fix is to reset the hypervisor and VBS configuration, enable the required Windows features, then turn HVCI on from the registry so it sticks across the reboot.

Open Start, type cmd, right click Command Prompt, choose Run as administrator.

First, reset the boot configuration for the hypervisor and clear any flags that can block Code Integrity:

bcdedit /set {current} hypervisorlaunchtype auto
bcdedit /deletevalue {current} testsigning
bcdedit /deletevalue {current} nointegritychecks
bcdedit /deletevalue {current} hypervisordebug

Without closing the elevated window, make sure the Windows virtualization components that VBS depends on are enabled:

dism /online /enable-feature /featurename:HypervisorPlatform /all /norestart
dism /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

Now enable VBS and Hypervisor-Enforced Code Integrity directly in the system configuration:

reg add "HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard" /v EnableVirtualizationBasedSecurity /t REG_DWORD /d 1 /f
reg add "HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity" /v Enabled /t REG_DWORD /d 1 /f

Restart the PC once. Let the first boot complete even if it seems slower than usual.

Before trying Valorant, press Start and type msinfo32, open System Information, then check the right pane for Virtualization-based security. It should show Running. Also check Device Guard properties there.

Alternatively, open Windows Security > Device security > Core isolation details and confirm Memory integrity is On and stays On.

If it still reverts, the most likely cause is an early-boot driver that is not flagged in the Core isolation UI. In that case, the next step would be to collect the latest entries from Event Viewer > Applications and Services Logs > Microsoft > Windows > CodeIntegrity > Operational right after the failed attempt and we will read which driver blocked HVCI at boot.

Was this answer helpful?

4 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.