今天要來告訴大家,如何在Win10 家用版上,用批次檔開啟Hyper-V的功能。如果你的電腦,確定在硬體上沒有問題,只是苦於系統為家用版,相信這支影片可以幫助到你。
Hyper-V 安裝指令
請將以下指令存成 .bat
檔,並 使用管理員身份執行,執行完後需 重新開機 才會生效。
1
2
3
4
5
6
|
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
pause
|
Hyper-V 移除指令
1
|
dism /online /disable-feature /featurename:microsoft-hyper-v-all
|