Ensure that Virtual Machine Platform is enabled in optional Windows features

이 문서는 자동으로 번역되었을 수 있습니다. 번역 품질에 대한 의견이 있는 경우 페이지 하단의 양식을 사용해 알려 주시기 바랍니다.

문서 콘텐츠

지침

Windows 가상화 활성화 또는 비활성화:

  1. Windows 기능 툴을 실행합니다.
    1. 검색 아이콘을 클릭합니다.
    2. 검색 필드에 Windows 기능 켜기 또는 끄기를 입력합니다.
    3. Open을 클릭합니다.

  2. 가상 머신 플랫폼Windows 하이퍼바이저 플랫폼 옵션을 확인(또는 선택 취소)합니다.

  3. OK를 클릭합니다.
  4. Windows에서 필요한 VMP 종속성을 추가하고 결국 재부팅을 요청합니다.

추가 정보

  • Dell 시스템에서 하드웨어 가상화를 활성화 또는 비활성화하는 방법
  • Android™용 Windows 서브시스템(Microsoft.com)
  • Android용 Windowsemoji 서브시스템 | Microsoft 문서

문서 속성

영향을 받는 제품

Desktops & All-in-Ones, Laptops, Workstations

마지막 게시 날짜

15 2 2022

버전

5

문서 유형

How To

죄송합니다. 현재 피드백 시스템은 사용하실 수 없습니다. 잠시 후에 다시 시도하십시오.

의견에는 <>()\와 같은 특수 문자를 사용할 수 없습니다.

You need to enable the Virtual Machine Platform Windows feature to use WSL 2. If this is not done, then you will get the following error:

wsl --set-version kali-linux 2 Conversion in progress, this may take a few minutes... For information on key differences with WSL 2 please visit //aka.ms/wsl2 Please enable the Virtual Machine Platform Windows feature and ensure virtualization is enabled in the BIOS.

To enable WSL 2, Open the Windows Features window by navigating to Control Panel | Programs | Turn Windows feature on or off.

Enable the Virtual Machine Platform Windows feature

Ensure that the Virtual Machine Platform and Windows Subsystem for Linux features are selected.

After clicking on the OK button, Windows will enable WSL 2.

If you want to install WSL 2 on a Windows 10 virtual machine, the virtual machine should support nested virtualization.

With VirtualBox, right-click the VM and choose Settings. In the System section, under the Processor tab, check the box: Enable Nested VT-x/AMD-V.

Enable nested virtualization on VirtualBox

On VMware Workstation, right-click the VM and choose Settings. In the Hardware section, under the Processor, make sure the Virtualize Intel VT-x/EPT or AMD-V/RVI checkbox is enabled.

Enable nested virtualization on VMware Workstation

You also have to make sure virtualization is enabled in the BIOS (Intel Virtualization Technology or SVM Mode in AMD).

With the release of Windows Subsystem for Android, users have been encountering the “Unable to start Windows Subsystem for Android” error message while trying to start the environment. The reason that this problem occurs is very well explained in the error message as well which essentially is virtualization. If you do not have virtualization enabled on your Windows 11 operating system, the Windows Subsystem for Android environment will not be able to initialize and thus the error message occurs. You can fix this problem pretty simply by enabling virtualization on your computer which is what we are going to show you in this article so just follow through.

Unable to Start Windows Subsystem for Android Error Message

As it turns out, Microsoft recently made the Windows Subsystem for Android available to the Insider Preview users which, much like the working of the Windows Subsystem for Linux, allows you to run Android apps natively on your computer. This means that you do not have to install a third party emulator on your system in order to play an Android game or use any other Android app on your computer.

However, since the feature is just available in the Insiders Preview Beta channel, there also are not many options to choose from when it comes down to installing the applications. This is because Microsoft has limited the apps, for now, and only a selected group of applications are allowed to be installed via the Amazon Appstore. Luckily, you can sideload Android apps which allows you to essentially run any Android application on your computer using Windows Subsystem for Android. In addition to that, since this is based on the Windows Subsystem for Android, you are going to enable virtualization on your computer otherwise the error message mentioned above will appear. This can be pretty easily fixed, so let us get started with that without further delay.

Turn on Windows Virtual Machine Platform

As it turns out, the first thing that you should do when you encounter the error message in question is to make sure that you have the Virtual Machine Platform feature enabled on your computer. Windows has a bunch of optional features that come built-in that you can choose to install or turn on via the Windows Features window.

