Home >System Tutorial >Windows Series >How to use the built-in virtual machine function of win11

How to use the built-in virtual machine function of win11

WBOY
WBOYforward
2024-01-09 10:21:322164browse

In win11 system, if we want to use the built-in Android emulator, we need to open the built-in virtual machine before we can use it. However, many users don’t know how to open the virtual machine that comes with win11. In fact, we only need to open it in the more functions of win11.

How to use the virtual machine that comes with win11:

1. Professional version of win11

1. First, enter "Settings" through the start menu

How to use the built-in virtual machine function of win11

2. Click the "Apply" option on the left in the settings.

How to use the built-in virtual machine function of win11

3. Then open "Optional Features"

How to use the built-in virtual machine function of win11

4. Open "More Windows Features" in the relevant settings at the bottom

How to use the built-in virtual machine function of win11

5. Check to turn on "Hyper-V" and click OK to save.

How to use the built-in virtual machine function of win11

2. Home version win11

1. Right-click on a blank space on the desktop and select New "Text Document"

How to use the built-in virtual machine function of win11

2. Enter the following command in it.

pushd “%~dp0”

 dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum》hyper-v.txt

 for / f %%i in ('findstr /i . hyper-v.txt 2^》nul') do dism /online /norestart /add-package: "%SystemRoot%\servicing\Packages\%%i"

del hyper-v.txt

Dism /online /enable-feature /featurename:Microsoft-Hyper-V-All /LimitAccess /ALL


How to use the built-in virtual machine function of win11

3. Then rename the text document to "Hyper-V.cmd"

How to use the built-in virtual machine function of win11

4. After the modification is completed, double-click to allow the program That's it.

How to use the built-in virtual machine function of win11

The above is the detailed content of How to use the built-in virtual machine function of win11. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:somode.com. If there is any infringement, please contact admin@php.cn delete