Skip to content
Follow
Windows

How to Enable or Disable Virtual Machine Platform in Windows 11

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

Virtual Machine Platform in Windows 11 is a built-in feature that sets up a safe, isolated space on your computer to run Linux tools and developer programs like WSL 2 and Docker Desktop. Turning this feature on lets you use these advanced tools directly inside Windows 11 without needing third-party software.

Advertisement

You need to turn this setting on if you plan to use Linux environments or test software on your PC. If you do not run any developer tools, you can turn the feature off to free up system memory.

⚡ 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.

Advertisement

Enable Virtual Machine Platform Using Settings

You can enable Virtual Machine Platform using the Settings app in Windows 11 by opening the main menu, going to system options, and toggling the feature on without needing any advanced tools. This method works well if you prefer using the standard graphical interface rather than command-line tools.

  1. Open the Windows Settings app. Click the Start menu and select Settings. Or press Win+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 Settings: System > Advanced screen for WSL uninstall.

  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

Advertisement

Enable Virtual Machine Platform Using Control Panel

You can enable Virtual Machine Platform using the Control Panel by opening the optional features list and checking the correct box. This built-in Windows tool lets you turn system features on or off quickly without needing to download extra software.

  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.

Advertisement
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

You can enable Virtual Machine Platform using Command Prompt by running a short text command with administrator rights. This method uses the built-in Deployment Image Servicing and Management tool to turn on the feature instantly.

Advertisement
  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 enable Virtual Machine Platform using PowerShell by running an administrator window and executing a specific cmdlet. This approach provides a fast way to turn the feature on if you prefer scripting or modern command tools.

Advertisement
  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

You can enable Virtual Machine Platform using four different methods in Windows 11 depending on your preference. These options include the Settings app, Control Panel, Command Prompt, and PowerShell, giving you full control over how you manage system features.

  • 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 KnowNo 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
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.

Advertisement

📚 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 *