TechBuzzPro

Windows 11 Virtualization-Based Security: What Happens

· 6 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

When you enable Virtualization-Based Security (VBS) in Windows 11, your PC uses hardware virtualization features (like Intel VT-x or AMD-V) to create a secure, isolated region of memory separate from the normal operating system. This isolated environment runs security services—most notably Credential Guard and Hypervisor-Enforced Code Integrity (HVCI)—that protect high-value system secrets and block unsigned or malicious drivers. In plain terms: it makes your system significantly harder to compromise, but it can slightly reduce performance, especially on older CPUs. You don't need to enable it manually if you have a modern PC—Windows 11 often turns it on by default on supported hardware. If you're here because you want to turn it on (or off), the steps below are for you.

What You'll Need

  • A 64-bit version of Windows 11 (VBS is not available on 32-bit).
  • A CPU that supports virtualization (Intel VT-x or AMD-V) and is enabled in the BIOS/UEFI. Most CPUs from the last decade support this.
  • At least 4GB of RAM (8GB or more is recommended for smooth performance).
  • Administrator access to your PC.
  • Optional: A TPM 2.0 chip (most Windows 11 PCs have this already). VBS works without it, but TPM enhances the security of Credential Guard.

Step-by-Step

  1. Check if VBS is already enabled. Press Win + R, type msinfo32, and press Enter. In the System Information window, look for “Virtualization-based security” in the list. If it says “Enabled” or “Running”, you're done—no further action needed. If it says “Not enabled”, continue with the steps below.
  2. Enable virtualization in BIOS/UEFI. Restart your PC and press the key to enter firmware settings (usually Del, F2, or F10—the exact key is shown on the boot screen). Look for a setting called “Intel Virtualization Technology”, “AMD-V”, “SVM Mode”, or “Virtualization”. Set it to “Enabled”. Save and exit. Your PC will restart.
  3. Turn on Memory Integrity (HVCI). Open Windows Security (search for it in the Start menu). Go to Device Security > Core Isolation. Under “Memory integrity”, toggle the switch to “On”. If prompted, restart your PC. This is the most user-friendly way to enable VBS—it turns on the core isolation feature that relies on VBS.
  4. Enable VBS via Group Policy (optional, for full VBS). If you want to enable VBS fully (including Credential Guard), press Win + R, type gpedit.msc, and press Enter. Navigate to Computer Configuration > Administrative Templates > System > Device Guard. Open “Turn on Virtualization Based Security”. Set it to “Enabled”. In the “Platform Security Level” dropdown, choose “Secure Boot” or “Secure Boot and DMA Protection” (the latter is stricter). In “Credential Guard Configuration”, select “Enabled with UEFI lock” (recommended). Click OK and restart.
  5. Enable VBS via PowerShell (alternative). If you prefer a command-line method, right-click the Start button and select “Windows Terminal (Admin)” or “PowerShell (Admin)”. Type the following command and press Enter: Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\DeviceGuard" -Name "EnableVirtualizationBasedSecurity" -Value 1. Then, to enable Credential Guard, run: Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Lsa" -Name "LsaCfgFlags" -Value 1. Restart your PC.
  6. Verify that VBS is running. After restarting, open System Information again (msinfo32). Look for “Virtualization-based security”. It should now say “Enabled” or “Running”. You can also check “Virtualization-based security services” to see which services (like Credential Guard or HVCI) are active.

Common Mistakes

  • Forgetting to enable virtualization in BIOS. VBS won't work if the CPU virtualization feature is turned off in firmware. Even if Windows shows the option, it will fail to activate.
  • Enabling VBS on unsupported hardware. Some older CPUs lack the required virtualization extensions or have performance issues. Check online for your specific CPU model if you're unsure.
  • Not restarting after toggling settings. Most VBS changes require a full reboot to take effect. A simple shutdown and start might not apply them.
  • Using the Group Policy method without the “UEFI lock” option. If you skip the UEFI lock, VBS can be disabled by malware more easily. Always choose “Enabled with UEFI lock” for better security.
  • Assuming VBS is the same as Memory Integrity. Memory Integrity is one component of VBS. Enabling Memory Integrity alone does not enable full VBS with Credential Guard.

Tips

  • Keep your drivers updated. VBS can conflict with outdated or incompatible drivers. Use Windows Update and your hardware manufacturer's update tools.
  • Monitor performance impact. If you notice a slowdown in games or heavy applications, you can check if VBS is the culprit. Some users report a 5-10% performance drop on older CPUs. If that matters to you, you may want to disable VBS.
  • Use the “Running” status as your confirmation. “Enabled” means it's configured, but “Running” means it's actively protecting your system. If it says “Enabled” but not “Running”, something is wrong.
  • Consider leaving it on. For most users, the security benefits outweigh the minor performance cost. Modern CPUs handle VBS well.

Troubleshooting

  • VBS shows “Enabled” but not “Running”. This usually means virtualization isn't enabled in BIOS, or a driver is blocking it. Re-check your BIOS settings and ensure virtualization is on. Also, run msinfo32 and look for “Virtualization enabled in firmware” – if it says “No”, that's the issue.
  • Memory Integrity toggle is greyed out. This happens when VBS is already enabled via Group Policy or registry, or when a driver is incompatible. Try disabling VBS via the same method you used, then re-enable it. If that fails, check for driver updates.
  • PC won't boot after enabling VBS. This is rare, but if it happens, you can disable VBS from the Windows Recovery Environment. Boot from a recovery drive, go to Troubleshoot > Advanced Options > Startup Settings, and restart. Then press F7 to disable driver signature enforcement (temporary). Alternatively, use the registry editor from the recovery environment to revert the changes you made.
  • Performance is much worse. If you see a significant drop, consider disabling VBS. To disable it, follow the same steps but set the values back to 0 or “Disabled”, and turn off Memory Integrity in Windows Security.
  • VBS is enabled but you don't want it. If Windows turned it on by default and you want it off, you can disable it via Windows Security (turn off Memory Integrity) and via Group Policy or PowerShell (set the registry values to 0). Restart afterwards.

Frequently Asked Questions

Will VBS slow down my PC?

It can, especially on older CPUs. The performance hit is typically 5-10% in gaming and heavy workloads. On modern CPUs (Intel 8th gen and newer, AMD Ryzen 3000 and newer), the impact is minimal.

Do I need a TPM for VBS?

No, TPM is not strictly required, but it enhances the security of Credential Guard. Most Windows 11 PCs have TPM 2.0 anyway.

Can I enable VBS on Windows 11 Home?

Yes, you can enable Memory Integrity via Windows Security on Home edition. The full Group Policy method is not available on Home, but you can use PowerShell to enable VBS and Credential Guard.

Is VBS the same as Secure Boot?

No. Secure Boot ensures that only trusted firmware and bootloaders run during startup. VBS uses virtualization to isolate security processes. They work together but are separate features.

How do I know if VBS is working?

Open System Information (msinfo32) and look for “Virtualization-based security”. If it says “Running”, it's active. You can also check Windows Security > Device Security > Core Isolation – if the toggle is on, Memory Integrity is active.

Should I disable VBS for gaming?

If you're experiencing performance issues and you're not concerned about advanced malware, you can disable it. But for most users, the security benefit is worth the tiny performance cost. Try keeping it on and see if you notice any difference.