はじめに
Windows10のHyper-Vが有効化されている場合、他の仮想化ソフトウェアである、VMware Workstation PlayerやVirtualboxが利用できません。そのため、Hyper-Vを一時的に無効化する方法を記載します。
(Dockerを利用する場合は、有効化してください)
Hyper-Vの無効化
コマンドプロンプトまたはPowerShellを管理者として起動し、下記コマンドで変更していきます。
設定変更後は、PCの再起動をすることで、変更内容が適用されます。
- 確認方法
Microsoft Windows [Version 10.0.22621.160]
(c) Microsoft Corporation. All rights reserved.
C:\Windows\System32>bcdedit
Windows ブート マネージャー
--------------------------------
identifier {bootmgr}
device partition=\Device\HarddiskVolume1
path \EFI\MICROSOFT\BOOT\BOOTMGFW.EFI
description Windows Boot Manager
locale ja-JP
inherit {globalsettings}
flightsigning Yes
default {current}
resumeobject {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx}
displayorder {current}
toolsdisplayorder {memdiag}
timeout 30
Windows ブート ローダー
--------------------------------
identifier {current}
device partition=C:
path \WINDOWS\system32\winload.efi
description Windows 11
locale ja-JP
inherit {bootloadersettings}
recoverysequence {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx}
displaymessageoverride Recovery
recoveryenabled Yes
isolatedcontext Yes
flightsigning Yes
allowedinmemorysettings 0x15000075
osdevice partition=C:
systemroot \WINDOWS
resumeobject {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx}
nx OptIn
bootmenupolicy Standard
hypervisorlaunchtype Off ★ここの値を確認します
C:\Windows\System32>
- 無効化
bcdedit /set hypervisorlaunchtype off
- 有効化
bcdedit /set hypervisorlaunchtype auto