Windows

How to Enable or Disable Virtual Machine Platform in Windows 11

Richard
Written by
Richard
Aug 17, 2025 Updated Apr 3, 2026 2 min read
How to Enable or Disable Virtual Machine Platform in Windows 11

This guide shows you how to turn on or turn off Virtual Machine Platform in Windows 11.

Windows Hypervisor Platform (WHP) lets programs like VirtualBox or QEMU use the virtualization features built into Windows. It helps developers create virtual machines and emulators by giving direct access to the hypervisor layer.

Why enable Virtual Machine Platform? It unlocks virtualization support in Windows so you can run virtual machines and test different operating systems.

Enable Virtual Machine Platform Using Settings

This is the easiest way to turn on Virtual Machine Platform.

  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

  1. Click on Virtual Workspaces to expand it.
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

Enable Virtual Machine Platform Using Control Panel

This method uses the older Control Panel app.

  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

  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

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

  1. Restart your computer.
Restart prompt after installing Hyper-V in Windows 11

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

You can also enable this feature through the Command Prompt.

  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

  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

If you prefer PowerShell, you can use it to turn the feature on or off.

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

  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

Virtual Machine Platform is a Windows 11 feature that lets you create and run virtual machines on your computer. You have four ways to enable or disable it:

  • 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

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.

Was this guide helpful?

Tags: #Windows 11
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, the owner and lead writer at Geek Rewind, is a tech enthusiast passionate about simplifying complex IT topics. His years of hands-on experience in system administration and enterprise IT operations have honed his ability to provide practical insights 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.

2458 articles → Twitter

📚 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 Open PowerShell in Windows 11
Windows How to Open PowerShell in Windows 11

Leave a Reply

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