CMD & PowerShell

Enable Virtual Machine Platform using CMD & PowerShell

Get your Windows 11 Ready for Virtualization and Windows Subsystem Environments using VMP

Enable Virtual Machine Platform using CMD & PowerShell: This feature on Windows 11 provides virtualization capabilities required for running Virtual Machines, and Windows Subsystem Environments such as Windows Subsystem for Linux, etc. On Windows Pro and Enterprise Editions, enabling VMP on Windows 11 enables Windows Sandbox which allows you to run untrusted applications in isolation from your main system. You can enable Virtual Machine Platform using the Windows Features (GUI), however, you can also use Command Line Interface (CMD & PowerShell). The choice is yours!

Read This: Smb 1.0 / Cifs File Sharing Support Using Command Prompt & Windows Powershell

Virtual Machine Platform Availability on Various Windows Editions

Windows EditionsAvailability
Windows ServersYes
Windows 11 HomeYes
Windows 11 ProfessionalYes
Windows 11 EducationYes
Windows 11 EnterpriseYes
Windows 11 Pro EducationYes
Windows 11 SENo
Windows 11 IoT EnterpriseNo

Quick Way to Turn on Virtual Machine Platform on Windows 11 using the Command Prompt

For Clear Understanding, we have provided step by step explanation with clear images. Let’s get Started.

  • Let’s open the Command Prompt with Administrative Privileges. There are different ways to open CMD with Elevated Permissions. We will use the Run Command. Use the Keyboard Shortcut WinKey + R to open the Run Command.
  • In the Run, type the command cmd and press CTRL + SHIFT + ENTER.
Type cmd and press ctrl + shift + enter
Type cmd and press ctrl + shift + enter
  • The User Account Control will confirm and open Command Prompt with Administrative Privileges.
  • Once the Command Prompt opens, execute the following command in the CMD. dism /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
Execute the Virtual Machine Platform Command in the CMD
Execute the Virtual Machine Platform Command in the CMD
  • The above command will use the Deployment Image Servicing and Management Tool and enable VMP via the CMD. DISM requires Elevated permissions and that is why we are running CMD with Administrator Rights.
Enabling VMP using DISM via CMD
Enabling VMP using DISM via CMD
  • Once the process is completed, we will get the message “The Operation Completed Successfully“. Virtual Machine Platform is now enabled on your Windows 11. We highly recommend you to save your works and restart your system.
The operation completed successfully
The operation completed successfully

Decoding Virtual Machine Platform Command

Decoding Virtual Machine Platform CMD Command
Decoding Virtual Machine Platform CMD Command

How to Enable Virtual Machine Platform (VMP) using Windows PowerShell?

This is an alternate method to enable VMP on Windows 11.

Related: List Available Windows Features Using Cmd & Powershell

  • Go to the Run Command using WinKey + R.
  • In the Run, type the command powershell and press CTRL + SHIFT + ENTER.
Type powershell and press ctrl + shift + enter
Type powershell and press ctrl + shift + enter
  • The system will confirm and open Windows PowerShell with Elevated Permissions.
  • In the PowerShell, execute the following command. Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform -All -NoRestart
Execute the VMP PowerShell Command
Execute the VMP PowerShell Command
  • The system will enable VMP on Windows 11.
  • Restart Needed value is true and it suggests to do a Restart right away so that the changes made will reflect.
VMP Enabled on Windows 11 via the PowerShell
VMP Enabled on Windows 11 via the PowerShell

Decoding VMP via PowerShell Command

Decoding Virtual Machine Platform POWERSHELL Command
Decoding Virtual Machine Platform POWERSHELL Command

Video Walkthrough – How to Enable Virtual Machine Platform using the Command Prompt & Windows PowerShell?

Video Tutorial – Enable VMP on Windows 11 using CMD & PowerShell

Take Away

If you are comfortable with Command Line Interface, then you can follow the above methods to enable Virtual Machine Platform on Windows 11. These methods can be ideal for IT admins for Automations, or Mass Deployment, and for Headless Servers and Remote Sessions. If you have any queries, kindly let us know in the comment section. For more interesting articles, visit Winsides.com. Happy Computing! Peace out!

Related Articles:

Why You Can Trust Winsides.com?

We combine expert insights with user-friendly guidance. We thoroughly research and test everything to give you reliable and simple to understand tech guides. Please take a look at our publishing process to understand why you can trust Winsides.



Vigneshwaran Vijayakumar

Hello, I'm Vigneshwaran, the founder, owner, and author of WinSides.Com. With nearly a decade of experience in blogging across various domains and specializing in Windows-related tutorials for over five years, I bring a wealth of knowledge and expertise to WinSides.Com

Related Articles

Leave a Reply

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

Back to top button
Close

Adblock Detected

Kindly disable the Adblocker