While some of these features are enabled by default when you install Windows, most of them are not which is quite obvious because not everyone is going to need them. Thus, if you do need a specific feature, you will have to turn it on manually which is pretty convenient and easy to do. To do this, follow the instructions given down below:

  1. First of all, open up the Control Panel by searching for it in the Start Menu.
    Opening up Control Panel
  2. Then, in the Control Panel window, click on the Programs option.
    Control Panel
  3. There, click on the Turn Windows Features on or off option.
    Opening up Windows Features Window
  4. This will bring up another window called Windows Features.
  5. Inside that window, from the list of features, look for Virtual Machine Platform and click on the checkbox to tick it.
    Enabling Virtual Machine Platform
  6. Then, click the OK button.
  7. Once you have done that, go ahead and restart your computer for the feature to be installed.
  8. After your system boots up, try using the Windows Subsystem for Android again to see if the error message still appears.

Enable Virtualization from BIOS

In addition to turning on the Virtual Machine Platform feature on your computer, you will also have to enable virtualization from BIOS. Since you are going to run Android applications, virtualization is pretty important as it allows programs to emulate hardware which then enables it to run other operating systems like Android.

If this case is applicable, you can enable virtualization pretty easily from the BIOS menu. The exact steps may vary a little depending on the manufacturer of your motherboard but the overall procedure remains the same. Follow the instructions down below to enable virtualization:

  1. First of all, go ahead and restart your computer.
  2. As your computer is booting up, you will have to boot into the BIOS menu. To do that, press the respective key for your motherboard which usually is DEL, F2, F10 or ESC.
  3. Once you have booted into BIOS, you will have to go to Advanced Mode. For that, press the F7 button on your keyboard to switch from EZ Mode.
    Switching to Advanced Mode
  4. After you are in Advanced Mode, switch to the Advanced tab given at the top.
    Navigating to Advanced TAB
  5. There, click on the CPU Configuration option.
    Navigating to CPU Configuration
  6. Now, if you are using an Intel CPU, you need to look for Intel Virtualization Technology. Once located, go ahead and switch it to Enabled.
  7. In case of AMD processors, you should be looking for SVM Mode which stands for Secure Virtual Machine. Once you have found it, switch it to Enabled.
    Enabling SVM Mode
  8. After that, press the F10 key on your keyboard to save the changes and restart your computer.
  9. Once your computer boots up, you should no longer be getting the error message in question.

Enable Nested Virtualization

Finally, if you have installed Windows 11 in a virtual machine to use the Windows Subsystem for Android, you will need to enable nested virtualization for the virtual machine on the host. As apparent from the name itself, nested virtualization essentially allows you to run virtual machine instances inside a virtual machine. It is basically a virtualception.

Now, the process of enabling nested virtualization may differ depending on the hypervisor that you are using. For VirtualBox and VMware, the procedure is pretty simple as you can find the option in the virtual machine settings. In case of VirtualBox, the option is called Nested VT-x/AMD-V while in case of VMware, you will be looking for nested virtualization. If you are using Hyper-V, you will have to take a command line approach but it is rather simple to do and you can find various guides on the internet. Once you have enabled nested virtualization, the error message should just go away.

Kamil is a certified MCITP, CCNA (W), CCNA (S) and a former British Computer Society Member with over 9 years of experience Configuring, Deploying and Managing Switches, Firewalls and Domain Controllers also an old-school still active on FreeNode.

How do you enable virtual machine platform Windows feature and ensure virtualization is enabled in the BIOS?

Enable or Disable Windows Virtualization:.
Launch the Windows Features tool: Click the Search icon. Type Turn Windows features on or off in the search field. ... .
Check (or clear) the Virtual Machine Platform and Windows Hypervisor Platform options..
Click OK..
Windows adds the required VMP dependencies and asks to reboot..

How do I enable virtualization in Windows features?

Enable the Hyper-V role through Settings.
Right click on the Windows button and select 'Apps and Features'..
Select Programs and Features on the right under related settings..
Select Turn Windows Features on or off..
Select Hyper-V and click OK..

How can I tell if a virtual machine is enabled?

Open command prompt. In the cmmand prompt, type systeminfo and press the Enter key. In the Hyper-V Requirements section, check the values for Second Level Address Translation, VM Monitor Mode Extension, Virtualization Enabled In Firmware, Data Execution Prevention Available lines. They should all say "Yes".

What is virtual machine platform in Windows features?

Virtual Machine Platform is a less powerful version of HyperV that still enables a hypervisor. VMP is a requirement for WSL2 (Windows Subsystem for Linux v2), which is really good. It can, and often is, used to create MSIX Application packages for an App-V or MSI.

zusammenhängende Posts

Toplist

Neuester Beitrag

Stichworte