Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Enable Virtual Machine Platform on Windows 11

Enable Virtual Machine Platform with Windows Features, DISM or PowerShell, check prerequisites, and understand how it differs from Hyper-V and a guest VM.

Table of Contents

To enable Virtual Machine Platform on Windows 11, open Windows Features, select that component, and restart when prompted. This enables virtualization infrastructure used by features such as WSL 2. It does not install Hyper-V Manager or create a virtual machine.

Choose the component you actually need

  • Virtual Machine Platform: platform support needed by WSL 2 and certain virtualization-based applications.
  • Hyper-V: Microsoft's separate VM platform and management tools on supported Windows editions. The full Hyper-V role is unavailable on Windows 11 Home.
  • A guest virtual machine: an operating system you create and configure using a VM application after its requirements are met.

If you want a Linux environment, see setting up WSL. For a full guest operating system, see creating a VM with Hyper-V Manager.

Before enabling the feature

Save your work and make sure you can restart. Check Task Manager > Performance > CPU for the virtualization status. If firmware virtualization is disabled, follow your PC manufacturer's instructions for the relevant UEFI setting; installing an optional Windows component does not enable it in firmware.

Enable Virtual Machine Platform in Windows Features

  1. Search Start for Turn Windows features on or off and open it.
  2. Select Virtual Machine Platform.
  3. Click OK, let Windows apply the change, and restart if requested.

Instructions for activating virtual machines on Windows 11 Picture 4

Instructions for activating virtual machines on Windows 11 Picture 5

Reopen Windows Features after restarting to confirm the checkbox is selected. You still need to install or configure the application that will use it.

Alternative Settings route on builds that offer it

Some Windows 11 builds expose virtualization options under Settings > System > Advanced > Virtual Workspaces. If that page exists, enable Virtual Machine Platform there. If it is absent, use Windows Features above; the Settings layout is not identical across releases.

Instructions for activating virtual machines on Windows 11 Picture 1

Instructions for activating virtual machines on Windows 11 Picture 2

Instructions for activating virtual machines on Windows 11 Picture 3

Enable it from an administrator command window

Use either method below, rather than running both. In an administrator Command Prompt:

DISM /Online /Enable-Feature /FeatureName:VirtualMachinePlatform /All

Or in an administrator Windows PowerShell window:

Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform -All

Read the result and restart if required. An access-denied error usually means the window is not elevated or management policy prevents the change.

Disable it if you no longer need it

First check whether WSL 2 or another installed application depends on the component. Clear its checkbox in Windows Features, or use one of these administrator commands:

DISM /Online /Disable-Feature /FeatureName:VirtualMachinePlatform
Disable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform

Restart when prompted. Disabling the component is different from shutting down a guest VM and may stop dependent applications from working.

If your goal is Hyper-V, follow Microsoft's Hyper-V installation instructions and check edition and hardware requirements separately. Virtualization also does not guarantee that testing software cannot affect the host: shared folders, networking and device access matter.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.