網(wǎng)上的解決方案使用同一個腳本,但是運行出現(xiàn)退出管理者權(quán)限,導(dǎo)致后續(xù)Dism無法使用,僅需將第一行的跳轉(zhuǎn)目錄刪除即可
以下為完整步驟:
創(chuàng)建txt文本
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
并將其文件名修改為Hyper-V.cmd
并且使用管理員身份打開
運行后填入Y
重啟電腦
文章來源:http://www.zghlxwxcb.cn/news/detail-676652.html
?勾選上對應(yīng)Hyper-V文章來源地址http://www.zghlxwxcb.cn/news/detail-676652.html
到了這里,關(guān)于Docker安裝找不到Hyper-V解決辦法(修正)的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!