Skip to content
Follow
Windows

How to Enable or Disable Virtual Machine Platform in Windows 11

Richard
Written by
Richard
Aug 17, 2025 Updated Jul 10, 2026 4 min read
How to Enable or Disable Virtual Machine Platform in Windows 11
How to Enable or Disable Virtual Machine Platform in Windows 11

You enable or disable the Virtual Machine Platform in Windows 11 to manage hardware virtualization access for applications like Docker Desktop and WSL 2.

The Virtual Machine Platform is a core Windows component that provides the hypervisor necessary for running virtual machines and other containerized environments efficiently on your hardware.

This feature is essential for leveraging hardware virtualization, a requirement for modern development tools and operating systems. For instance, Windows Subsystem for Linux 2 (WSL 2), now a default in Windows 11 build 22000, specifically depends on it.

The Virtual Machine Platform, a Windows 11 feature, enables users to run WSL 2 and certain virtual machine programs. Disabling the Virtual Machine Platform can free up system resources when these capabilities are not required, such as on a system with 8GB of RAM.

⚡ Quick Answer

You can enable or disable the Virtual Machine Platform in Windows 11 through Settings, Control Panel, Command Prompt, or PowerShell. Navigate to Settings > System > Advanced > Virtual Workspaces and toggle the switch, or use the “Turn Windows features on or off” Control Panel option.

Enable Virtual Machine Platform Using Settings

You can enable the Virtual Machine Platform in Windows 11 using the Settings app. This is a simple way to turn the feature on or off without needing to use older system tools. Just open Settings, then go to System, then Advanced, and look for Virtual Workspaces to find the option.

  1. Open the Windows Settings app. Click the Start menu and select Settings. Or press Windows key + I.
  2. Click System on the left side.
  3. Select Advanced on the right to expand it.
Windows 11 system advanced tile in Settings
Windows 11 system advanced tile in Settings

  1. Click on Virtual Workspaces to expand it.
Virtual Workspaces tile in Settings
Virtual Workspaces tile in Settings

  1. Toggle the Virtual Machine Platform button on or off.
  2. Close the Settings app.
Toggle button for Virtual Machine Platform in Windows 11
Toggle button for Virtual Machine Platform in Windows 11

Enable Virtual Machine Platform Using Control Panel

You can enable the Virtual Machine Platform in Windows 11 through the Control Panel. This method involves searching for ‘Turn Windows features on or off,’ which brings up a list where you can select the Virtual Machine Platform. It’s a straightforward way to manage this and other Windows features.

  1. Click Start and type “Turn Windows features on or off” in the search bar.
  2. Select the result to open the Windows Features pane.
Enabling Hyper-V feature in Windows 11 settings
enable hyper v in windows 11

  1. Scroll down and check the box next to Virtual Machine Platform to turn it on.
  2. To turn it off, uncheck the box .
Control Panel settings for Virtual Machine Platform in Windows 11
Control Panel settings for Virtual Machine Platform in Windows 11

What happens next? You’ll see a message asking you to restart your computer to complete the process.

Apply changes to enable Hyper-V in Windows 11
windows 11 hyper v enable apply

  1. Restart your computer.
Restart prompt after installing Hyper-V in Windows 11
windows 11 restart after hyper v installed

After restarting, Virtual Machine Platform will be active. You can now create virtual machines and run different operating systems.

Enable Virtual Machine Platform Using Command Prompt

If you’re comfortable with the Command Prompt, you can enable the Virtual Machine Platform in Windows 11 using a quick command. Open Command Prompt with administrator rights and use the DISM tool to turn on this feature by typing or pasting the correct command. This is a fast way to activate the Virtual Machine Platform.

  1. [REQUIRES ADMIN PRIVILEGES] Click Start, search for Command Prompt, right-click on it, and select Run as administrator.
Command Prompt running as administrator in Windows 11
windows 11 command prompt administrator

  1. Copy and paste this command, then press Enter:
💻Code
DISM /Online /Enable-Feature /FeatureName:"VirtualMachinePlatform"

To turn it off, run this command instead:

💻Code
DISM /Online /Disable-Feature /FeatureName:"VirtualMachinePlatform"
  1. Restart your computer.

Virtual Machine Platform should now be installed and enabled.

Enable Virtual Machine Platform Using PowerShell

You can easily enable or disable the Virtual Machine Platform in Windows 11 using PowerShell. Just open PowerShell as an administrator and type the specific command to turn the feature on. This is an efficient option for those who are used to using command-line tools.

  1. [REQUIRES ADMIN PRIVILEGES] Open the Start menu and search for PowerShell.
PowerShell window running as administrator in Windows 11
windows 11 powershell run as administrator

  1. Type this command to enable Virtual Machine Platform:
💻Code
Enable-WindowsOptionalFeature -Online -FeatureName "VirtualMachinePlatform"

To disable it, run this command instead:

💻Code
Disable-WindowsOptionalFeature -Online -FeatureName "VirtualMachinePlatform"
  1. Restart your computer for the changes to take effect.

Summary

The Virtual Machine Platform in Windows 11 lets you run virtual machines, and you can easily turn it on or off. The simplest way for most people is using the Settings app. You can also use the Control Panel, Command Prompt (which needs admin rights), or PowerShell (also needing admin rights) to manage this feature.

  • Settings app — The easiest method for most users
  • Control Panel — Uses the older Windows features panel
  • Command Prompt — Requires admin privileges; use the DISM command
  • PowerShell — Requires admin privileges; use the Enable-WindowsOptionalFeature command
📝Good to Know
No matter which method you choose, always restart your computer after enabling or disabling the feature. Once enabled, you can create virtual machines and test different operating systems for development and testing purposes.

What happens if you enable the virtual machine platform?

Virtualization lets your Windows device emulate a different operating system, like Android or Linux. Enabling virtualization gives you access to a larger library of apps to use and install on your device. If you upgraded your device from Windows 10 to Windows 11, these steps help you enable virtualization.

How long does it take to enable the virtual machine platform?

Enabling features like the Hypervisor Platform or Windows Subsystem for Linux completes in just a few seconds, but enabling the Virtual Machine Platform takes more than 10 minutes.

Was this guide helpful?

Tags: #Windows 11
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

📚 Related Tutorials

How to Access Command Prompt in Windows 11
Windows How to Access Command Prompt in Windows 11
How to Disable Command Prompt in Windows 11
Windows How to Disable Command Prompt in Windows 11
How to Enable or Disable Windows Hypervisor Platform in Windows 11
Windows How to Enable or Disable Windows Hypervisor Platform in Windows 11
How to Restart Start Menu Process in Windows 11
Windows How to Restart Start Menu Process in Windows 11

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *