This guide shows you how to turn on the Virtual Machine Platform in Windows 11’s Optional Features. This enables you to run WSL 2 (Windows Subsystem for Linux), Android apps via Windows Subsystem for Android, and other virtualization-based tools. You’ll need administrator access to your PC, and your CPU must support virtualization (most modern ones do).
What You’ll Need
- A Windows 11 PC with administrator privileges.
- Virtualization enabled in your BIOS/UEFI (usually already on, but check if you run into issues).
- An internet connection (Windows may download files during installation).
Step-by-Step
- Open the Start menu and type “Windows Features”. Click the result that says “Turn Windows features on or off” (the Control Panel applet).
- In the Windows Features dialog, scroll down the list until you see Virtual Machine Platform.
- Check the box next to Virtual Machine Platform. If you also plan to use WSL 2, check Windows Subsystem for Linux as well—it’s right above it.
- Click OK. Windows will search for the required files and then ask you to restart your PC.
- Click Restart now (or choose to restart later, but the feature won’t work until you do).
- After the restart, the feature is active. You can verify it by running the command
systeminfoin Command Prompt and looking at the “Hyper-V Requirements” section—it should show “A hypervisor has been detected.”
Common Mistakes
- Forgetting to restart: The feature only takes effect after a reboot. Some users try to use WSL immediately and get an error.
- Missing WSL 2: Enabling Virtual Machine Platform alone isn’t enough for WSL 2; you also need the “Windows Subsystem for Linux” feature and the WSL 2 kernel update (which you can get via
wsl --updatefrom an admin terminal). - Virtualization disabled in BIOS: If your CPU supports virtualization but it’s off in the BIOS, the feature won’t work. You’ll need to reboot, enter BIOS (usually by pressing Del/F2 during startup), find the virtualization setting (often called Intel VT-x or AMD-V), enable it, and save/exit.
- Running an unsupported edition: Virtual Machine Platform is available on Windows 11 Home and Pro, but some very old builds may not have it. Make sure your Windows is updated.
Tips
- You can also enable the feature via PowerShell as an administrator with this command:
Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform. This is handy if the GUI box is greyed out. - If you only need the Virtual Machine Platform for WSL 2, you don’t need to enable the full Hyper-V role—just this feature and WSL.
- After enabling, check for Windows updates. Sometimes a cumulative update is needed for full compatibility.
- To disable later, simply uncheck the box and restart. Your virtual machines will stop working until you re-enable it.
Troubleshooting
- “Windows cannot find the files” error: This usually means your Windows installation is missing the feature files. Run
sfc /scannowin an admin Command Prompt, then try again. If that doesn’t work, runDISM /Online /Cleanup-Image /RestoreHealthand retry. - Feature installs but WSL still fails: Open an admin PowerShell and run
wsl --updateto install the WSL 2 kernel. Then restart your PC. - “Virtual machine platform is not enabled” error in third-party apps: Double-check that the checkbox is ticked and the PC was restarted. Also verify virtualization is enabled in BIOS—you can check with Task Manager > Performance tab > CPU; it should show “Virtualization: Enabled”.
- Blue screen after enabling: This is rare but can happen if your PC has an incompatible driver. Boot into Safe Mode, disable the feature, then update your chipset drivers and try again.
- Feature is greyed out: This usually means your CPU doesn’t support virtualization or it’s disabled in firmware. Check your BIOS settings and make sure the CPU model supports VT-x/AMD-V.
Frequently Asked Questions
Do I need Hyper-V to use Virtual Machine Platform?
No. The Virtual Machine Platform is a separate feature that provides the necessary virtualization components for WSL 2 and Android apps. You do not need to enable the full Hyper-V role.
Will enabling this slow down my PC?
It uses a small amount of resources when idle, but only when a virtual machine is running does it consume significant CPU/RAM. Most users won’t notice any slowdown.
Can I use VirtualBox or VMware after enabling this?
Yes, but you may need to disable Hyper-V (which this feature relies on) to run older versions of those tools. Newer versions of VirtualBox and VMware are compatible with Hyper-V, but you might need to enable “Hyper-V” in their settings.
Is this the same as “Windows Hypervisor Platform”?
No. “Windows Hypervisor Platform” is a separate feature used by some emulators. Virtual Machine Platform is specifically for WSL 2 and Android. You can enable both if needed.
Do I need to enable this for Docker Desktop?
Docker Desktop on Windows can use WSL 2 backend, so yes, you’ll need Virtual Machine Platform and WSL. Docker will guide you through the setup if it’s missing.
Will this let me run Linux GUI apps?
Yes, with WSL 2 and a GUI app like WSLg (included in recent Windows 11 versions), you can run Linux GUI applications seamlessly.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Access Your Computer From Anywhere: Step-by-Step
- How to Get More Disk Space on Mac: 12 Fixes
- Wii Browser Games With a USB or Bluetooth Controller
- Delete Focus on iPhone: Quick Steps
- Open System Configuration in Windows 10: 7 Ways
- How to Connect VPN: Step-by-Step Setup Guide