Home >System Tutorial >Windows Series >How to use the built-in virtual machine function of win11
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.
1. Professional version of win11
1. First, enter "Settings" through the start menu
2. Click the "Apply" option on the left in the settings.
3. Then open "Optional Features"
4. Open "More Windows Features" in the relevant settings at the bottom
5. Check to turn on "Hyper-V" and click OK to save.
2. Home version win11
1. Right-click on a blank space on the desktop and select New "Text Document"
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
3. Then rename the text document to "Hyper-V.cmd"
4. After the modification is completed, double-click to allow the program That's it.
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!