Stepping on the pit series "eight" to solve Win10 not finding the error of Hyper-v

I want to install docker recently, so I have to open the Hyper property panel. I searched it and found that I didn't see the property on my computer.

Before that, you have to judge whether your computer supports Hyper, open the cmd window, and enter systeminfo

Hyper look at the bottom there are four requirements is not that , in line with the case to continue, if not nothing I can do. as follows
systeminfo_1

Okay, continue. . .

Create a text on the desktop, copy the following content into 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

After writing, click Save As, save the type as all types , and the file name is Hyper-V.bat (I will say more here, because I was stuck here before, and some other bigwigs said to change the file name to After I changed the cmd suffix, I kept reporting an error code that looked like 87. I changed it to the bat suffix later. You can try the cmd suffix). After saving, click on the file and select the administrator to run it. OK
(the installation process ensures that there is a network connection) The
next is a series of installation information, wait patiently, at the end there will be a Y/N option, enter Y and restart the computer, and then look on the control panel, you can find the Hyper option Up.
Hyper-V

Open the cmd window, or enter the systeminfo command, as shown below

systeminfo_2

You're done, thanks for watching! ! !

Guess you like

Origin blog.csdn.net/hyx1249273846/article/details/108453658
Recommended